Learn R Programming

PSAboot (version 1.0)

boot.strata: Stratification implementation for bootstrapping.

Description

Stratification implementation for bootstrapping.

Usage

boot.strata(Tr, Y, X, X.trans, formu, nstrata = 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.
nstrata
number of strata to divide the propensity scores.
...
other parameters passed from PSAboot

Value

  • a list with three elements: [object Object],[object Object],[object Object]