[SciPy-user] linear regression
Wed May 27 11:35:19 CDT 2009
firstname.lastname@example.org 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.
More information about the SciPy-user