run_rwa_bootstrap {rwa}R Documentation

Run bootstrap analysis for RWA

Description

Run bootstrap analysis for RWA

Usage

run_rwa_bootstrap(
  data,
  outcome,
  predictors,
  n_bootstrap = 1000,
  conf_level = 0.95,
  focal = NULL,
  comprehensive = FALSE,
  include_rescaled = FALSE
)

Arguments

data

Data frame

outcome

Outcome variable

predictors

Predictor variables

n_bootstrap

Number of bootstrap samples

conf_level

Confidence level

focal

Focal variable for comparisons (optional)

comprehensive

Whether to run comprehensive analysis

include_rescaled

Whether to bootstrap rescaled weights

Value

List with bootstrap results and confidence intervals


[Package rwa version 0.1.0 Index]