[SciPy-user] linear regression
ms
devicerandom at gmail.com
Wed May 27 12:35:19 EDT 2009
josef.pktd at gmail.com ha scritto:
>> Have a look here <http://www.scipy.org/Cookbook/LinearRegression>
>
> y = Beta0 + Beta1 * x + Beta2 * x**2 is the second order polynomial.
>
> I also should have looked, polyfit returns the polynomial coefficients
> but doesn't calculate the variance-covariance matrix or standard
> errors of the OLS estimate.
AFAIK, the ODR fitting routines return all these parameters, so one can
maybe use that for linear fitting too.
m.
More information about the SciPy-User
mailing list