Skip to content

Some issues in lognormal fit #93

Description

@RuoxireeseWang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions