Hi justin !
 
The interpretation depend of contrast. Read about anova in any good book (Try Analys of variance Henry Scheffe 1959)


 
----- Message d'origine ----
De : Justin Rapp <justin.rapp@gmail.com>
À : r-help@stat.math.ethz.ch
Envoyé le : Vendredi, 23 Juin 2006, 10h07mn 38s
Objet : [R] Interpreting as.factor


When I run a linear regression and include a variable in the
regression with as.factor  i.e.

lm(y ~x +as.factor(x1)

and i read the output as
as.factor(x1)1....
as.factor(x1)2...
etc.

how do i interpret the estimate for each level?  Is this simply to be
regarded as a shift in the equation predicted by the intercept and
independent variable x?

jdr


-- 
Justin Rapp
409 S. 22nd St.
Apt. 1
Philadelphia, PA 19146
Cell:(267)252.0297

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
	[[alternative HTML version deleted]]

