Skip to content
Prev 834 / 20628 Next

same old question - lme4 and p-values

On Fri, Apr 11, 2008 at 3:10 PM, Kevin E. Thorpe
<kevin.thorpe at utoronto.ca> wrote:
I assume you refer to using anova(fm1, fm2) with fm1 fitting the model
without the fixed effect. This a comparison of nested models, so a
likelihood ratio test can be defined for ML fits only. Note, however,
that Pinheiro & Bates (2000, p. 87, 2.4.2) "do not recommend using
such tests"; "not" is set in bold face. They show that such tests tend
to be anti-conservative, especially if the number of parameters
removed is large relative to the number of observations. Assuming you
have a decent number of total observations, you may be fine.
Alternatively, you may want to run a simulation for your situation;
you will also find R-code examples in the P&B section.

My first reaction to your email was: Why is he only interested in the
overall effect of a fixed factor and not in specific comparisons
between its levels? After Andrew's comment to an earlier post, I
understand that there are such situations where you just want to
control for an aspect of the design that is not in the focus of your
theoretical concerns (e.g., in ecology you may have three sites that
could be characterized as levels of a fixed factor or as a sample from
a random factor). Perhaps  your fixed factor may also be better
conceptualized as a random factor. In a way, you just want to control
for the variance contributed by this factor. If this applies to your
data, then you may be better off to specify your fixed factor as a
random factor. Then, your anova(fm1, fm2) compares nested models that
differ only in the random-effects part. In this case the likelihood
ratio test can be used with models fit by REML. These tests tend to be
conservative (Pinheiro & Bates, 2000, p. 2.4.1; following up on Stram
& Lee, 1994). So if your ANOVA statistic is significant, you are on
the save side; if not, you do not know. Also keep in mind, that random
effects with few units may generate problems for model convergence.

Best
Reinhold

Thread (29 messages)

Douglas Bates same old question - lme4 and p-values Apr 4 Martin Henry H. Stevens same old question - lme4 and p-values Apr 4 Reinhold Kliegl same old question - lme4 and p-values Apr 5 Jonathan Baron same old question - lme4 and p-values Apr 5 Reinhold Kliegl same old question - lme4 and p-values Apr 5 Martin Maechler same old question - lme4 and p-values Apr 5 Andy Fugard same old question - lme4 and p-values Apr 5 Robert Kushler same old question - lme4 and p-values Apr 5 Robert Kushler same old question - lme4 and p-values Apr 5 Andrew Robinson same old question - lme4 and p-values Apr 5 John Maindonald same old question - lme4 and p-values Apr 5 Douglas Bates same old question - lme4 and p-values Apr 6 Andrew Robinson same old question - lme4 and p-values Apr 6 Douglas Bates same old question - lme4 and p-values Apr 6 David Henderson same old question - lme4 and p-values Apr 6 John Maindonald same old question - lme4 and p-values Apr 7 Douglas Bates same old question - lme4 and p-values Apr 7 Simon Blomberg same old question - lme4 and p-values Apr 7 Simon Blomberg same old question - lme4 and p-values Apr 7 John Maindonald same old question - lme4 and p-values Apr 7 Jarrett Byrnes same old question - lme4 and p-values Apr 7 Simon Blomberg same old question - lme4 and p-values Apr 7 Simon Blomberg same old question - lme4 and p-values Apr 7 David Henderson same old question - lme4 and p-values Apr 7 Douglas Bates same old question - lme4 and p-values Apr 8 David Afshartous same old question - lme4 and p-values Apr 10 Kevin E. Thorpe same old question - lme4 and p-values Apr 11 Reinhold Kliegl same old question - lme4 and p-values Apr 12 Andrew Robinson same old question - lme4 and p-values Apr 12