ce_estimate_iptw_att_boot {CIMTx} | R Documentation |
Causal inference with multiple treatments using IPTW for ATT effects (bootstrapping for CI)
Description
The function ce_estimate_iptw_att_boot
implements
IPTW with bootstrapping to estimate ATT effect with
multiple treatments using observational data.
Usage
ce_estimate_iptw_att_boot(
y,
x,
w,
reference_trt,
method,
nboots,
verbose_boot,
...
)
Arguments
y |
A numeric vector (0, 1) representing a binary outcome. |
x |
A dataframe, including all the covariates but not treatments. |
w |
A numeric vector representing the treatment groups. |
reference_trt |
A numeric value indicating reference treatment group for ATT effect. |
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. The default is |
... |
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