openstatsware
and the R Package {mmrm}
R/Pharma 2023 Conference
2023-10-24
openstatsware
openstatsware
mmrm
R package for frequentist inference in MMRM (CRAN)brms.mmrm
R package for Bayesian inference in MMRM (CRAN)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 - as it is also underlying glmmTMB
- but code the exact model we wantC++
using the TMB
provided librariesTMB
C++
framework for defining objective functions (Rcpp
would have been alternative interface)TMB
interface and plugged into optimizersmmrm
emmeans
interface for least square meanstidymodels
for easy model fittingnlme
, glmmTMB
and lme4
PROC GLIMMIX
mmrm
has faster convergence timemmrm
provides closest results to PROC GLIMMIX