Crandore Hub

flexBART

A More Flexible BART Model

Implements a faster and more expressive version of Bayesian Additive Regression Trees that, at a high level, approximates unknown functions as a weighted sum of binary regression tree ensembles. Supports fitting (generalized) linear varying coefficient models that posits a linear relationship between the inverse link and some covariates but allows that relationship to change as a function of other covariates. Additionally supports fitting heteroscedastic BART models, in which both the mean and log-variance are approximated with separate regression tree ensembles. A formula interface allows for different splitting variables to be used in each ensemble. For more details see Deshpande (2025) <doi:10.1080/10618600.2024.2431072> and Deshpande et al. (2024) <doi:10.1214/24-BA1470>.

Versions across snapshots

VersionRepositoryFileSize
2.0.3 rolling source/ R- flexBART_2.0.3.tar.gz 104.7 KiB
2.0.3 latest source/ R- flexBART_2.0.3.tar.gz 104.7 KiB
2.0.3 2026-04-23 source/ R- flexBART_2.0.3.tar.gz 104.7 KiB
2.0.3 2026-04-09 windows/windows R-4.5 flexBART_2.0.3.zip 844.1 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests