Crandore Hub

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. (2024) <doi:10.1214/24-BA1470>.

Versions across snapshots

VersionRepositoryFileSize
1.2.5 rolling linux/jammy R-4.5 VCBART_1.2.5.tar.gz 241.0 KiB
1.2.5 rolling linux/noble R-4.5 VCBART_1.2.5.tar.gz 246.4 KiB
1.2.5 rolling source/ R- VCBART_1.2.5.tar.gz 48.7 KiB
1.2.5 latest linux/jammy R-4.5 VCBART_1.2.5.tar.gz 241.0 KiB
1.2.5 latest linux/noble R-4.5 VCBART_1.2.5.tar.gz 246.4 KiB
1.2.5 latest source/ R- VCBART_1.2.5.tar.gz 48.7 KiB
1.2.5 2026-04-26 source/ R- VCBART_1.2.5.tar.gz 48.7 KiB
1.2.5 2026-04-23 source/ R- VCBART_1.2.5.tar.gz 48.7 KiB
1.2.4 2026-04-09 windows/windows R-4.5 VCBART_1.2.4.zip 564.3 KiB

Dependencies (latest)

Imports

LinkingTo