Python:xdata上有错误的最小二乘法

时间:2012-12-03 10:46:52

标签: python scipy least-squares

我通过使用权重为我的残差将错误包含在ydata中。如何在xdata上实现错误?我希望我不需要切换拟合程序,因为我现在使用的是lmfit包,非常棒。

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

1 个答案:

答案 0 :(得分:0)

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