ce_estimate_iptw_ate_boot: Causal inference with multiple treatments using IPTW for ATE...

View source: R/ce_estimate_iptw_ate_boot.R

ce_estimate_iptw_ate_bootR Documentation

Causal inference with multiple treatments using IPTW for ATE effects (bootstrapping for CI)

Description

The function ce_estimate_iptw_ate_boot implements IPTW with bootstrapping to estimate ATE effect with multiple treatments using observational data.

Usage

ce_estimate_iptw_ate_boot(y, x, w, 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.

method

A character string. Users can selected from the following methods including "IPTW-Multinomial", "IPTW-GBM", "IPTW-SL".

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


CIMTx documentation built on June 24, 2022, 9:07 a.m.