poweRlaw icon indicating copy to clipboard operation
poweRlaw copied to clipboard

Right truncation?

Open hrlai opened this issue 2 years ago • 1 comments

Hi @csgillespie thanks first of all for this awesome package!

Related to #17 and maybe #63 , is it possible to have an option to right-truncate the data, say by having a setXmax method for each distribution? This will be extremely helpful for us to fit different distributions to the univariate data before and after a certain threshold / cutoff point.

hrlai avatar May 12 '22 01:05 hrlai

To provide a reference, the truncation I meant is the upper limit for a truncated Pareto (within closed intervals) as described in Table 1 of this paper:

White, E. P., Enquist, B. J., & Green, J. L. (2008). On estimating the exponent of power-law frequency distributions. Ecology, 89(10), 2971.

The upper limit threshold would be their b parameter.

hrlai avatar May 12 '22 03:05 hrlai