Fast & Flexible Implementation of Bayesian Causal Forests

A faster implementation of Bayesian Causal Forests (BCF; Hahn et al. (2020) ), which uses regression tree ensembles to estimate the conditional average treatment effect of a binary treatment on a scalar output as a function of many covariates. This implementation avoids many redundant computations and memory allocations present in the original BCF implementation, allowing the model to be fit to larger datasets. The implementation was originally developed for the 2022 American Causal Inference Conference's Data Challenge. See Kokandakar et al. (2023) for more details.


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("flexBCF")

1.0.2 by Sameer K. Deshpande, a year ago


https://github.com/skdeshpande91/flexBCF


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


Authors: Sameer K. Deshpande [aut, cre] (ORCID: , Ajinkya H. Kokandakar [aut] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp

Linking to Rcpp, RcppArmadillo


See at CRAN