Re: [R] Selecting Best Model in an anova.

2010-03-26 Thread Greg Snow
gt; From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Hector Guilarte > Sent: Thursday, March 25, 2010 1:36 AM > To: r-help@r-project.org > Subject: [R] Selecting Best Model in an anova. > > Hello, > > I have a simple theorical question

[R] Selecting Best Model in an anova.

2010-03-25 Thread Hector Guilarte
Hello, I have a simple theorical question about regresion... Let's suppose I have this: Model 1: Y = B0 + B1*X1 + B2*X2 + B3*X3 and Model 2: Y = B0 + B2*X2 + B3*X3 I.E. Model1 = lm(Y~X1+X2+X3) Model2 = lm(Y~X2+X3) The Ajusted R-Square for Model1 is 0.9 and the Ajusted R-Square for Model2 is 0.