【发布时间】:2015-09-16 03:47:07
【问题描述】:
我有以下是样本数据集。第一列是序列号,第二列是数据。
使用 R,我试图找到 xmin、alpha 和 pvalue。上述数据集是离散的,值很大,将数据视为连续的。由于某种原因,R 无法为est= estimate_xmin() 提供正确的输出。这是相同的代码。
> 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"
>
如果我遗漏了什么,请告诉我。提前致谢。
【问题讨论】: