Package: VCBART 1.2.5

Sameer K. Deshpande

VCBART: Fit Varying Coefficient Models with Bayesian Additive Regression Trees

Fits linear varying coefficient (VC) models, which assert a linear relationship between an outcome and several covariates but allow that relationship (i.e., the coefficients or slopes in the linear regression) to change as functions of additional variables known as effect modifiers, by approximating the coefficient functions with Bayesian Additive Regression Trees. Implements a Metropolis-within-Gibbs sampler to simulate draws from the posterior over coefficient function evaluations. VC models with independent observations or repeated observations can be fit. For more details see Deshpande et al. (2026) <doi:10.1214/24-BA1470>.

Authors:Sameer K. Deshpande [aut, cre], Ray Bai [aut], Cecilia Balocchi [aut], Jennifer Starling [aut], Jordan Weiss [aut]

VCBART_1.2.5.tar.gz
VCBART_1.2.5.tar.gz(r-4.7-arm64)VCBART_1.2.5.tar.gz(r-4.7-x86_64)VCBART_1.2.5.tar.gz(r-4.6-arm64)VCBART_1.2.5.tar.gz(r-4.6-x86_64)
VCBART_1.2.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
VCBART/json (API)

# Install 'VCBART' in R:
install.packages('VCBART', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/skdeshpande91/vcbart/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

1.30 score 5 scripts 483 downloads 4 exports 3 dependencies

Last updated from:8abdfb6bb7. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK173
linux-devel-x86_64OK153
source / vignettesOK214
linux-release-arm64OK159
linux-release-x86_64OK148
wasm-releaseOK137

Exports:predict_betassummarize_betaVCBART_csVCBART_ind

Dependencies:MASSRcppRcppArmadillo