| Home | Trees | Indices | Help |
|---|
|
|
|
|||
|
|||
|
|||
http://www.answermysearches.com/how-to-do-a-simple-linear-regression-in-python/124/
Summary
Linear regression of y = ax + b
Usage
real, real, real = linreg(list, list)
a, b, r2 = linreg(list, list)
Returns coefficients to the regression line "y=ax+b" from x[] and y[], and R^2 Value
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Oct 30 11:31:01 2012 | http://epydoc.sourceforge.net |