Variance Components Testing for Linear and Nonlinear Mixed Effects Models
Overview
An implementation of the Likelihood ratio Test (LRT) for testing that, in a (non)linear mixed effects model, the variances of a subset of the random effects are equal to zero. There is no restriction on the subset of variances that can be tested: for example, it is possible to test that all the variances are equal to zero. Note that the implemented test is asymptotic. This package should be used on model fits from packages 'nlme', 'lmer', and 'saemix'. Charlotte Baey and Estelle Kuhn (2019) doi:10.18637/jss.v107.i06.
Add reference (doi number) for the associated JSS paper.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
Show 1 earlier changeHide 1 earlier change
- OK14 OK2026-03-10
Documentation
- Help pages
- 25
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 8%
- Documented parameters
- 93%
- Return-value docs
- 31%
- Help pages citing references
- 4%
- Get started HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 284
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/baeyc/vartestnlme on 2026-10-21.
GitHub Pages site last deployed 2023-09-21
Dependencies
Installing varTestnlme adds 77 packages (39 with compiled code, 62 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, lme4 4.3 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.3.5Latest
- 1.3.4
- 1.3.3
- 1.3.2
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2022-03-08
- 1.3.12022-03-08 · diff ↗
- archivedRemoved from CRAN2022-02-24requires archived package 'lmeresampler'
- 1.3.02022-01-18 · diff ↗
- 1.2.02021-12-07 · diff ↗ ·
removed 2 exports
bootinvFIM.saemix, varCompTest.saemixadded 2 exports
bootinvFIM.SaemixObject, varCompTest.SaemixObject - 1.1.12021-10-22 · diff ↗
- 1.1.02021-10-11 · diff ↗ ·
removed 2 exports
dfChiBarSquare, weightsChiBarSquareadded 9 exports
bootinvFIM.lme, bootinvFIM.merMod, bootinvFIM.saemix, extractVarCov, extractVarCov.lme, extractVarCov.merMod, fim.vctest, print.vctest, summary.vctest
Show 6 earlier eventsHide 6 earlier events
- RR 4.1.0 released · 2021-05-18
- 1.0.02021-01-07 · diff ↗ ·
removed 9 exports
eqCstr, extractFIMnlme, gradObjFunction, ineqCstr, jacobianEqCstr, jacobianIneqCstr, objFunction, symMatrixFromVect, varTestadded 6 exports
dfChiBarSquare, extractStruct, varCompTest, varCompTest.lme, varCompTest.merMod, varCompTest.saemix - 0.2.0
- RR 4.0.0 released · 2020-04-24
- 0.1.02020-01-10
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-01-10
- Total releases
- 12 / 6 yrs
- License
- GPL (>= 2) OSI
- Download size
- 44 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("varTestnlme")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v107.i06, 10.1016/j.csda.2019.01.014.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.