Bayesian Analysis of Change Point Problems
Overview
Provides an implementation of the product partition model described in Barry and Hartigan (2019) doi:10.2307/2290726 for the normal errors change point problem using Markov Chain Monte Carlo (MCMC). It also extends the methodology to regression models on a connected graph as reported in Wang and Emerson (2015) doi:10.48550/arXiv.1509.00817, allowing estimation of change point models with multivariate responses. Parallel MCMC, previously available in 'bcp' v.3.0.0, is currently not implemented.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK2 OK2026-05-21
Documentation
- Help pages
- 14includes a package overview page
- Examples that run
- 77%10 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 43%
Also includes 6 demo scripts (run with demo())
Downloads
Repository
Checks run against github.com/zhaokg/bcp on 2026-10-21.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing bcp adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
Datasets
People & History
Previously maintained by John W. Emerson (2.2.0) and Chandra Erdman (1.0 to 2.1.3).
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-05-20
- 4.0.4Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- archivedRemoved from CRAN2024-01-12email to the maintainer is undeliverable
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 4.0.32018-08-13 · diff ↗
- 4.0.22018-06-08 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 4.0.12018-04-11 · diff ↗
- RR 3.4.0 released · 2017-04-21
Show 41 earlier eventsHide 41 earlier events
- RR 3.3.0 released · 2016-05-03
- 4.0.02015-07-15 · diff ↗ ·
removed 5 exports
summary.bcp, plot.bcp, print.bcp, fitted.bcp, residuals.bcpadded 1 export
makeAdjGrid - RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 3.0.1
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 3.0.0
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- 2.2.02010-05-08 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 2.1.32010-02-25 · diff ↗
- 2.1.22009-10-26 · diff ↗
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- 2.1.12009-03-25 · diff ↗
- RR 2.8.0 released · 2008-10-20
- 2.1
- 2.02008-05-30 · diff ↗
- 1.8.52008-05-14 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 1.8.42007-12-04 · diff ↗
- 1.8.32007-12-03 · diff ↗
- 1.8.22007-11-19 · diff ↗
- 1.8.12007-11-14 · diff ↗
- 1.82007-11-13 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 1.7.22007-10-02 · diff ↗
- 1.7.12007-08-08 · diff ↗
- 1.7
- RR 2.5.0 released · 2007-04-24
- 1.6
- 1.52007-01-02 · diff ↗
- 1.42006-12-16 · diff ↗
- 1.32006-12-14 · diff ↗
- 1.22006-12-11 · diff ↗
- 1.12006-11-20 · diff ↗
- 1.02006-11-12
- RR 2.4.0 released · 2006-10-03
Package metadata
- First published
- 2006-11-12
- Total releases
- 29 / 20 yrs
- License
- GPL (>= 2) OSI
- Bundled data
- 67 KB / 5 files
- Download size
- 120 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("bcp")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.