[SciPy-user] Scipy and Multiple Regression ??

Axel Kowald Axel.Kowald@rub...
Tue Mar 27 02:32:56 CDT 2007


Hi,

thanks for the quick reply. Yes, I want to do linear least-squares and 
it seems scipy.linalg.lstsq() is what I'm looking for.

Many thanks,

       axel

> What exactly do you mean by "multiple regression"? If you mean linear
> least-squares with models of the form
>
>   y = a0 + a1*x + a2*x**2 + ...
>
> or
>
>   y = a0 + a1*x1 + a2*x2 + ...
>
> then scipy.linalg.lstsq() should work for you.


More information about the SciPy-user mailing list