[SciPy-user] linear regression

josef.pktd@gmai... josef.pktd@gmai...
Wed May 27 09:01:03 CDT 2009

On Wed, May 27, 2009 at 10:05 AM, ms <devicerandom@gmail.com> wrote:
> jason-sage@creativetrax.com ha scritto:
>> Is there a recommended way now of calculating the slope of a linear
>> regression?  Using the scipy.stats.linregress function gives a
>> deprecation warning, apparently because that function uses the
>> scipy.mean function:
> I think you can use polyfit for doing linear regression, isn't it?

but you don't get the slope coefficient and the standard errors, if
you want more than just prediction.


More information about the SciPy-user mailing list