## Re: [Matplotlib-users] [matplotlib-users] linear regression functions?

 Re: [Matplotlib-users] [matplotlib-users] linear regression functions? From: Pierre de Buyl - 2009-12-30 11:27:10 ```Hello, Numpy is capable of simple fitting of polynomials, see for a definition and an example: http://docs.scipy.org/doc/numpy/reference/generated/numpy.polyfit.html Alternatively, there is an entry in the SciPy Cookbook: http:// http://www.scipy.org/Cookbook/FittingData Regards, Pierre Le 30 déc. 09 à 12:07, Manuel Wittchen a écrit : > Hi, > > I want to do a linear regression with my Data but couldn't find a > ready-to-use matplotlib- or numpy-function. If there is no function > for linear regression in matplotlib/numpy, could somebody explain to > me how to code lin. reg. as a function? > > Regards, > > Manuel Wittchen ```

 [Matplotlib-users] [matplotlib-users] linear regression functions? From: Manuel Wittchen - 2009-12-30 11:13:31 ```Hi, I want to do a linear regression with my Data but couldn't find a ready-to-use matplotlib- or numpy-function. If there is no function for linear regression in matplotlib/numpy, could somebody explain to me how to code lin. reg. as a function? Regards, Manuel Wittchen ```
 Re: [Matplotlib-users] [matplotlib-users] linear regression functions? From: Pierre de Buyl - 2009-12-30 11:27:10 ```Hello, Numpy is capable of simple fitting of polynomials, see for a definition and an example: http://docs.scipy.org/doc/numpy/reference/generated/numpy.polyfit.html Alternatively, there is an entry in the SciPy Cookbook: http:// http://www.scipy.org/Cookbook/FittingData Regards, Pierre Le 30 déc. 09 à 12:07, Manuel Wittchen a écrit : > Hi, > > I want to do a linear regression with my Data but couldn't find a > ready-to-use matplotlib- or numpy-function. If there is no function > for linear regression in matplotlib/numpy, could somebody explain to > me how to code lin. reg. as a function? > > Regards, > > Manuel Wittchen ```