reintervals: Confidence, Prediction, Tolerance, and New-Group-Mean Intervals for Linear Mixed Models

Confidence, prediction, tolerance, and new-group-mean (also called CInew or new-batch-mean) intervals for linear mixed models fitted with 'lme4' ('lmerMod' objects), returned through one uniform interface. Several validated interval engines are provided and selected automatically for the fitted model, with a manual override: an expected-mean-square, modified large-sample construction for random-intercept models (Francq, Lin and Hoyer (2019) <doi:10.1002/sim.8386>); a restricted-maximum- likelihood closed form for random-slope models; an unweighted lot-mean analysis-of-variance closed form for unbalanced single-observation fixed-slope stability designs (Montes, Burdick and Leblond (2019) <doi:10.5731/pdajpst.2018.008839>) and, without a covariate, for the one-way random-effects model (Hoffman and Kringle (2005) <doi:10.1081/BIP-200048826>); and a generalized-pivotal-quantity Monte Carlo engine (Oliva-Aviles and Hauser (2025) <doi:10.1080/00401706.2024.2407324>). Intervals are two-sided or one-sided; one-sided tolerance limits follow Hoffman (2010) <doi:10.1198/TECH.2010.09171>. General fixed effects are supported for random-intercept models; random-slope models are supported for a single continuous covariate (the stability design). The methods serve general linear-mixed-model interval estimation, with particular support for pharmaceutical stability and shelf-life work and for bioassay applications through the tolerance and new-group-mean intervals.

Version: 0.2.0
Depends: R (≥ 4.1)
Imports: lme4, Matrix, numDeriv, stats, withr (≥ 2.5.0)
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, pbkrtest
Published: 2026-11-20
DOI: 10.32614/CRAN.package.reintervals (may not be active yet)
Author: Perceval Sondag ORCID iD [aut, cre, cph]
Maintainer: Perceval Sondag <reintervals at gmail.com>
BugReports: https://github.com/percevalsondag/reintervals/issues
License: MIT + file LICENSE
URL: https://github.com/percevalsondag/reintervals
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: reintervals results

Documentation:

Reference manual: reintervals.html , reintervals.pdf
Vignettes: Choosing an interval (source, R code)
Getting started with reintervals (source, R code)

Downloads:

Package source: reintervals_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=reintervals to link to this page.