Exact (Restricted) Likelihood Ratio Tests for Mixed and Additive Models

Rapid, simulation-based exact (restricted) likelihood ratio tests for testing the presence of variance components/nonparametric terms for models fit with nlme::lme(),lme4::lmer(), lmeTest::lmer(), gamm4::gamm4(), mgcv::gamm() and SemiPar::spm().



*** removed bug in LRTSim that led to non-sensical results.

  • now deals with testing in models where tested variance component is 0 for m, but not for mA. (Thanks, Christoph Huber-Huber!)
  • now deals correctly with models returned from lmerTest::lmer (Thanks, Lukas Meier)


*** now using Rcpp

  • removed terrible "browser()"-bug in extract.lmeDesign()

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


3.1-6 by Fabian Scheipl, 2 years ago


Report a bug at https://github.com/fabian-s/RLRsim/issues

Browse source code at https://github.com/cran/RLRsim

Authors: Fabian Scheipl [aut, cre] , Ben Bolker [ctb]

Documentation:   PDF Manual  

GPL license

Imports Rcpp, lme4, mgcv, nlme

Enhances SemiPar, lmerTest

Linking to Rcpp

Imported by GEVACO, cAIC4, qtlpoly, refund, simr, vows.

Depended on by ordPens.

Suggested by MVA, iccbeta.

Enhanced by spaMM.

See at CRAN