Skip to content

Methods · Bayesian statistics · Sequential Monte Carlo

Rao-Blackwellised Particle Filter (Level Shifts and Outliers)

A Rao-Blackwellised particle filter splits the hidden state into a part that particles must simulate and a part that can be integrated out exactly. Here the particles carry an indicator of whether each time point is normal, a level shift or an outlier, and the underlying level is tracked exactly by a Kalman filter inside each particle, which gives much less Monte Carlo noise than simulating everything.

숨은 상태를 입자로 모의해야 하는 부분과 정확히 적분해 없앨 수 있는 부분으로 나누는 입자 필터입니다. 여기서는 입자가 각 시점이 정상, 수준 이동, 이상값 가운데 무엇인지를 나타내는 지표를 가지고, 바탕 수준은 각 입자 안의 칼만 필터로 정확히 추적하므로 몬테카를로 오차가 크게 줄어듭니다.

Where does my series have sudden level shifts or one-off outliers, and what is the underlying level at each time given the data so far?

내 시계열에서 갑작스러운 수준 이동이나 일회성 이상값이 어디에 있으며, 지금까지의 자료로 본 각 시점의 바탕 수준은 얼마일까요?

At each time point every particle weighs the three possible regimes by how well each predicts the new value, draws one of them and updates its Kalman filter. Particle weights are the predictive likelihoods and are resampled when they become uneven. The output gives the filtered level with its SD, the probability of each regime at each time (from the data up to that time and, for flagging, one step later), the times flagged as shifts or outliers, and the log-likelihood estimate.

When to use Rao-Blackwellised Particle Filter (Level Shifts and Outliers)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A Rao-Blackwellised particle filter with [value] particles flagged [value] level shifts and [value] outliers (lag-1 probability > 0.5); the log-likelihood estimate was [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.

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 Rao-Blackwellised Particle Filter (Level Shifts and Outliers) on Quorant

Data you need
a table (CSV or Excel) with an outcome 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.

Method ID Q15123 · Reviewed 2026-10-25