boot.rpart: Stratification using classification trees for bootstrapping.

Description Usage Arguments

View source: R/boot.rpart.R

Description

Stratification using classification trees for bootstrapping.

Usage

1
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 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.

minStrata

minimum number of treatment or control unitis within a strata to include that strata.

...

other parameters passed from PSAboot


PSAboot documentation built on May 29, 2017, 10:18 a.m.