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 and Schnell (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.2.2
Depends: R (≥ 4.0)
Imports: checkmate (≥ 2.0), lifecycle, methods, nlme, numDeriv, parallel, Rcpp, Rdpack, stats, stringr, TMB (≥ 1.9.1), utils
LinkingTo: Rcpp, RcppEigen, testthat, TMB (≥ 1.9.1)
Suggests: emmeans (≥ 1.6), estimability, knitr, parallelly (≥ 1.32.0), rmarkdown, testthat (≥ 3.0.0), xml2
Published: 2022-12-20
Author: Daniel Sabanes Bove [aut, cre], Julia Dedic [aut], Doug Kelkhoff [aut], Kevin Kunzmann [aut], Brian Matthew Lang [aut], Liming Li [aut], Ya Wang [aut], Craig Gower-Page [ctb], Boehringer Ingelheim Ltd. [cph, fnd], Gilead Sciences, Inc. [cph, fnd], F. Hoffmann-La Roche AG [cph, fnd], Merck Sharp & Dohme, Inc. [cph, fnd]
Maintainer: Daniel Sabanes Bove <daniel.sabanes_bove at>
License: Apache License 2.0
NeedsCompilation: yes
Language: en-US
Materials: NEWS
In views: MixedModels
CRAN checks: mmrm results


Reference manual: mmrm.pdf
Vignettes: Details of the Model Fitting in 'mmrm'
Covariance Structures in 'mmrm'
Introduction to 'mmrm'
Details of the Kenward-Roger calculations
Package Structure
Details of the Satterthwaite calculations


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

Reverse dependencies:

Reverse imports: rbmi
Reverse suggests: insight, parameters


Please use the canonical form to link to this page.