Mixed Model Comparison with Kenward-Roger, Satterthwaite and Parametric Bootstrap Based Methods (original) (raw)

pbkrtest - at a glance

The primary focus is on mixed effects models as implemented in the lme4 package. For those linear mixed models, the pbkrtest package implements

In addition, pbkrtest also implments parametric bootstrap tests for generalized linear mixed models, for generalized linear models and for linear models.

Citing the package

If you publish work where pbkrtest, please do cite this paper (a latex entry is given below): Halekoh, U., and Højsgaard, S. (2014) A Kenward-Roger Approximation and Parametric Bootstrap Methods for Tests in Linear Mixed Models - the R Package pbkrtest. J. Stat. Soft. Vol. 59, Issue 9. pdf

NEWS

Talks

Performance issues

Calculation of the the adjusted degrees of freedom for the Kenward-Roger approximation can be computationally demanding because it requires inversion of an N ×N matrix where N is the number of observations. Possible remedies for this:

Development versions

Development versions of the package reside on github. To use the development version, PLEASE first install the package from CRAN to get dependencies right and then AFTERWARDS install the development version using:

devtools::install_github("hojsgaard/pbkrtest")

FAQ (frequently asked questions)

Reporting unexpected behaviour

When reporting unexpected behaviours, bugs etc. PLEASE supply:

Citation

citation("pbkrtest")

To cite pbkrtest in publications use:

  Ulrich Halekoh, Søren Højsgaard (2014). A Kenward-Roger Approximation
  and Parametric Bootstrap Methods for Tests in Linear Mixed Models -
  The R Package pbkrtest. Journal of Statistical Software, 59(9), 1-30.
  URL https://www.jstatsoft.org/v59/i09/.

A BibTeX entry for LaTeX users is

  @Article{,
    title = {A Kenward-Roger Approximation and Parametric Bootstrap Methods for Tests in Linear Mixed Models -- The {R} Package {pbkrtest}},
    author = {Ulrich Halekoh and S{\o}ren H{\o}jsgaard},
    journal = {Journal of Statistical Software},
    year = {2014},
    volume = {59},
    number = {9},
    pages = {1--30},
    url = {https://www.jstatsoft.org/v59/i09/},
  }