Package: reintervals 0.2.0

Perceval Sondag

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.

Authors:Perceval Sondag [aut, cre, cph]

reintervals_0.2.0.tar.gz
reintervals_0.2.0.zip(r-4.7-any)reintervals_0.2.0.zip(r-4.6-any)reintervals_0.2.0.zip(r-4.5-any)
reintervals_0.2.0.tgz(r-4.6-any)reintervals_0.2.0.tgz(r-4.5-any)
reintervals_0.2.0.tar.gz(r-4.7-any)reintervals_0.2.0.tar.gz(r-4.6-any)
reintervals_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
reintervals/json (API)

# Install 'reintervals' in R:
install.packages('reintervals', repos = c('https://percevalsondag.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/percevalsondag/reintervals/issues

Datasets:

On CRAN:

Conda:

4.60 score 8 exports 15 dependencies

Last updated from:4eb2a5cac2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK202
source / vignettesOK189
linux-releaseOK164
macos-releaseOK251
macos-oldrelOK210
windows-develOK88
windows-releaseOK132
windows-oldrelOK98
wasm-releaseOK99

Exports:ci_lmmlmm_interval_controllmm_predictnew_group_mean_lmmpi_lmmti_anova_rawti_gpq_rawti_lmm

Dependencies:bootlatticelme4MASSMatrixminqanlmenloptrnumDerivrbibutilsRcppRcppEigenRdpackreformulaswithr

Choosing an interval
The four intervals | The four engines | Which interval for which model | Confidence-interval degrees of freedom | One-sided intervals | Choosing the method by hand | Worked examples | Limitations in this version | References

Last update: 2026-10-28
Started: 2026-07-09

Getting started with reintervals
1. The four interval types --- and when to use each | 2. The four verbs on a random-intercept model | Reading the output | 3. Stability worked examples that double as validation | Montes-Burdick-Leblond (2019) Appendix A | Oliva-Aviles & Hauser (2025) GPQ | 4. The engine / scope map | A warning you should understand | 5. Limitations | 6. Where to go next

Last update: 2026-10-28
Started: 2026-07-07