Re: [R] Estimate of variance and prediction for multiple linear regression

2010-06-23 Thread cc super
n Tue, 2010-06-22 at 23:11 -0700, cc super wrote: > > Hi, everyone, > > > > Night. I have three questions about multiple linear regression in R. > > > > Q1: > > > > y=rnorm(10,mean=5) > > x1=rnorm(10,mean=2) > > x2=rnorm(10) > > lin=lm(

[R] Estimate of variance and prediction for multiple linear regression

2010-06-23 Thread cc super
Hi, everyone, Night. I have three questions about multiple linear regression in R. Q1: y=rnorm(10,mean=5) x1=rnorm(10,mean=2) x2=rnorm(10) lin=lm(y~x1+x2) summary(lin) ## In the summary, 'Residual standard error: 1.017 on 7 degrees of freedom', 1.017 is the estimate of the constance variance?