View source: R/ce_estimate_iptw_ate_boot.R
ce_estimate_iptw_ate_boot | R Documentation |
The function ce_estimate_iptw_ate_boot
implements
IPTW with bootstrapping to estimate ATE effect with
multiple treatments using observational data.
ce_estimate_iptw_ate_boot(y, x, w, method, nboots, verbose_boot, ...)
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. |
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. |
A summary of the effect estimates can be obtained
with summary
function.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.