lmerTest Package: Tests in Linear Mixed Effects Models
- Alexandra Kuznetsova,
- ,
- Rune Haubo Bojesen Christensen
- Technical University of Denmark
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-reviewOpen access
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 package). Some other convenient mixed model analysis tools such as a step method, that performs backward elimination of nonsignificant effects - both random and fixed, calculation of population means and multiple comparison tests together with plot facilities are provided by the package as well.
Publication Information
Output type
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-reviewOriginal language
EnglishJournal (Volume, Issue Number)
Journal of Statistical Software (Volume 82, Issue 13)Publication milestones
- Published - 2017
Publication status
Published - 2017
ISSN
1548-7660Publication IDs
- ORCID: /0000-0002-1432-7229/work/40611476
- ORCID: /0000-0002-4494-3399/work/42371725
- Scopus: 85122966103
Publication metrics
PlumX, opens in new tab
Citation count
20535
Mentions
10
Captures
7868
Social media
4
Access to documents
Final published version, 559.08 KB
