Learn R Programming

PSAboot (version 1.0)

boot.matching: Matching package implementation for bootstrapping.

Description

Matching package implementation for bootstrapping.

Usage

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

Arguments

estimand
character string for estimand, either ATE, ATT, or ATC. See Match for more details.
...
other parameters passed to Match.
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 variable) name will be updated using the Tr vector.