Bayesian additive regression trees (BART) provides flexible non-parametric modeling of mixed-type predictors for continuous and binary responses. This package is built upon CRAN R package 'BART', version 2.7 (< https://github.com/cran/BART>). It implements the three proposed variable selection approaches in the paper: Luo, C and Daniels, M. J. (2021), "Variable Selection Using Bayesian Additive Regression Trees."
This R package is built upon CRAN R package 'BART' version 2.7 (https://github.com/cran/BART) and implements the existing BART-based variable selection approaches discussed in the paper: Luo, C. and Daniels, M. J. (2021). "Variable selection using Bayesian additive regression trees." arXiv preprint arXiv:2112.13998, https://doi.org/10.48550/arXiv.2112.13998.
Bayesian Additive Regression Trees (BART) is a nonparametric regression model which is flexible enough to capture the interactions between predictors and the nonlinear relationships with the response. BART can be used not only for estimation, but also for variable selection. Existing variable selection approaches for BART include:
Luo and Daniels (2021) review these methods with an emphasis on the capability of identifying relevant predictors. Furthermore, out of the consideration of the existence of mixed-type predictors and the goal of allowing more relevant predictors into the model, Luo and Daniels (2021) propose three new methods for BART:
See Luo and Daniels (2021) for more details.
The 'BartMixVs' R package provides data sampling functions to generate the simulation data used in Luo and Daniels (2021), inherits estimation functions from the 'BART' package and implements existing BART-based variable selection approaches (3 old + 3 new) previously mentioned.
friedman(), checkerboard(), mixone() and mixtwo() corresponding to Scenario C.C.1 (or B.C.1), Scenario C.C.2 (or B.C.2), Scenario C.M.1 (or B.M.1) and Scenario C.M.2 (or B.M.2) in Luo and Daniels (2021), respectively.wbart() (mc.wbart()), pbart() (mc.pbart()) and pwbart() (mc.pwbart()). Note that while most of the original features of the 'BART' functions are kept, two modifications are made:
permute.vs() (or mc.permute.vs() with parallel computation) implements the permutation-based variable selection approach with three types of variable importance measures being considered: BART variable inclusion proportions (Bleich et al. (2014)), BART within-type variable inclusion proportions and BART Metropolis importance (Luo and Daniels (2021)).mc.backward.vs() implements the backward selection proposed in Luo and Daniels (2021).medianInclusion.vs() implements the DART variable selection approach proposed in Linero (2018).abc.vs() (or mc.abc.vs() with parallel computation) implements the ABC Bayesian forests variable selection approach proposed in Liu et al. (2021).