The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
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: BATTS_0.4.0.zip, r-release: BATTS_0.4.0.zip, r-oldrel: BATTS_0.4.0.zip
macOS binaries: r-release (arm64): BATTS_0.4.0.tgz, r-oldrel (arm64): BATTS_0.4.0.tgz, r-release (x86_64): BATTS_0.4.0.tgz, r-oldrel (x86_64): BATTS_0.4.0.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.