Hi Dr. Alstott,
I have met a problem when I calculated the lognormal fit for my data and please see the attached figure: the line of the lognormal fit is with a stranger tail. The mu is -1588.917372009445, and the sigma is 41.589543252067116. I have no idea if it is right.
the code is :
results = powerlaw.Fit(data,xmax=N,discrete=True,estimate_discrete=False,discrete_approximation='xmax')
fig = results.plot_pdf(linewidth=3,label='Empirical Data')
results.power_law.plot_pdf(ax=fig,color='r',linestyle='-')
results.lognormal.plot_pdf(ax=fig,color='y',linestyle='-')
Thanks in advance for any insights.

if I don't set the xmax, then the figure is:

Reese
Hi Dr. Alstott,
I have met a problem when I calculated the lognormal fit for my data and please see the attached figure: the line of the lognormal fit is with a stranger tail. The mu is -1588.917372009445, and the sigma is 41.589543252067116. I have no idea if it is right.
the code is :
results = powerlaw.Fit(data,xmax=N,discrete=True,estimate_discrete=False,discrete_approximation='xmax')
fig = results.plot_pdf(linewidth=3,label='Empirical Data')
results.power_law.plot_pdf(ax=fig,color='r',linestyle='-')
results.lognormal.plot_pdf(ax=fig,color='y',linestyle='-')
Thanks in advance for any insights.

if I don't set the xmax, then the figure is:

Reese