Analysis function mmrm - #569
Conversation
|
In which cases would an MMRM instead of an ANCOVA fitted to each visit separately be statistically sensible? |
|
@tobiasmuetze I am not sure exactly about the motivations for Anova vs. MMRM here, but I know that several companies are using this together with multiple imputation. So there are use cases for this |
|
Thanks, @danielinteractive. |
|
Thanks @tobiasmuetze , fully agree - I would propose to highlight and explain these points in the function documentation such that users are made aware of this. |
|
Given that
|
Added
mmrm_analyse()as a built-in analysis function for use with analyse().It fits a single MMRM (via
mmrm::mmrm()) across all visits and extracts per-visit treatment contrasts, least square means, and residual variance estimates usingemmeans. Supports 2+ treatment arms and all covariance structures supported by themmrmpackage.Thus: the
emmeanspackage has been moved fromSuggeststoImportsaccordingly.fix: johnsonandjohnson/junco#370