BATTS: 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) <doi:10.48550/arXiv.2508.03059>. The package supports both point estimation and uncertainty quantification via Bayesian additive tree ensembles.

Version: 0.4.0
Depends: R (≥ 4.0.0)
Imports: graphics, Rcpp, stats
LinkingTo: Rcpp, RcppArmadillo
Suggests: ggplot2, knitr, mvtnorm, rmarkdown, scales
Published: 2026-11-13
DOI: 10.32614/CRAN.package.BATTS (may not be active yet)
Author: Naoki Awaya [aut, cre, cph], Yuliang Xu [aut, cph], Li Ma [aut, cph]
Maintainer: Naoki Awaya <nawaya at waseda.jp>
BugReports: https://github.com/nawaya040/BATTS/issues
License: MIT + file LICENSE
URL: https://github.com/nawaya040/BATTS/tree/cran/dev, https://arxiv.org/abs/2508.03059
NeedsCompilation: yes
SystemRequirements: C++17
Citation: BATTS citation info
Materials: README, NEWS
CRAN checks: BATTS results

Documentation:

Reference manual: BATTS.html , BATTS.pdf
Vignettes: Introduction to BATTS (source, R code)

Downloads:

Package source: BATTS_0.4.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BATTS to link to this page.