Time Series Imputation (Interpolation, Kalman Smoothing, Seasonal Split)
Time series imputation fills missing values in a single ordered series by interpolation, Kalman smoothing of a state-space model or interpolation after seasonal adjustment, choosing among methods by re-imputing masked observations.
시계열 결측 대체는 하나의 시간 순 계열에서 빠진 값을 보간, 상태공간 모형의 Kalman 평활, 계절성 제거 후 보간으로 채우고, 관측값 일부를 가려 다시 채워 보는 방식으로 방법을 고르는 기법입니다.
My daily sensor series has gaps of a few days; which method should I use to fill them before analysis?
일별 센서 계열에 며칠씩 빈칸이 있는데, 분석 전에 어떤 방법으로 채워야 하나요?
Time series imputation uses the ordering of the data: linear, spline or shape-preserving interpolation connects neighbouring observations, Kalman smoothing estimates the missing values from a fitted local-level or ARIMA state-space model, and seasonal splitting removes the seasonal pattern before interpolating. Hiding some observed values and re-imputing them gives an RMSE for each method, so the method that best reconstructs your own series can be chosen.
When to use Time Series Imputation (Interpolation, Kalman Smoothing, Seasonal Split)
- A univariate, regularly spaced series has scattered or short gaps
- You need a complete series for plotting, decomposition or a model that cannot handle missing values
- You want an empirical comparison of interpolation and state-space methods on your data
When to use something else
- Values are missing because of their own magnitude (for example censoring at a detection limit): use a censored-data method
- Several related series are available and inference needs the imputation uncertainty: use multiple imputation
Assumptions and requirements
- Time points are equally spaced or can be placed on a regular grid
- Missingness does not depend on the unobserved values themselves
- Masked single points are representative of the real gaps; long gaps are harder than the evaluation suggests
What the analysis reports
- Imputed values with the time points they fill
- Gap counts, longest gap and gap-length distribution
- Masked RMSE and MAE for each candidate method and the selected method
- Line plot of the completed series
How to report it
Missing values in [series] ([k] of [n] time points, longest gap = [value]) were imputed with [method], which had the lowest RMSE ([value]) when [m] observed values were masked and re-imputed.
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Time Series Imputation (Interpolation, Kalman Smoothing, Seasonal Split) itself, at the same price.
- Time Series Gap Filling by Last Observation Carried Forward — method set to “locf”
- Time Series Gap Filling by Kalman Smoothing — method set to “kalman_arima”
- Time series outlier cleaning (tsclean) — clean outliers set to “on”
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 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 Time Series Imputation (Interpolation, Kalman Smoothing, Seasonal Split) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a time variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.