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

Improve lognormal documentation #92

Open jcredberry opened 4 years ago

jcredberry commented 4 years ago

Colin, I would like to report the results of a lognormal fit to my data (using poweRlaw), but I do not know if the first parameter in my estimation is the 𝑚𝑒𝑑𝑖𝑎𝑛=exp(𝜇)=𝜃 or 𝜇. From the example with the moby corpus, it seems that the parameter is 𝜇, as its value is negative (-17.9), but the documentation is frankly lacking in this sense, as it focuses mostly on power laws. Can you help me with this simple issue? Maybe add something in this sense to the documentation would help. Thanks for the hard work!

csgillespie commented 4 years ago

The docs are bit naff here ;(

The parameterization matches: ?rlnorm

jcredberry commented 4 years ago

Thx, Colin. Can you, please, see the other issue that I posted? The one about estimate_xmin?