gdp-nowcasting-dynamic-factorlisted
Install: claude install-skill howard-lynn-ye/fin-skills
# GDP nowcasting with a dynamic factor model
**A nowcast is not a forecast of the future — it is an estimate of a number that already
happened and has not been published yet.** Everything hard about it is in the shape of the
data: monthly indicators arriving on different days with different lags, a quarterly target
observed once every three months, and a bottom edge of the panel that is jagged rather than
flat. The model that handles that is a state-space one, and it is already installed.
The Kalman machinery itself lives in
`../../../fin-models/skills/state-space-and-kalman/SKILL.md`; univariate baselines and how to
score a forecast live in `../../../fin-models/skills/time-series-forecasting-models/SKILL.md`.
This skill is the mixed-frequency, ragged-edge part and the benchmark discipline.
Everything marked ✅ Measured is printed by `scripts/nowcast.py` (numpy + pandas + scipy, seed
20260909, **6–25 s** depending on machine load, no network). Everything marked ✅
source-verified was read at the URL or in the installed package on 2026-09-09.
## 1. ✅ `DynamicFactorMQ` is the NY-Fed-shaped model, already in a BSD dependency
✅ source-verified in `statsmodels/tsa/statespace/dynamic_factor_mq.py`, statsmodels 0.15.0,
read in the installed package. The class docstring opens:
> *"Implementation of the dynamic factor model of Bańbura and Modugno (2014) and Bańbura,
> Giannone, and Reichlin (2011). Uses the **EM algorithm** for parameter fitting… Can
> incorporate **monthly/quarte