Home / Financial Tools / Kalman Filter State-Space Trend Extraction Engine
Graduate-Level Modeling · Time Series Econometrics & Signal Extraction
Kalman Filter State-Space Trend Extraction Engine
Every noisy series hides a state you cannot observe directly: the true level, the true trend. The Kalman filter is the provably optimal way to recover it in a linear Gaussian world, and this engine runs the real recursions, filter, smoother and exact likelihood, on a process you control.
How To Use This Model
Reading This Tool
This tool simulates a local linear trend, a hidden level that drifts with a hidden, slowly-changing slope, buried under measurement noise you control. It then runs the exact Kalman filter forward through the data and the Rauch-Tung-Striebel smoother backward, and scores both against the true hidden path it knows but the filter never sees.
The point to internalize: the filter uses only past data (real-time estimation), the smoother uses the full sample (historical reconstruction), and the smoother always wins. The gap between them is the value of hindsight, made precise.
Process & Noise Parameters
Estimation Accuracy Against The Hidden Truth
q = –Raw Observation RMSE
-
Kalman Filter RMSE
-
RTS Smoother RMSE
-
Exact Log-Likelihood
-
Observations, True Hidden Level, Filtered & Smoothed Estimates
The Slope Nobody Ever Observes
True Terminal Slope
-
Smoothed Terminal Slope
-
Slope Tracking RMSE
-
Noise Reduction vs. Raw Data
-
True Slope Path vs. Smoothed Slope Estimate