Bayesian Change-Point Analysis
Bayesian change-point analysis estimates, for every time point, the posterior probability that the mean of a series changes there, together with posterior means, using the Barry-Hartigan product partition model.
베이즈 변화점 분석은 Barry-Hartigan 곱 분할 모형으로 시계열의 각 시점에서 평균이 바뀔 사후확률과 사후 평균을 추정하는 방법입니다.
When did the level of my monthly series shift, and how certain can I be about each possible change point?
월별 계열의 수준이 언제 바뀌었고, 각 변화 후보 시점을 얼마나 확신할 수 있나요?
The product partition model treats the series as blocks with different means and samples partitions by MCMC, so the share of samples with a boundary at each position estimates the posterior probability of a change there. A single change-point model with conjugate priors is also available and gives the exact posterior distribution of one change location when exactly one shift is expected.
When to use Bayesian Change-Point Analysis
- You want probabilities of a level shift at each time point rather than a single yes-or-no test
- The number of changes is unknown
- You need a smoothed posterior mean of the series that respects abrupt shifts
When to use something else
- You test for a break at a known date: use the Chow test
- The series has strong autocorrelation or trend changes: use a structural break test on a regression or time-series model
- The series has more than 1,000 time points, the limit here; aggregate to a coarser time unit first
Assumptions and requirements
- Observations within a block are independent normal with a common variance
- Only the mean changes between blocks
- Prior bounds p0 and w0 describe how often and how strongly the mean changes
What the analysis reports
- Posterior probability of a change after each time point
- Posterior mean of the series
- Most visited partition and the expected number of changes
- Posterior distribution and credible set of a single change location (single-change model)
How to report it
A Bayesian product-partition change-point analysis of [n] observations identified [k] change points with posterior probability of at least 0.5, the highest after [time] (P = [value]).
Related methods
- Change Point Detection (Binary Segmentation)
- Structural Break Test (Chow Test)
- Bayesian Structural Time Series (BSTS)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Bayesian Change-Point Analysis on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a time variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.