I have a sample of data, with the sample size being around 500,000. I am currently trying to fit the sample with power law distribution, using the poweRlaw
package in R.
So this is my code to that end:
pl_rg <- conpl$new(a)
estimate_xmin(pl_rg, xmax = 100)
However, there comes the problem when I try to run the code of x<-estimate_xmin(pl_rg,xmax = 100)
. I found this code was very very time consuming. I have run this code by now for up to 5 hours and it is still running.
So any way to accelerate the process or other ways to fit the power law?