[SciPy-user] unusual fitting problem

Pierre GM pgmdevlist at gmail.com
Tue Sep 30 12:40:54 EDT 2008


On Tuesday 30 September 2008 12:36:00 peter websdell wrote:
> Howdy gang,
> I have an unusual fitting problem that has me totally stumped.

Have you thought about modifying your data ?
you want log(y) = a + b*log(x) ?
Use Y=log(y) and X=log(X), fit a straight-line the standard way and you should 
get your parameters a & b.
That should be easier than trying to fit y=exp(a+b*log(x)) = exp(a) * x**b




More information about the SciPy-User mailing list