pykelihood.metrics.
pp_l1_distance#
- pp_l1_distance(distribution, data)#
PP-Plot-like metric: mean L1 distance.
Mean L1 distance between the x=y line and the one defined by x=fitted cdf, y=observed cdf. Introduced by Varty, Z., Tawn, J. A., Atkinson, P. M., & Bierman, S. (2021). Inference for extreme earthquake magnitudes accounting for a time-varying measurement process. arXiv preprint arXiv:2102.00884.
- Parameters:
distribution (Distribution) –
pykelihood.Distributionobject.data (Obs) – Data of type
Obs.