Definition
Change-point analysis concerns inference about the number and locations of structural breaks in a sequence of observations, where the data-generating process shifts at unknown times. In a piecewise-constant rate model for a Poisson process on [0,L], there are k change-points 0<s1<⋯<sk<L partitioning the timeline into k+1 segments with constant rates h0,h1,…,hk respectively; both k and the parameters {sj,hj} are unknown. Bayesian change-point analysis places a prior over k and estimates the joint posterior p(k,s1,…,sk,h0,…,hk∣y) via reversible-jump Markov chain Monte Carlo (RJMCMC).
Key Ideas
- Unknown dimension: the number of change-points k is itself unknown, making the problem trans-dimensional; standard fixed-k MCMC cannot traverse different model sizes.
- Hierarchical prior: k∼Poisson(λ) truncated at kmax; conditional on k, step positions (s1,…,sk) are the even-order statistics from 2k+1 points uniformly distributed on [0,L] (spacing prior that penalises very short intervals); step heights hj∼Gamma(α,β) independently.
- Posterior inference: the target p(k,s,h∣y) is estimated by a single RJMCMC run; the fraction of samples at dimension k estimates p(k∣y) directly; Bayes factors between k values are their ratios adjusted for the prior.
- Move types (Green 1995): height change H (perturb one hj at fixed k), position change P (relocate one sj at fixed k), birth (insert a new step, k→k+1), death (remove a step, k→k−1). Birth and death are dimension-changing moves handled by the RJMCMC bijection construction.
- Spacing prior for step positions avoids short intervals that would be unpenalised by likelihood yet create spurious change-points — a defect of the independent uniform order-statistic prior.
- Fixed-k Gibbs sampling (Carlin-Gelfand-Smith 1992): the earlier, non-trans-dimensional route. Conditional on a known number of changepoints, a hierarchical Bayes model is fit by the Gibbs sampler — cycling through the full conditionals of the changepoint locations and the segment parameters — which sidesteps the high-dimensional analytic/numerical integration that changepoint problems had previously required. The same generic engine handles changing regressions, changing Poisson processes, and changing Markov chains, making previously intractable models routine; the unknown-k case is then handled on top by model comparison or the RJMCMC birth/death moves above.
How It Works
Green (1995) Poisson Process Model
For observations y1,…,yn from a Poisson process with piecewise-constant rate x(t) on [0,L], the log-likelihood is
i∑logx(yi)−∫0Lx(t)dt
Birth move (k→k+1): propose new step position s∗∼Uniform[0,L]; s∗ falls in interval (sj,sj+1) with probability 1. The current height hj is split into hj′ and hj+1′ using u∼Uniform[0,1]:
hj′hj+1′=u1−upreserving(s∗−sj)loghj′+(sj+1−s∗)loghj+1′=(sj+1−sj)loghj
Acceptance probability: min{1,R} where R=(likelihood ratio)×(prior ratio)×(proposal ratio)×Jacobian, and the Jacobian is (hj′+hj+1′)2/hj.
Death move (k+1→k): reverse of birth; select one step sj+1 at random; merge hj and hj+1 via the weighted geometric mean satisfying the same log-height conservation equation.
Coal Mining Disaster Application (Green 1995)
Data: n=192 coal mining disasters (serious accidents), 1851–1962, L=40,907 days. Hyperparameters: λ=3, kmax=30, α=1, β=200. Run: 40,000 iterations after 4,000 burn-in (45 seconds, Sun Sparc 2). Results: posterior mode k=3 change-points; main change-point near day 14420 ≈ 25 June 1890 (95% credible interval (CI): 24 May 1887–7 May 1896), consistent with Raftery-Akman (1986) and Carlin-Gelfand-Smith (1992) analyses. The posterior mean rate function shows a high accident rate 1851–1890 dropping sharply and plateauing around 0.002–0.003 events/day thereafter.
Wang-Zivot (2000) Multiple Structural Changes in AR Models
Wang and Zivot (2000) extend the Green (1995) framework to AutoRegressive (AR) time series with breaks in intercept, trend, and/or variance. For model (3) with n breaks in the intercept:
ut=μ1I(1≤t<k1)+μ2I(k1≤t<k2)+⋯+μn+1I(kn≤t<T)+ρut−1+εt
conditional on n, the break locations kj are given a uniform prior over all ordered subsequences. The conditional posterior of each kj given its neighbours kj−1 and kj+1 is multinomial, making Gibbs sampling straightforward. Wang and Zivot use the Bayesian Information Criterion (BIC) to select n.
Product Partition Model (Barry-Hartigan 1993)
An alternative to reversible-jump that avoids trans-dimensional moves entirely. The timeline is partitioned into contiguous blocks of constant parameter value (block starts = change points), and the prior probability of a partition p is proportional to a product of prior cohesions, P(p)∝∏blocks ijcij, with block parameters independent given the partition (Barry-Hartigan 1993). The decisive property is closure: multiplying this product-form prior by a product-form likelihood leaves the posterior a product partition model, with posterior cohesions cijfij(Xij) (prior cohesion × block marginal likelihood) and updated independent block posteriors. A common cohesion makes each position a change point with probability p independently (equivalently a Markov parameter sequence that stays constant w.p. 1−p); for normal data the block mean has prior N(μ0,σ02/(j−i)), so short blocks are allowed larger deviations. Parameter estimates average over all partitions (a Bayesian model average, not a single chosen segmentation) and are computable exactly in O(n2) or by O(n)-per-sweep Gibbs sampling over the change-point indicators. Barry-Hartigan report it avoids the failure modes of Schwarz-BIC, Chernoff-Zacks, and Yao estimators and is superior for sharp, short-lived changes.
Metropolized Carlin-Chib (MCC) extension (Summers 2002): Summers (2002) treats n itself as unknown by running independence reversible-jump MCMC. A flat prior is placed over n∈{0,…,5}; a proposed n1 is drawn, parameters for the n1-break model drawn from their full conditional posteriors (serving as proposal density), and the move accepted with probability equal to the standard Metropolis ratio. This is equivalent to Green's (1995) reversible-jump algorithm for the special case where the proposal is the full conditional — an "independence" variant that avoids specifying bijections between different-dimensional parameter spaces. Posterior probabilities of each n are estimated as visit frequencies over 10,000 iterations.
Change-points as hidden-Markov durations (Chib 1998; Koop-Potter 2004)
For time-series change-point problems a different construction dominates. Chib (1998) attaches a latent regime-indicator Markov chain to the observations and converts "where are the breaks?" into "how long does each regime last?" — the change-points are the durations of the Markov regimes, sampled by Chib's (1996) forward-filter/backward-sample algorithm (valid even for non-time-homogeneous chains). Because within-regime exit probability is constant, this construction forces a Geometric duration distribution: a regime is most likely to end in its first period and monotonically less likely thereafter.
Koop and Potter (2004) relax this in two ways: (i) they let the number of change-points be unknown and unbounded, avoiding the awkward prior a fixed count imposes (fixing K breaks forces a non-time-homogeneous chain at the sample end with undesirable prior properties); and (ii) they replace the Geometric duration with a Poisson duration inside a hierarchical prior, giving a non-monotone, more realistic regime-length distribution while keeping conditionally-conjugate updates. The resulting model approximately nests both the time-varying-parameter model (a break every period) and the small-fixed-K change-point model, and — applied to US GDP and PCE inflation — finds more breaks than earlier work, behaving like a TVP-with-stochastic-volatility model with heterogeneous transition innovations. The distinction matters most for forecasting, where only a model admitting future breaks of history-dependent size yields honest predictive uncertainty.
The companion Koop-Potter (2006) adds a full hierarchical prior on both durations and regime parameters and shows how to do real-time forecasting with the model by writing it in state-space form and running a sequential importance sampler: as each new observation arrives the importance weights are updated recursively — wT+1∝p(yT+1∣zT+1)p(zT+1∣zT)/q(⋅) — so predictive densities roll forward without re-running the MCMC (a Negative-Binomial regime-count tail supplies extra future-regime durations when the horizon needs them).
Why It Matters
- Bayesian change-point analysis provides a full posterior distribution over k rather than committing to a single model selection decision; model averaging is implicit.
- RJMCMC (Green 1995) enables genuinely continuous-time treatment of change-point locations, avoiding discretisation artefacts of indicator-variable approaches (Carlin-Gelfand-Smith 1992, Barry-Hartigan 1993).
- The framework extends naturally to two-dimensional change-point problems (image segmentation via Voronoi tessellation) and partition models.
- The same coal mining data set is analysed by Raftery-Akman (1986) with one change-point (conjugate Gamma-Poisson posterior + a Bayes-factor test for whether a change exists at all, using the Spiegelhalter-Smith imaginary-observation device to make the test well-defined under vague priors), Carlin-Gelfand-Smith (1992) with discrete breaks, and Barry-Hartigan (1992, 1993) with product-partition models — Green (1995) provides the most general continuous-time treatment.
Open Questions
- Choosing move probabilities bk and dk to balance exploration of different model sizes without excessive time at extremes.
- Convergence assessment for trans-dimensional chains — standard diagnostics (Gelman-Rubin R^) apply only within each k subspace.
- Non-Poisson arrival processes and regression change-point models (unknown break in regression coefficients) require different bijection constructions.
Related