csgillespie / poweRlaw

This package implements both the discrete and continuous maximum likelihood estimators for fitting the power-law distribution to data. Additionally, a goodness-of-fit based approach is used to estimate the lower cutoff for the scaling region.
109 stars 24 forks source link

Cache data cdf #1

Closed csgillespie closed 11 years ago

csgillespie commented 11 years ago

When estimating xmin via the bootstrip, the data cdf is recalculated for every simulation. Instead, the result should be cached and reused.