Bayesian Online Change-Point Detection
Bayesian online change-point detection tracks, point by point, the posterior distribution of the time since the last change, so shifts in level or rate can be flagged as data arrive.
베이즈 온라인 변화점 탐지는 관측이 하나 들어올 때마다 마지막 변화 이후 경과 시간의 사후분포를 갱신해, 수준이나 발생률의 변화를 실시간으로 찾아내는 방법입니다.
My sensor readings seem to jump to new levels now and then; can I get the probability that a change happened at each time point?
센서 값이 가끔 다른 수준으로 뛰는 것 같은데, 시점마다 변화가 일어났을 확률을 구할 수 있을까요?
Bayesian online change-point detection updates the posterior of the current run length after every observation with a conjugate model and a constant hazard, and reports how likely each time is to start a new segment. A change is flagged when that probability, checked a few steps later, passes a chosen threshold.
When to use Bayesian Online Change-Point Detection
- You want change probabilities rather than a single yes-or-no test.
- Data arrive sequentially and you need a method that can run online.
- Segments differ in mean and variance (Normal-Gamma) or in a Poisson count rate.
When to use something else
- You need the single best set of break dates in a regression with confidence intervals; use the Bai-Perron multiple structural break test.
- Observations within segments are strongly autocorrelated; model the dependence first or use a change-point method for dependent data.
Assumptions and requirements
- Observations within a segment are independent draws from the same distribution.
- Changes occur with a constant hazard (geometric segment lengths).
- Count data are non-negative integers for the Poisson-Gamma model.
- At most 5,000 time points per run.
What the analysis reports
- Change times with posterior probabilities
- Segment means between detected changes
- Expected and most probable current run length
- Log evidence of the model
- Change-probability plot
How to report it
Bayesian online change-point detection (Normal-Gamma model, hazard = [value], n = [value]) identified a change at t = [value] with posterior probability [value]; the mean moved from [value] to [value].
Related methods
- Bayesian Change-Point Analysis
- Change Point Detection (Binary Segmentation)
- Bai-Perron Multiple Structural Breaks
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 Online Change-Point Detection on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.