简体   繁体   中英

Python: Least squares with error on xdata

I included the error on the ydata by using weights for my residuals. How can I implement an error on xdata? I hope I don't have to switch fitting routines, because I now use the lmfit package which is brilliant.

http://cars9.uchicago.edu/software/python/lmfit/

听起来像正交距离回归: http : //docs.scipy.org/doc/scipy/reference/odr.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM