View source: R/causal_multiple_treatment.R
Estimation of Causal Effects of Multiple Treatments with a Binary Outcome
1 2 | causal_multiple_treatment(y = y, x = idata$trtdat, trt = trt_ind,
method, discard, estimand)
|
y |
y is a numeric vector for the binary outcome |
x |
x is a dataframe including the treatment indicator and the covariates |
trt |
trt is a numeric vector for the treatment indicator |
method |
method is the potential methods for causal inference with multiple treatments. In the package, we incorporate regression adjustment, vector matching, inverse probability of treatment weighting and Bayesian Additive Regression Trees. |
discard |
Whether to use discarding rules for BART |
estimand |
Whether the focus is on ATT effect or ATE effect |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.