[R-lang] ANOVA type main effects
Xiao He
praguewatermelon@gmail.com
Wed Feb 23 11:42:43 PST 2011
Hi dear r-lang users,
I have a question about ANOVA type of main effects. From what I've read, one
way to obtain the type of main effect one would get with ANOVA is to do
model comparisons, like below:
mod1<-lmer(dv ~ iv1 + iv2 + (1|subject), data)
mod2 <-lmer(dv ~iv1 + (1|subject), data)
anova(mod1, mod2).
A significant difference indicates that the factor iv2 make significant
contribution to the model.
However, I wonder if there are other ways to obtain the same information.
Specifically, I have a 2X2 design, I wonder if, after I center the two
2-level factors, the results would be equivalent to ANOVA type of main
effects as opposed to simple effects. Thank you in advance!
Xiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucsd.edu/pipermail/ling-r-lang-l/attachments/20110223/f0f471d3/attachment-0001.html
More information about the ling-r-lang-L
mailing list