Matching-adjusted indirect comparison bootstrap sampling.
maic.boot(
ipd,
indices = 1:nrow(ipd),
formula,
family,
ald,
trt_var,
hat_w = NULL
)Vector of fitted probabilities for treatments A and C
Individual-level patient data. Dataframe with one row per patient with outcome, treatment and covariate columns.
Vector of indices, same length as original, which define the bootstrap sample
Linear regression formula object. Prognostic factors (PF) are main effects and effect modifiers (EM) are
interactions with the treatment variable, e.g., y ~ X1 + trt + trt:X2. For covariates as both PF and EM use * syntax.
A 'family' object specifying the distribution and link function (e.g., 'binomial'). See stats::family() for more details.
Aggregate-level data. Long format summary statistics for each covariate and treatment outcomes. We assume a common distribution for each treatment arm.
MAIC weights; default NULL which calls maic_weights()
calc_IPD_stats.maic()