Bootstrap treatment units for propensity score analysis
1 2 |
Tr |
numeric (0 or 1) or logical vector of treatment indicators. |
Y |
vector of outcome varaible. |
X |
matrix or data frame of covariates used to estimate the propensity scores. |
M |
number of bootstrap samples to generate. |
ratio |
the ratio of control units to sample relative to the treatment units. |
sample.size |
the size of each bootstrap sample of control units. |
nstrata |
number of strata to use. |
... |
other parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.