Boehringer Ingelheim
June 13, 2023
Ben Bolker (McMaster University), Davide Garolini (Roche), Dinakar Kulkarni (Roche), Gonzalo Duran Pacheco (Roche),
ASA BIOP Software Engineering working group (SWE WG)
{mmrm}
Package
glmmTMB
with Satterthwaite adjusted degrees of freedomglmmTMB
only random effects representation, no real unstructured modellme4
+ lmerTest
: fails on large data sets (slow, convergence issues)nlme
: no Satterthwaite adjusted degrees of freedom, convergence issues, only approximate emmeans
{mmrm}
Packageemmeans
interface for least square meanstidymodels
for easy model fitting{mmrm}
{mmrm}
{mmrm}
is on CRAN - use this as a starting point:{mmrm}
and SASComparison to de-facto gold standard in SAS with PROC MIXED
:
{mmrm}
PROC MIXED
{mmrm}
orders of magnitude closer than {glmmTMB}
or {nlme}
{mmrm}
fast due to C++ code via template model builder (TMB) library{mmrm}
uses efficient automatic gradients for the ML/REML objectiveadmiral
, rtables
, Bayesian mmrm