lmerTest Package: Tests in Linear Mixed Effects Models
Technical University of Denmark
Abstract
One of the frequent questions by users of the mixed model function lmer of the lme4 package has been: How can I get p values for the F and t tests for objects returned by lmer? The lmerTest package extends the 'lmerMod' class of the lme4 package, by overloading the anova and summary functions by providing p values for tests for fixed effects. We have implemented the Satterthwaite's method for approximating degrees of freedom for the t and F tests. We have also implemented the construction of Type I - III ANOVA tables. Furthermore, one may also obtain the summary as well as the anova table using the Kenward-Roger approximation for denominator degrees of freedom (based on the KRmodcomp function from the pbkrtest…
Citation impact
- FWCI
- 1213.73
- Percentile
- 100%
- References
- 27
Authors
3Topics & keywords
- R package
- Mixed model
- Degrees of freedom (physics and chemistry)
- Statistics
- Mathematics
- Random effects model
- Analysis of variance
- Generalized linear mixed model
- Peace, Justice and strong institutions