English

BayesChange: an R package for Bayesian Change Point Analysis

Computation 2025-11-10 v1

Abstract

We introduce BayesChange, a computationally efficient R package, built on C++, for Bayesian change point detection and clustering of observations sharing common change points. While many R packages exist for change point analysis, BayesChange offers methods not currently available elsewhere. The core functions are implemented in C++ to ensures computational efficiency, while an R user interface simplifies the package usage. The BayesChange package includes two R wrappers that integrate the C++ backend functions, along with S3 methods for summarizing the results. We present the theory beyond each method, the algorithms for posterior simulation and we illustrate the package's usage through synthetic examples.

Keywords

Cite

@article{arxiv.2511.04785,
  title  = {BayesChange: an R package for Bayesian Change Point Analysis},
  author = {Luca Danese and Riccardo Corradin and Andrea Ongaro},
  journal= {arXiv preprint arXiv:2511.04785},
  year   = {2025}
}
R2 v1 2026-07-01T07:25:18.211Z