Bayesian Additive Regression Trees for Confounder Selection

Fit Bayesian Regression Additive Trees (BART) models to select true confounders from a large set of potential confounders and to estimate average treatment effect. For more information, see Kim et al. (2023) .


bartcs

CRAN status R-CMD-check

Fit Bayesian Additive Regression Trees (BART) models to select confounders and estimate treatment effect.

Installation

You can install from CRAN with:

install.packages("bartcs")

Or you can install the development version from GitHub with:

remotes::install_github("yooyh/bartcs")

For Mac Users Only

bartcs supports multi-threading by OpenMP. If you

  • Have OpenMP installed
  • And want to use OpenMP multi-threading

then install package from source with:

# build from source
install.packages("bartcs", type = "source")

# count OpemMP thread
bartcs::count_omp_thread() # this should be greater than 1

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bartcs")

1.3.0 by Yeonghoon Yoo, 2 years ago


https://github.com/yooyh/bartcs


Report a bug at https://github.com/yooyh/bartcs/issues


Browse source code at https://github.com/cran/bartcs


Authors: Yeonghoon Yoo [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports coda, ggcharts, ggplot2, invgamma, MCMCpack, Rcpp, rlang, rootSolve, stats

Suggests knitr, microbenchmark, rmarkdown

Linking to Rcpp


See at CRAN