[Numpy-discussion] Fitting a curve on a log-normal distributed data

Ian Mallett geometrian@gmail....
Tue Nov 17 00:13:08 CST 2009


Theory wise:
-Do a linear regression on your data.
-Apply a logrithmic transform to your data's dependent variable, and do
another linear regression.
-Apply a logrithmic transform to your data's independent variable, and do
another linear regression.
-Take the best regression (highest r^2 value) and execute a back transform.

Then, to get your desired extrapolation, simply substitute in the size for
the independent variable to get the expected value.

If, however, you're looking for how to implement this in NumPy or SciPy, I
can't really help :-P
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20091116/ed3a9288/attachment.html 


More information about the NumPy-Discussion mailing list