Multiple imputation marginalization (MIM)
calc_mim(strategy, analysis_params, ...)A list containing:
means: A list containing vectors of posterior means (one per synthesis n_imp):
A: Comparator means.
C: Reference means.
model: A list containing:
fit: The first-stage rstanarm::stan_glm() object.
hats.v: Vector of variance point estimates for each synthesis.
n_imp: Number of posterior prediction draws (syntheses).
rho, N, stan_args: Strategy and model parameters.
An object of class strategy created by functions such as
strategy_maic(), strategy_stc(), or strategy_mim().
Contains modelling details like the formula and family.
Additional argument to pass to Stan model