[sage-support] Re: regression and regresion lines:

2009-10-06 Thread Jaasiel Ornelas
Hey, thanks a lot. I was able to do it, though for my project the R^2 value constantly came out to . On Oct 6, 12:39 pm, Jason Grout wrote: > Jaasiel Ornelas wrote: > > Is there any way to calculate regression lines and regression (R^2) > > for a set of points in sage? > > I would probab

[sage-support] Re: regression and regresion lines:

2009-10-06 Thread Jason Grout
Jaasiel Ornelas wrote: > Is there any way to calculate regression lines and regression (R^2) > for a set of points in sage? I would probably first look at using scipy.stats. For example, a linear regression line can be found like this (from http://www2.warwick.ac.uk/fac/sci/moac/currentstuden