Power Law fitting ?

  • DrakeGIS

    DrakeGIS - 2011-06-09

    I was wondering whether or not is there a way to fit my data to a power law
    with JAGS.... something on the lines of

    y_ ~ dPowerLaw(a,b)

    assuming that the Power Law distribution will be specified by y=a*x^b



  • Martyn Plummer

    Martyn Plummer - 2011-06-09

    You want the Pareto distribution. It is described in the user manual.

  • DrakeGIS

    DrakeGIS - 2011-06-09

    I'm not sure, it seems that the Pareto distribution would assumes some
    relationship between (what i called) "a" and "b".

    a = alpha * c^alpha

    b = -(alpha+1)

    I'm would like to avoid that.

  • Martyn Plummer

    Martyn Plummer - 2011-06-10

    What you call "a" is the normalizing constant. It is not a free parameter but
    is determined by the fact that the density must integrate to 1.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks