mmrm: Mixed Models for Repeated Measures

Mixed models for repeated measures (MMRM) are a popular choice for analyzing longitudinal continuous outcomes in randomized clinical trials and beyond; see Cnaan, Laird and Slasor (1997) <doi:10.1002/(SICI)1097-0258(19971030)16:20%3C2349::AID-SIM667%3E3.0.CO;2-E> for a tutorial and Mallinckrodt, Lane, Schnell, Peng and Mancuso (2008) <doi:10.1177/009286150804200402> for a review. This package implements MMRM based on the marginal linear model without random effects using Template Model Builder ('TMB') which enables fast and robust model fitting. Users can specify a variety of covariance matrices, weight observations, fit models with restricted or standard maximum likelihood inference, perform hypothesis testing with Satterthwaite or Kenward-Roger adjustment, and extract least square means estimates by using 'emmeans'.

Version: 0.3.10
Depends: R (≥ 4.0)
Imports: checkmate (≥ 2.0), generics, lifecycle, Matrix, methods, nlme, parallel, Rcpp, Rdpack, stats, stringr, tibble, TMB (≥ 1.9.1), utils
LinkingTo: Rcpp, RcppEigen, testthat, TMB (≥ 1.9.1)
Suggests: car (≥ 3.1.2), cli, clubSandwich, clusterGeneration, dplyr, emmeans (≥ 1.6), estimability, ggplot2, glmmTMB, hardhat, knitr, lme4, MASS, microbenchmark, mockery, parallelly (≥ 1.32.0), parsnip (≥ 1.1.0), purrr, rmarkdown, sasr, scales, testthat (≥ 3.0.0), tidymodels, xml2
Published: 2024-01-26
Author: Daniel Sabanes Bove [aut, cre], Julia Dedic [aut], Doug Kelkhoff [aut], Kevin Kunzmann [aut], Brian Matthew Lang [aut], Liming Li [aut], Christian Stock [aut], Ya Wang [aut], Craig Gower-Page [ctb], Dan James [aut], Jonathan Sidi [aut], Daniel Leibovitz [aut], Daniel D. Sjoberg ORCID iD [aut], Boehringer Ingelheim Ltd. [cph, fnd], Gilead Sciences, Inc. [cph, fnd], F. Hoffmann-La Roche AG [cph, fnd], Merck Sharp & Dohme, Inc. [cph, fnd], AstraZeneca plc [cph, fnd]
Maintainer: Daniel Sabanes Bove <daniel.sabanes_bove at roche.com>
BugReports: https://github.com/openpharma/mmrm/issues
License: Apache License 2.0
URL: https://openpharma.github.io/mmrm/
NeedsCompilation: yes
Language: en-US
Materials: NEWS
In views: ClinicalTrials, MixedModels
CRAN checks: mmrm results

Documentation:

Reference manual: mmrm.pdf
Vignettes: Model Fitting Algorithm
Between-Within
Coefficients Covariance Matrix Adjustment
Covariance Structures
Details of Weighted Least Square Empirical Covariance
Details of Hypothesis Testing
Package Introduction
Kenward-Roger
Mixed Models for Repeated Measures
Comparison with other software
Package Structure
Prediction and Simulation
Satterthwaite

Downloads:

Package source: mmrm_0.3.10.tar.gz
Windows binaries: r-devel: mmrm_0.3.10.zip, r-release: mmrm_0.3.10.zip, r-oldrel: mmrm_0.3.10.zip
macOS binaries: r-release (arm64): mmrm_0.3.10.tgz, r-oldrel (arm64): mmrm_0.3.10.tgz, r-release (x86_64): mmrm_0.3.10.tgz
Old sources: mmrm archive

Reverse dependencies:

Reverse imports: rbmi, tern.mmrm
Reverse suggests: brms.mmrm, insight, parameters

Linking:

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