RLRsim-package: R package for fast and exact (restricted) likelihood ratio...

Description Author(s)


RLRsim implements fast simulation-based exact tests for variance components in mixed and additive models for conditionally Gaussian responses – i.e., tests for questions like:

The convenience functions exactRLRT and exactLRT can deal with fitted models from packages lme4, nlme, gamm4, SemiPar and from mgcv's gamm()-function. Workhorse functions LRTSim and RLRTSim accept design matrices as inputs directly and can thus be used more generally to generate exact critical values for the corresponding (restricted) likelihood ratio tests.

The theory behind these tests was first developed in:
Crainiceanu, C. and Ruppert, D. (2004) Likelihood ratio tests in linear mixed models with one variance component, Journal of the Royal Statistical Society: Series B, 66, 165–185.

Power analyses and sensitivity studies for RLRsim can be found in:
Scheipl, F., Greven, S. and Kuechenhoff, H. (2008) Size and power of tests for a zero random effect variance or polynomial regression in additive and linear mixed models. Computational Statistics and Data Analysis, 52(7), 3283–3299.


Fabian Scheipl ([email protected]), Ben Bolker

fabian-s/RLRsim documentation built on May 13, 2017, 10:08 p.m.