State Space, Mixed Frequency, and Nowcasting

Use Kalman prediction and update matrices for latent financial states, macroeconomic nowcasts, missing releases, and ragged edges.

State Space, Mixed Frequency, and Nowcasting

One architecture for unobserved states

A linear Gaussian state-space model is

αt=Ttαt1+Rtηt,ηt(0,Qt),\boldsymbol\alpha_t =T_t\boldsymbol\alpha_{t-1}+R_t\boldsymbol\eta_t, \qquad \boldsymbol\eta_t\sim(0,Q_t),yt=Ztαt+εt,εt(0,Ht).\mathbf y_t =Z_t\boldsymbol\alpha_t+\boldsymbol\varepsilon_t, \qquad \boldsymbol\varepsilon_t\sim(0,H_t).

The state αt\boldsymbol\alpha_t is not directly observed. The data yt\mathbf y_t are noisy, incomplete measurements of it.

Finance statePossible measurements
latent efficient pricetransaction prices from several venues
time-varying betaasset and factor returns
latent volatilityreturns, realised measures, option-implied measures
yield-curve factorsyields at multiple maturities
Economics statePossible measurements
current economic activityemployment, surveys, production, quarterly GDP
output gapoutput, inflation, unemployment
common inflation trendsectoral price indices and expectations
potential growthnoisy and revised national accounts

The equations are shared. The measurement calendar and substantive interpretation differ.

Prediction and update

Given filtered state (at1t1,Pt1t1)(\mathbf a_{t-1|t-1},P_{t-1|t-1}):

Predict

att1=Ttat1t1,\mathbf a_{t|t-1}=T_t\mathbf a_{t-1|t-1},Ptt1=TtPt1t1Tt+RtQtRt.P_{t|t-1}=T_tP_{t-1|t-1}T_t^\top+R_tQ_tR_t^\top.

Measure

vt=ytZtatt1,Ft=ZtPtt1Zt+Ht.\mathbf v_t=\mathbf y_t-Z_t\mathbf a_{t|t-1}, \qquad F_t=Z_tP_{t|t-1}Z_t^\top+H_t.

Update

Kt=Ptt1ZtFt1,K_t=P_{t|t-1}Z_t^\top F_t^{-1},att=att1+Ktvt,Ptt=Ptt1KtFtKt.\mathbf a_{t|t}=\mathbf a_{t|t-1}+K_t\mathbf v_t, \qquad P_{t|t}=P_{t|t-1}-K_tF_tK_t^\top.

The Kalman gain weights new information by relative uncertainty. A noisy release receives less weight; a precise surprise receives more.

Missing values are a measurement design

If a series is unavailable at time tt, remove its row from yt\mathbf y_t and ZtZ_t and the matching rows and columns from HtH_t. The state transition still runs.

This matters in two different ways:

  • Finance: markets close at different times, instruments become illiquid, and high-frequency measures are asynchronous.
  • Economics: releases arrive on different dates, quarterly outcomes are absent in most months, and the latest panel has a ragged edge.

Imputing future releases before filtering would destroy the information-set interpretation.

Mixed-frequency measurement

Let monthly latent activity be xtx_t and define the state

αt=(xt,xt1,xt2).\boldsymbol\alpha_t=(x_t,x_{t-1},x_{t-2})^\top.

A monthly indicator measures

mt=[100]αt+εm,t,m_t= \begin{bmatrix}1&0&0\end{bmatrix}\boldsymbol\alpha_t+\varepsilon_{m,t},

while a quarterly average released every third month measures

qt=[1/31/31/3]αt+εq,t.q_t= \begin{bmatrix}1/3&1/3&1/3\end{bmatrix} \boldsymbol\alpha_t+\varepsilon_{q,t}.

The frequency mismatch is encoded in ZtZ_t rather than erased by filling the quarterly series forward.

R laboratory: a ragged-edge nowcast

R

Kalman nowcast with monthly and delayed quarterly measurements

Idle

At month 33 the quarterly release usually reduces uncertainty. At month 36 it is missing, so the filter nowcasts from the monthly indicator and propagated state rather than pretending that GDP has already been observed.

Real-time macroeconomic nowcasting

Giannone, Reichlin, and Small show how a dynamic-factor framework can update the current-quarter assessment as new releases arrive. A credible nowcast records:

  1. the release calendar and vintage;
  2. the state or factor specification estimated at that date;
  3. the news component vt\mathbf v_t of each release;
  4. the Kalman weight translating news into the nowcast revision;
  5. later data revisions separately from model error.

Evaluating on the latest revised panel answers “How well can final values be reconstructed?” It does not answer “What could have been known in real time?”

Finance interpretation

For a time-varying beta,

ri,t=αt+βtrm,t+εt,βt=βt1+ηt.r_{i,t}=\alpha_t+\beta_t r_{m,t}+\varepsilon_t, \qquad \beta_t=\beta_{t-1}+\eta_t.

The filter balances noisy current returns against gradual beta movement. The same warning applies: a filtered beta is a model-dependent latent estimate, not a directly observed characteristic. Trading use additionally requires an execution rule and out-of-sample risk assessment.

Smoothing is not forecasting

  • Filtering estimates αt\boldsymbol\alpha_t using data through tt.
  • Forecasting estimates a future state using data through tt.
  • Smoothing estimates a past state using later data.

Smoothing is valuable for historical decomposition but leaks future information if presented as a real-time signal.

Practice

  1. What happens to KtK_t as measurement variance HtH_t becomes very large?
  2. Why does carrying the last quarterly GDP value forward create a false measurement?
  3. When is a smoothed recession state inappropriate?
Answers
  1. The gain on that measurement approaches zero; the filter trusts the state prediction.
  2. It says the old value is a new observation with artificial precision.
  3. When evaluating what an analyst could classify or forecast at the historical date.

Next: Forecast Evaluation for Decisions.

Copyright © 2026