I have the following are the sample data set. The first column is the serial number and column 2 is data.
Using R, I'm trying to find the xmin, alpha and pvalue. The above data set is discrete, the values are large and treating the data as continuous. For some reason R is not able give proper output for est= estimate_xmin()
. Here is the same code.
> library('poweRlaw')
> m_bl = conpl$new(sample_data$V1)
> est = estimate_xmin(m_bl)
> m_bl$setXmin(est)
Warning message:
In min(which(internal[["dat"]] >= (x - .Machine$double.eps^0.5))) :
no non-missing arguments to min; returning Inf
>
> est
$KS
[1] Inf
$xmin
[1] NA
$pars
[1] NA
attr(,"class")
[1] "estimate_xmin"
>
Please let me know if Im missing something. Thanks in advance.