Closed vvzhukov closed 4 years ago
Thanks for the report. The latest version tries to give a more informative error version
Error in bootstrap(m_ln, no_of_sims = 1, seed = 1) : Unable to estimate initial parameters using estimate_xmin, so we can't bootstrap.
Here is another issue (could be the same problem):
x = c(2,1,1,4,2,1,1,3,3,1,3,3,3,1,4,2,2,1,3,1,4,1,3,2,1,3,2,1) m_ln <- dislnorm$new(x) bsLN <- bootstrap(m_ln, no_of_sims= 100, seed=1)
Leads to:
Error in checkForRemoteErrors(val) : one node produced an error: index 0 outside bounds
Works fine with no_of_sims <= 71. 72 or more simulations gives 'bounds' error.
poweRlaw_0.70.2
It's the same issue, but with a bad error message. During bootstrapping, we sampled only three unique values, this means we can't estimate the parameters.
I'll try and improve the error message
Pushed the latest version to CRAN.
Hello there!
Have a bug similar to https://github.com/csgillespie/poweRlaw/issues/56, yet reproduced for the lognormal model.
Code:
Error:
sessionInfo()
Thank you! Best, Vitalii