ce_estimate_rams_ate_boot {CIMTx} | R Documentation |
Causal inference with multiple treatments using RAMS for ATE effects (bootstrapping for CI)
Description
The function ce_estimate_rams_ate_boot
implements
RAMS with bootstrapping to estimate ATE effect with
multiple treatments using observational data.
Usage
ce_estimate_rams_ate_boot(y, w, x, method, nboots, verbose_boot, ...)
Arguments
y |
A numeric vector (0, 1) representing a binary outcome. |
w |
A numeric vector representing the treatment groups. |
x |
A dataframe, including all the covariates but not treatments. |
method |
A character string. Users can selected from the
following methods including |
nboots |
A numeric value representing the number of bootstrap samples. |
verbose_boot |
A logical value indicating whether to print the progress of nonparametric bootstrap. |
... |
Other parameters that can be passed through to functions. |
Value
A summary of the effect estimates can be obtained
with summary
function.
References
Hadley Wickham (2019). stringr: Simple, Consistent Wrappers for Common String Operations. R package version 1.4.0. URL:https://CRAN.R-project.org/package=stringr