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

R script for MLE estimation with x_min set to the minimum value in the data set? #100

Open anilaba opened 2 years ago

anilaba commented 2 years ago

Hello,

this is not really an issue but I also want to check the results and KS stats for the estimation without an optimized cut-off. That is to say, I want to enter the entire data column as it is and get the alpha and KS stat. The fit will be worse, but still.

Could anyone here help me with the R script to do this?