[SciPy-user] nonlinear fit with non uniform error?

massimo sandal massimo.sandal at unibo.it
Wed Jun 20 09:09:41 EDT 2007


Hi,

We have a set of data that we fit to a nonlinear function using 
scipy.optimize.leastsq that, AFAIK, uses the Levenberg-Marquardt method.

Talking with a collegue of another lab, he pointed me that the dataset 
we fit usually has intrinsically more noise in the first part of the 
data than the latter. So he fitted by taking into account the non 
uniform error -that is, instead of using plain chi-square, giving more 
weight to the distance from points with less intrinsic error. He told me 
that on Origin there is a function that does it. Is there something 
similar on scipy?

m.

-- 
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"

snail mail:
Via Irnerio 48, 40126 Bologna, Italy

email:
massimo.sandal at unibo.it

tel: +39-051-2094388
fax: +39-051-2094387
-------------- next part --------------
A non-text attachment was scrubbed...
Name: massimo.sandal.vcf
Type: text/x-vcard
Size: 274 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20070620/914980d8/attachment.vcf>


More information about the SciPy-User mailing list