Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues in lognormal fit #93

Open
RuoxireeseWang opened this issue Jan 7, 2022 · 0 comments
Open

Some issues in lognormal fit #93

RuoxireeseWang opened this issue Jan 7, 2022 · 0 comments

Comments

@RuoxireeseWang
Copy link

RuoxireeseWang commented Jan 7, 2022

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.
image

if I don't set the xmax, then the figure is:
Figure 2022-01-07 105757 (2)

Reese

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant