Skip to content

Methods · Time series · Robust time series

Robust Kalman Filter (rLS) for a Local Level Model

Tracks the level of a noisy series with a Kalman filter whose correction step is clipped, so that a single wild observation cannot pull the level far. The clipping height is set so that, without outliers, it removes only a small stated fraction of the correction; variances can be estimated robustly from the series, by Gaussian likelihood, or given.

잡음이 섞인 시계열의 수준을 칼만 필터로 추적하되 보정 단계를 잘라, 동떨어진 관측 하나가 수준을 크게 끌어가지 못하게 합니다. 이상치가 없을 때 보정의 정해진 작은 비율만 잘라 내도록 자르는 높이를 정하며, 분산은 시계열에서 강건하게 추정하거나 가우스 우도로 추정하거나 직접 줄 수 있습니다.

A sensor series has occasional spikes; what is the underlying level, and which readings were treated as outliers?

가끔 튀는 값이 있는 센서 시계열에서 실제 수준이 얼마이고 어느 측정값이 이상치로 처리되었는지 알고 싶습니다.

The classical and robust filtered levels, the clipping height and whether each correction was clipped, the variances used and the share of clipped corrections.

When to use Robust Kalman Filter (rLS) for a Local Level Model

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The rLS filter (efficiency loss [value]) clipped [value] of [value] corrections; the robust level differed from the classical one by [value] on average.

Related methods

How this method is validated

이 방법의 검증 근거

  • R cross-check. 7 reported values agree with R (stats::KalmanRun, stats::StructTS) within a tolerance of 1e-4; the largest observed difference is 5e-5.

    R 교차 검증. R(stats::KalmanRun, stats::StructTS) 대조: 보고 값 7개가 허용오차 1e-4 안에서 일치합니다(관측된 최대 차이 5e-5).

  • Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (38 values) agree with R (psych::describe, stats::quantile, stats::t.test, stats::shapiro.test) within 1e-6. This covers the supporting tables, not the main estimates.

    보조 표 R 대조. R(psych::describe, stats::quantile, stats::t.test, stats::shapiro.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 38개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.

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

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

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 Robust Kalman Filter (rLS) for a Local Level Model 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
Results cross-checked against R
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 Q53203 · Reviewed 2026-10-25