Boosting and Bayesian Additive Trees for Two-Sample Comparison

Implements boosting and Bayesian additive tree methods for two-sample comparison through density ratio estimation, following Awaya, Xu, and Ma (2025) . The package supports both point estimation and uncertainty quantification via Bayesian additive tree ensembles.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("BATTS")

0.4.0 by Naoki Awaya, 4 hours ago


https://github.com/nawaya040/BATTS/tree/cran/dev, https://arxiv.org/abs/2508.03059


Report a bug at https://github.com/nawaya040/BATTS/issues


Browse source code at https://github.com/cran/BATTS


Authors: Naoki Awaya [aut, cre, cph] , Yuliang Xu [aut, cph] , Li Ma [aut, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports graphics, Rcpp, stats

Suggests ggplot2, knitr, mvtnorm, rmarkdown, scales

Linking to Rcpp, RcppArmadillo

System requirements: C++17


See at CRAN