← All widgets

Filters Refresher — Four Ways to Extract a Trend

ECON-5371 · Time Series Analysis and Forecasting — end-of-course capstone comparison

Simulated Data-Generating Process

y(t) = trend(t) + cycle(t) + noise(t). Because this is simulated, the true trend is known — the one advantage a textbook example on real GDP can't offer.
Components
Show Filters
HP End-Point Bias Demo
Fit Quality vs. True Trend
Extracted Trends vs. Ground Truth
Observed y(t) True trend HP filter Linear detrend Kalman (smoothed) ETS / Holt
Extraction Error by Method (RMSE vs. true trend)
HP End-Point Bias: Full-Sample vs. Real-Time Trend (last 40 periods)