r/MachineLearning • • 1d ago

Project Time Series Lag Problems [P]

Hi everyone, I'm having an issue with lags on time series models predicting U.S. housing prices (FHFA HPI as the target) and I can't figure out where they're coming from (I'm no expert by any means). I've hand-built simpler models, but I'm using Claude Code for this project because it's larger. I've collected over 600 features: global, national (40 countries), and metro (393 U.S. metros). The attached table shows the different models we've tried - starting simple'ish and moving to building our own hierarchical transformer. The problem (the attached charts show an example) is that all the forecasts significantly lag the actual observations - ON ALL THE DIFFERENT MODELS by roughly the same amount. A 1-year forecast lags actuals by about 4-5 quarters. A 2-year forecast lags actuals by about 8-9 quarters. Same with 3- and 5-year (charts attached). On all runs. So the lag is pretty much the exact forecast horizon. I've experienced late calls on turns before, but nothing so consistent across all model types. So I'm pretty sure I'm doing something wrong, but don't know what. Any ideas or help would be appreciated.

1 Upvotes

1 comment sorted by

1

u/martinetmayank 1h ago
  1. What's your insample accuracy?
  2. have you done any feature engineering? or just passing all features at once?
  3. are those features really having any impact or is it just causation?
  4. any sort of time feature?
  5. what was the criteria for selection of lags?
  6. have you tried what the univariate looks like (to establish a baseline)
  7. why go to a complex model directly (I'm just curious). We, start with univariate and then LR (and it's variation) then Trees and finally DL (this is for FMCG/CGP industry)