Run bootstrap analysis for RWA
run_rwa_bootstrap(
data,
outcome,
predictors,
n_bootstrap = 1000,
conf_level = 0.95,
focal = NULL,
comprehensive = FALSE,
include_rescaled = FALSE
)
List with bootstrap results and confidence intervals
Data frame
Outcome variable
Predictor variables
Number of bootstrap samples
Confidence level
Focal variable for comparisons (optional)
Whether to run comprehensive analysis
Whether to bootstrap rescaled weights