Crandore Hub

stochtree

Stochastic Tree Ensembles (XBART and BART) for Supervised Learning and Causal Inference

Flexible stochastic tree ensemble software. Robust implementations of Bayesian Additive Regression Trees (BART) (Chipman, George, McCulloch (2010) <doi:10.1214/09-AOAS285>) for supervised learning and Bayesian Causal Forests (BCF) (Hahn, Murray, Carvalho (2020) <doi:10.1214/19-BA1195>) for causal inference. Enables model serialization and parallel sampling and provides a low-level interface for custom stochastic forest samplers. Includes the grow-from-root algorithm for accelerated forest sampling (He and Hahn (2021) <doi:10.1080/01621459.2021.1942012>), a log-linear leaf model for forest-based heteroskedasticity (Murray (2020) <doi:10.1080/01621459.2020.1813587>), and the cloglog BART model of Alam and Linero (2025) <doi:10.48550/arXiv.2502.00606> for ordinal outcomes.

Versions across snapshots

VersionRepositoryFileSize
0.4.0 rolling linux/jammy R-4.5 stochtree_0.4.0.tar.gz 1.4 MiB
0.4.0 rolling linux/noble R-4.5 stochtree_0.4.0.tar.gz 1.5 MiB
0.4.0 rolling source/ R- stochtree_0.4.0.tar.gz 1.5 MiB
0.4.0 latest linux/jammy R-4.5 stochtree_0.4.0.tar.gz 1.4 MiB
0.4.0 latest linux/noble R-4.5 stochtree_0.4.0.tar.gz 1.5 MiB
0.4.0 latest source/ R- stochtree_0.4.0.tar.gz 1.5 MiB
0.4.0 2026-04-26 source/ R- stochtree_0.4.0.tar.gz 1.5 MiB
0.4.0 2026-04-23 source/ R- stochtree_0.4.0.tar.gz 1.5 MiB
0.4.0 2026-04-09 windows/windows R-4.5 stochtree_0.4.0.zip 1.8 MiB
0.1.1 2025-04-20 source/ R- stochtree_0.1.1.tar.gz 1.4 MiB

Dependencies (latest)

Imports

LinkingTo

Suggests