sparseVCBART

R package for a sparse version of VCBART. Uses Bayesian Additive Regression Trees to estimate covariate effect functions in the linear varying coefficient model, with global–local shrinkage.

Installation

System requirements

R package dependencies

From a local checkout:

# In the package root directory:
R CMD build .
R CMD INSTALL sparseVCBART_*.tar.gz


Reproducing the experiments

All scripts live in the codes/ directory. A shared helper file, codes/common_sim.R, contains common simulation settings and utility functions used by multiple scripts. Wrappers for competitor methods are in codes/competitor_wrappers.R.

Simulation 1

Simulation 2

Semi-synthetic and real data analyses

The scripts for the applied data analyses are provided below: