Skip to content

Methods · Bayesian statistics · Bayesian time series

Bayesian Change-Point Model by MCMC (Discrete Change-Point Sampling, Missing-Response Imputation)

A single change point splits a series into two segments with their own Poisson rate or normal mean. The method samples the change point, the segment parameters and any missing responses together by MCMC: missing values are drawn from their predictive distribution, parameters from conjugate full conditionals, and the integer change point by Metropolis steps with a symmetric geometric proposal. Because the priors are conjugate, the exact posterior of the change point is also computed and compared with the sampled one.

하나의 변화점이 계열을 두 구간으로 나누고 구간마다 포아송 비율이나 정규 평균이 따로 있다고 봅니다. 결측 반응은 예측분포에서, 모수는 켤레 완전조건부분포에서, 정수인 변화점은 대칭 기하 제안을 쓰는 메트로폴리스 단계로 함께 표집합니다. 켤레 사전분포라 변화점의 정확한 사후분포도 계산해 표집 결과와 비교합니다.

When did the level of my series change, how large was the change, and what values are plausible for the time points where the outcome is missing?

계열의 수준이 언제 바뀌었고 얼마나 바뀌었으며, 결과값이 빠진 시점에는 어떤 값이 그럴듯합니까?

The output gives the most probable change position with its posterior probability and a 95% highest-posterior set, segment rates or means with 95% credible intervals, the rate ratio or mean difference, and posterior means and intervals for every missing response. The total-variation distance between the sampled and exact change-point posterior shows whether the chain has settled.

When to use Bayesian Change-Point Model by MCMC (Discrete Change-Point Sampling, Missing-Response Imputation)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A Bayesian single change-point Poisson model fitted by MCMC ([value] draws; [value] missing counts imputed) placed the change after [value] (posterior probability [value]); the rate fell from [value] to [value], rate ratio [value] [95% CrI [value], [value]].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-6).

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 Model by MCMC (Discrete Change-Point Sampling, Missing-Response Imputation) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and a time variable
Price
900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 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.

Method ID Q15159 · Reviewed 2026-10-25