Skip to content
Prev 320444 / 398506 Next

lmer, p-values and all that

Michael Grant <michael.grant <at> colorado.edu> writes:
I don't have the R Book handy (some more context would be extremely
useful!  I would think it would count as "fair use" to quote the
passage you're referring to ...)
You should probably repost this to the r-sig-mixed-models at r-project.org
mailing list.

  My short answer would be: (1) I don't think you can actually
use anova() to compare likelihoods between lm() and lme()/lmer()
fits in the way that you want: *maybe* for lme() [don't recall],
but almost certainly not for lmer().  See http://glmm.wikidot.com/faq
for methods for testing significance/inclusion of random factors
(short answer: you should *generally* try to make the decision
whether to include random factors or not on _a priori_ grounds,
not on the basis of statistical tests ...)

  Ben Bolker