{mmrm}
and more from openstatsware
Merck & Co., Inc., August 2024
RCONIS
openstatsware
{mmrm}
openstatsware
rpact
packageopenstatsware
openstatsware
brms.mmrm
R package leverages brms
to run Bayesian MMRM
brms
is a powerful and versatile package for fitting Bayesian regression modelsmmrm
package on two example datasetsmaicplus
is an R package to support analysis and reporting of matching-adjusted indirect comparison (MAIC) for HTA dossiers (docs)SafetySignalDetection.jl
implements Bayesian safety signal detection as proposed by Brock et al. (2023) using the Turing.jl framework.{mmrm}
lme4
with lmerTest
, learned that this approach failed on large data sets (slow, did not converge)nlme
does not give Satterthwaite adjusted degrees of freedom, has convergence issues, and with emmeans
it is only approximateglmmTMB
to calculate Satterthwaite adjusted degrees of freedom, but it did not workTMB
) directly
glmmTMB
C++
using the TMB
provided librariesSAS
)TMB
C++
framework for defining objective functions (Rcpp
would have been alternative interface)TMB
interface and plugged into optimizers{mmrm}
are set to a tolerance of \(10^{-3}\) when compared to SAS outputs.testthat
framework with covr
to communicate the testing coveragemmrm
emmeans
interface for least square meanstidymodels
builtin parsnip engine and recipes for streamlined model fitting workflowsteal
, tern
, rtables
integration for post processing and reportingrbmi
for conditional mean imputation!mmrm
not only supports multiple covariance structure, it also has good efficiency (due to fast implementations in C++)
Implementation | Median | First Quartile | Third Quartile |
---|---|---|---|
mmrm |
56.15 | 55.76 | 56.30 |
PROC GLIMMIX |
100.00 | 100.00 | 100.00 |
lmer |
247.02 | 245.25 | 257.46 |
gls |
687.63 | 683.50 | 692.45 |
glmmTMB |
715.90 | 708.70 | 721.57 |
{mmrm}
has small difference from SAS
mmrm
CRAN downloads: 3855 per month, almost 100k in total so far (7th July 2025)
GitHub repository: 142 stars (7th July 2025)
Quite a lot of questions on StackOverflow
Most important features have been implemented by now … but still room for new features:
mmrm
is on CRAN - use this as a starting point:Thanks to all other authors of {mmrm}
:
Thanks for discussions and contributions from:
openstatsware
These slides are at danielinteractive.github.io/merck-mmrm
{mmrm}
and more from openstatsware
| License