[R-sig-ME] lmer and p-values

Ben Bolker bbolker at gmail.com
Mon Mar 28 18:27:15 CEST 2011


Iker Vaquero Alba <karraspito at ...> writes:

> 
> 
>    Dear list members:
> 
>    I am fitting a model with lmer, because I need to fit some nested
> as well as non-nested random effects in it. I am doing a split plot
> simplification, dropping terms from the model and comparing the models with or
> without the term. When doing and ANOVA between one model and its simplified
> version, I get, as a result, a chisquare value with 1 df (df from the bigger
> model - df from the simplified one), and a p-value associated.
> 
>    I was just wondering if it's correct to present this chisquare and
> p values as a result of testing the effect of a certain term in the model. I am
> a bit confused, as if I was doing this same analysis with lme, I would be
> getting F-values and associated p-values.
> 

  When you do anova() in this context you are doing a likelihood ratio
test, which is equivalent to doing an F test with 1 numerator df and
a very large (infinite) denominator df.  
  As Pinheiro and Bates 2000 point out, this is dangerous/anticonservative
if your data set is small, for some value of "small".
   Guessing an appropriate denominator df, or using mcmcsamp(), or parametric
bootstrapping, or something, will be necessary if you want a more
reliable p-value.




More information about the R-sig-mixed-models mailing list