boot.weighting {PSAboot}R Documentation

Propensity score weighting implementation for bootstrapping.

Description

Propensity score weighting implementation for bootstrapping.

Usage

boot.weighting(Tr, Y, X, X.trans, formu, estimand = "ATE", ...)

Arguments

Tr

vector indicating treatment assignment.

Y

vector of outcome.

X

matrix or data frame of covariates.

X.trans

a data frame of X with factors recoded. See cv.trans.psa

formu

the formula to use to estimate propensity scores. Note that the dependent varaible (i.e. treatment varaible) name will be updated using the Tr vector.

estimand

which treatment effect to estimate. Values can be ATE, ATT, ATC, or ATM.

...

other parameters passed from PSAboot

Value

a list with three elements:

summary

a named numeric vector (with at minimum estimate, ci.min, and ci.max but other values allowed)

balance

a named numeric vector with one element per covariate listed in X.trans representing a balance statistic (usually standardized effect size after adjustment)

details

an arbitrary object that contains the full results of the analysis


[Package PSAboot version 1.3.8 Index]