Calculate MAIC
Arguments
- strategy
An object of class
strategycreated by functions such asstrategy_maic(),strategy_stc(), orstrategy_mim(). Contains modelling details like the formula and family.- analysis_params
List of analysis parameters. Must contain
ipd(individual patient data) andald(aggregated lead data).
Value
A list containing:
means: A list containing:A: Bootstrap estimates for comparator treatment group "A".C: Bootstrap estimates for reference treatment group "C".
model: A list containing model diagnostics derived from the original data:weights: Vector of calculated weights for the patients inipd.ESS: The Effective Sample Size.
