pbkrtest: Parametric Bootstrap and Kenward Roger Based Methods for Mixed Model Comparison

Ulrich Halekoh1 and Søren Højsgaard2
  1. Associate Professor, Department of Public Health, University of Southern Denmark, Denmark ()
  2. Head of Department of Mathematical Sciences and Associate Professor of statistics at Aalborg University ()

develVersion

Project Status: WIP lifecycle Last-changedate Rdoc


Description

Test in mixed effects models. Attention is on mixed effects models as implemented in the ‘lme4’ package. This package implements a parametric bootstrap test and a Kenward Roger modification of F-tests for linear mixed effects models and a parametric bootstrap test for generalized linear mixed models.

Installation

The package can be installed from CRAN as follows:

install.packages("pbkrtest", dependencies = TRUE)

The development version can be installed from github as follows:

if (!require("remotes")) install.packages("remotes")
remotes::install_github("myaseen208/pbkrtest")

Detailed tutorial

For a detailed tutorial (vignette) on how to used this package type:

browseVignettes(package = "pbkrtest")

The vignette for the latest version is also available online.

What’s new

To know whats new in this version type:

news(package = "pbkrtest")

Citing pbkrtest

To cite the methods in the package use:

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 http://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 = {http://www.jstatsoft.org/v59/i09/},
  }