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) for a tutorial and Mallinckrodt, Lane, Schnell, Peng and Mancuso (2008) 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'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mmrm")

0.3.19 by Daniel Sabanes Bove, 16 days ago


https://openpharma.github.io/mmrm/


Report a bug at https://github.com/openpharma/mmrm/issues


Browse source code at https://github.com/cran/mmrm


Authors: Daniel Sabanes Bove [aut, cre] (ORCID: , Liming Li [aut] , Julia Dedic [aut] , Doug Kelkhoff [aut] , Kevin Kunzmann [aut] , Brian Matthew Lang [aut] , Christian Stock [aut] , Ya Wang [aut] , Craig Gower-Page [ctb] , Dan James [aut] , Jonathan Sidi [aut] , Daniel Leibovitz [aut] , Daniel D. Sjoberg [aut] (ORCID: , Nikolas Ivan Krieger [aut] (ORCID: , Lukas A. Widmer [ctb] , Arryn Panagos [aut] , Jeremiah Jones [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] , inferential.biostatistics GmbH [cph, fnd]


Documentation:   PDF Manual  


Apache License 2.0 license


Imports checkmate, generics, lifecycle, MASS, Matrix, methods, nlme, parallel, Rcpp, Rdpack, stats, stringr, tibble, TMB, utils

Suggests broom, broom.helpers, car, cli, clubSandwich, clusterGeneration, dplyr, emmeans, estimability, ggplot2, glmmTMB, hardhat, knitr, lme4, lmerTest, microbenchmark, mockery, parallelly, parsnip, purrr, rmarkdown, sasr, scales, testthat, tidymodels, withr, xml2

Linking to Rcpp, RcppEigen, testthat, TMB


Imported by junco, multipleOutcomes, rbmi, splinetrials, tern.mmrm.

Suggested by DoseFinding, brms.mmrm, broom.helpers, clubSandwich, crane, insight, marginaleffects, parameters.


See at CRAN