Package: lmmix 0.4.0

lmmix: Linear Mixed Models with Correlated Residuals

Fits Gaussian linear mixed models by explicitly optimizing the maximum likelihood or restricted maximum likelihood criterion. Random effects and correlated residual structures can be combined in the same model. Fixed-effect inference includes Satterthwaite and Kenward-Roger denominator degrees of freedom, type III tests, likelihood-ratio model comparisons, and estimated marginal means.

Authors:Aurélien Nicosia [aut, cre]

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

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

Bug tracker:https://github.com/aureliennicosiaulaval/lmmix/issues

Pkgdown/docs site:https://aureliennicosiaulaval.github.io

Datasets:
  • multicentre - Multi-site repeated-measures experiment
  • sas_growth - Repeated-measures growth example from the SAS MIXED documentation
  • sas_line_source - Line-source irrigation example from the SAS MIXED documentation
  • sas_random_coefficients - Random-coefficients example from the SAS MIXED documentation
  • sas_split_plot - Split-plot example from the SAS MIXED procedure documentation

On CRAN:

Conda:

3.40 score 6 exports 14 dependencies

Last updated from:e69155825d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK224
source / vignettesOK450
linux-releaseOK274
macos-releaseOK139
macos-oldrelOK157
windows-develOK195
windows-releaseOK420
windows-oldrelOK188
wasm-releaseOK240

Exports:fixeflmmlmm_controllsmeansranefVarCorr

Dependencies:cligenericsgluelatticelifecyclemagrittrMatrixnumDerivpillarpkgconfigrlangtibbleutf8vctrs

Choosing lmmix and related R packages
Purpose | Main distinctions | Capability matrix | Choosing a package | Computational boundary | Current boundaries that affect selection

Last update: 2026-07-15
Started: 2026-07-15

Estimation and inference in lmmix
Gaussian mixed-model representation | Covariance parameterization | Profiled ML and REML criteria | Optimization and covariance-parameter uncertainty | Satterthwaite denominator degrees of freedom | Kenward-Roger adjustment | Type III tests | Estimated marginal means | Empirical BLUPs and prediction | Computational scope

Last update: 2026-07-15
Started: 2026-07-13

Using lmmix
Model scope | Prepare the data | Fit a combined covariance model | Inspect convergence before inference | Fixed effects and type III tests | Covariance parameters and random effects | Estimated marginal means | Predictions, residuals and tidy output | Simulation, updating, weights, and offsets | Diagnostic plots | Alternative model specifications | Practical limits

Last update: 2026-07-15
Started: 2026-07-13

Validation against independent R implementations and PROC MIXED
Purpose and evidentiary standard | Comparison map | Shared longitudinal data | Random-intercept REML comparison with nlme::lme() | Random-slope REML comparison with nlme::lme() | Maximum-likelihood comparison with nlme::lme() | Marginal CS and AR(1) comparisons with nlme::gls() | Marginal AR(1) comparison with mmrm::mmrm() | Satterthwaite comparison with lmerTest::lmer() | Kenward-Roger comparison with mmrm::mmrm() | Crossed random effects and model comparison | Combined covariance structures | Official PROC MIXED examples | Example 79.1: split-plot design | Example 79.2: repeated measures | Example 79.5: random coefficients | Example 79.6: line-source sprinkler irrigation | Stored PROC MIXED comparison | Covariance parameters and likelihood criterion | Fixed effects | Type III tests | LS-means | Pairwise LS-mean differences | Automated regression tests | Reproducibility information | Boundaries of the evidence

Last update: 2026-07-15
Started: 2026-07-13

Covariance intervals and boundary-aware model comparisons
Scope | Confidence intervals for covariance parameters | Parametric-bootstrap likelihood-ratio test | Reproducibility

Last update: 2026-07-14
Started: 2026-07-14