Hi Dr. Alstott (Jeff):
Thank you for this great suite of codes! We have a cCDF from simulation and want to fit to a power law. I am attaching what we see. We used a few lines from your great 2014 tutorial with Bullmore and Plenz. I suppose the fit package wants to normalize and so it matches our data at x_min ... which happens to be around 0.1. So be it. Can you explain why the method fit.power_law.plot_ccdf() draws the dashed line with curvature at large x values? Shouldn't it be a straight line?
Very grateful for your time and expertise!
-Amy Graves, Prof. of Physics, Swarthmore College
fit = powerlaw.Fit(all_lags_cyan, xmax = 1.0)
fig1 = fit.plot_pdf(color= 'k', linewidth=2)
fit1=fit.plot_ccdf(color='cyan', linewidth=2, ax = fig1)
x, y = results_cyan.ccdf()
plt.plot(x, y, 'o', color='cyan')
fit.power_law.plot_ccdf(color='r', linestyle = '--', ax=fig1)

Hi Dr. Alstott (Jeff):
Thank you for this great suite of codes! We have a cCDF from simulation and want to fit to a power law. I am attaching what we see. We used a few lines from your great 2014 tutorial with Bullmore and Plenz. I suppose the fit package wants to normalize and so it matches our data at x_min ... which happens to be around 0.1. So be it. Can you explain why the method fit.power_law.plot_ccdf() draws the dashed line with curvature at large x values? Shouldn't it be a straight line?
Very grateful for your time and expertise!

-Amy Graves, Prof. of Physics, Swarthmore College
fit = powerlaw.Fit(all_lags_cyan, xmax = 1.0)
fig1 = fit.plot_pdf(color= 'k', linewidth=2)
fit1=fit.plot_ccdf(color='cyan', linewidth=2, ax = fig1)
x, y = results_cyan.ccdf()
plt.plot(x, y, 'o', color='cyan')
fit.power_law.plot_ccdf(color='r', linestyle = '--', ax=fig1)