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.
I am trying to apply the godness of fit to lognormal models but I get this error with several data sets:
Error in checkForRemoteErrors(val) :
one node produced an error: vector size cannot be NA
In addition: Warning messages:
1: In estimate_xmin(m_cpy, xmins = xmins, pars = pars, xmax = xmax) :
Unable to estimate xmin. This may be due to numerical instabilities.
For example the parameter estimates are in the distribution tails.
2: In min(which(internal[["dat"]] >= (x - .Machine$double.eps^0.5))) :
no non-missing arguments to min; returning Inf
I am trying to apply the godness of fit to lognormal models but I get this error with several data sets:
Error in checkForRemoteErrors(val) : one node produced an error: vector size cannot be NA In addition: Warning messages: 1: In estimate_xmin(m_cpy, xmins = xmins, pars = pars, xmax = xmax) : Unable to estimate xmin. This may be due to numerical instabilities. For example the parameter estimates are in the distribution tails. 2: In min(which(internal[["dat"]] >= (x - .Machine$double.eps^0.5))) : no non-missing arguments to min; returning Inf
A reproducible example follows,