help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: power-law fitting


From: Michael Creel
Subject: Re: power-law fitting
Date: Fri, 19 Oct 2007 09:30:55 +0200

On 10/18/07, M Devoto <address@hidden> wrote:
Hi all. I have estimated the points of a cumulative distribution and I want
to add to the scatterplot the power-law and truncated power-law curves that
best fit the data. My code already plots everything nicely, except the
fitted curves (I'm a beginner, so it took me ages). My question is very
simple. How can I find the best fit curves and add them to the plot?
Thanks for your help.
Mariano

----------------------
Mariano Devoto
Agricultural Engineer, MSc
School of Biological Sciences
University of Bristol
Woodland Road
Bristol, UK
BS8 1UG
Tel. +44 (0) 1179545960 (internal 45960)
e-mail: address@hidden
web: http://agro.uba.ar/~mdevoto
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


There are a lot of possibilities. One method is to fit using nonlinear least squares using nls_estimate in the Octave Forge econometrics package. nls_example in the same package shows how to do it.
M.

--
There are 10 kinds of people - those who understand binary and those who don't.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]