| boot.rpart {PSAboot} | R Documentation |
Stratification using classification trees for bootstrapping.
Description
Stratification using classification trees for bootstrapping.
Usage
boot.rpart(Tr, Y, X, X.trans, formu, minStrata = 5, ...)
Arguments
Tr |
vector indicating treatment assignment. |
Y |
vector of outcome. |
X |
matrix or data frame of covariates. |
X.trans |
a data frame of |
formu |
the formula to use to estimate propensity scores. Note that the
dependent varaible (i.e. treatment varaible) name will be updated using
the |
minStrata |
minimum number of treatment or control units within a strata to include that strata. |
... |
other parameters passed from |
Value
a list with three elements:
summarya named numeric vector (with at minimum
estimate,ci.min, andci.maxbut other values allowed)balancea named numeric vector with one element per covariate listed in
X.transrepresenting a balance statistic (usually standardized effect size after adjustment)detailsan arbitrary object that contains the full results of the analysis