Skip to content
Prev 65336 / 398502 Next

3d plot of regression squared error

On Thursday 03 March 2005 13:04, Ross Clement wrote:
Well, you need to go far enough away to see the curve. Centering the 
x-variable is important (at least with your parametrization of straight 
lines). E.g., the following combination gives a surface that looks nice 
enough:

x <- 1:10 - 5.5
a.axis <- seq( 0, 10, length=20 ) 
b.axis <- seq( -30, 0, length=20 )

-Deepayan