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.zip(r-4.7)VCBART_1.2.5.zip(r-4.6)VCBART_1.2.5.zip(r-4.5)
VCBART_1.2.5.tgz(r-4.6-x86_64)VCBART_1.2.5.tgz(r-4.6-arm64)VCBART_1.2.5.tgz(r-4.5-x86_64)VCBART_1.2.5.tgz(r-4.5-arm64)
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://skdeshpande91.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

4.82 score 22 stars 5 scripts 337 downloads 4 exports 3 dependencies

Last updated from:7a5014e07c. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK170
linux-devel-x86_64OK176
source / vignettesOK199
linux-release-arm64OK151
linux-release-x86_64OK155
macos-release-arm64OK122
macos-release-x86_64OK226
macos-oldrel-arm64OK100
macos-oldrel-x86_64OK250
windows-develOK173
windows-releaseOK178
windows-oldrelOK144
wasm-releaseOK128

Exports:predict_betassummarize_betaVCBART_csVCBART_ind

Dependencies:MASSRcppRcppArmadillo