Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

CIMTx (version 0.3.0)

Causal Inference for Multiple Treatments with a Binary Outcome

Description

Different methods to conduct causal inference for multiple treatments with a binary outcome, including regression adjustment, vector matching, Bayesian additive regression trees, targeted maximum likelihood and inverse probability of treatment weighting using different generalized propensity score models such as multinomial logistic regression, generalized boosted models and super learner. For more details, see the paper by Liangyuan Hu (2020) .

Copy Link

Version

Install

install.packages('CIMTx')

Monthly Downloads

275

Version

0.3.0

License

MIT + file LICENSE

Maintainer

Jiayi Ji

Last Published

July 16th, 2021

Functions in CIMTx (0.3.0)

regadj_multiTrt_att

Regression Adjustment when estimand is ATT
regadj_multiTrt_ate

Regression Adjustment when estimand is ATE
regadj_multiTrt

Regression Adjustment
data_gen_p1

Data generation function for scenario 1
tmle

Targeted maximum likelihood (TMLE)
postSumm

Summarize posterior samples
iptw_multiTrt_att

Inverse probability of treatment weighting for ATT estimation (IPTW)
vm_multiTrt_att

Vector matching Matching (VM matching)
trunc_fun

Truncation
causal_multi_treat

Estimation of causal effects of multiple treatments
expit

Inverse logit
bart_multiTrt

Bayesian Additive Regression Trees (BART)
data_gen

Data generation function
iptw_multiTrt

Inverse probability of treatment weighting (IPTW)
data_gen_p2

Data generation function for scenario 2 This function generates data to test different causal inference methods for scenario 2. Please use our main function data_gen.R
bart_multiTrt_att

Bayesian Additive Regression Trees (BART) for ATT estimation
bart_multiTrt_ate

Bayesian Additive Regression Trees (BART) for ATE estimation
iptw_multiTrt_ate

Inverse probability of treatment weighting for ATE estimation (IPTW)