Dear list,

I have a pretty basic question about how to specify the fixed-effects
structure to perform likelihood ratio test, I can't figure it out on my own
and couldn't find a proper answer/example elsewhere. For example, if i have
the following model:

m1 <- lmer(y ~  A * B + (1|C), REML=F)

and I'm interested in the significance of the A:B interaction term, then
the LRT should be:

m2 <- lmer(y ~ A + B +  (1|C), REML=F)
anova(m1,m2)

but if I'm also interested in testing the individual significance of A (or
B), I'm not sure if the LRT should be performed as

m3 <- lmer(y  ~  B +  (1|C), REML=F)  #to test the significance of A

anova(m1,m3)
or
anova(m2,m3)?


Please excuse my poor English.
Many thanks!
Matías

	[[alternative HTML version deleted]]

