Learn R Programming

riAFTBART (version 0.3.2)

A Flexible Approach for Causal Inference with Multiple Treatments and Clustered Survival Outcomes

Description

Random-intercept accelerated failure time (AFT) model utilizing Bayesian additive regression trees (BART) for drawing causal inferences about multiple treatments while accounting for the multilevel survival data structure. It also includes an interpretable sensitivity analysis approach to evaluate how the drawn causal conclusions might be altered in response to the potential magnitude of departure from the no unmeasured confounding assumption.

Copy Link

Version

Install

install.packages('riAFTBART')

Monthly Downloads

567

Version

0.3.2

License

MIT + file LICENSE

Maintainer

Jiayi Ji

Last Published

May 16th, 2022

Functions in riAFTBART (0.3.2)

dat_sim

Simulate data with multiple treatments and clustered survival outcomes
plot.riAFTBART_estimate

Plot the trace plots for the parameters from a fitted riAFT-BART model
plot_gps

Plot the propensity score by treatment
riAFTBART_fit

Fit a random effect accelerated failure time BART model
cal_PEHE

Calculate the PEHE
riAFTBART

A flexible approach for causal inference with multiple treatments and clustered survival outcomes
var_select

Perform Variable Selection using Three Threshold-based Procedures
intree

Interpreting Tree Ensembles with inTrees
plot.riAFTBART_survProb

Plot the fitted survival curves from riAFT-BART model
sa

Flexible Monte Carlo sensitivity analysis for unmeasured confounding
cal_surv_prob

Calculate the survival probability from a fitted riAFT-BART model