Basic Prerequisites: Econometrics & Time Series (stationarity, ARMA, unit roots) and Linear Algebra.


1. Intuition & Practical Objective

A state-space model draws a clean line between what is happening and what we see. The state is the full minimal description of the system at time - the latent level, the true beta, the hidden volatility, the current phase of a cycle. The observation is a noisy, possibly incomplete, possibly indirect view of that state. The model is two equations: how the state evolves, and how observations are generated from it.

Everything you already know is a special case. An ARMA model, a regression, a trend-plus-seasonal decomposition, the “signal + noise” of page 01, a dynamic hedge ratio - all of them are state-space models wearing different clothes. That is the practical payoff: one estimation engine (the Kalman filter) fits all of them, handles missing data for free, delivers the likelihood for free, and separates the part you care about (the state) from the noise you don’t.

The two structural features that make the state-space view worth the notation:

  • Latent structure. The state can include things you never observe directly - a random slope, a seasonality term, a slowly-varying hedge ratio. You cannot regress on an unobserved variable; you can filter it.
  • Handling of missing/irregular data. A missing observation simply drops out of the update (the filter just predicts); a series sampled at irregular intervals is handled by the same recursion. Rolling OLS cannot do this without ad-hoc patching.

2. Mathematical Ground Truth & Derivations

2.1 The general linear-Gaussian form (Tsay 11.26–11.27)

  • is the state vector; the transition matrix (what the state does when left alone); the process-noise covariance ( selects which state components are disturbed).
  • is the observation; the observation/design matrix (how the state is measured); the measurement-noise covariance.
  • are known (possibly time-varying) intercepts. All matrices may be time-varying and are known or parameterized; the state is random.

The model is linear (observations are linear in the state) and Gaussian (all noise is normal). These two assumptions are exactly what make the Kalman filter the optimal (minimum-MSE) estimator - and exactly what its failure modes violate (pages 05–06).

2.2 The local-level model: the smallest useful state-space model

State (), , , , , . This is the pure “random-walk signal observed through noise” model of page 01. Despite its size it drives realized-volatility filtering, quote smoothing, and - via the equivalence below - the ARIMA(0,1,1) used throughout volatility modeling.

2.3 ARMA and ARIMA are state-space models

ARMA(1,1) has the companion state with

Local level ARIMA(0,1,1) (Tsay Eqs. 11.4–11.5). Differencing the local-level model gives an MA(1):

So the same two variances can be written as a state-space model (with a latent level) or as an ARIMA(0,1,1) (with only observables). The state-space form is the one that separates the signal from the noise - ARIMA gives you the reduced-form autocovariances but throws the latent level away.

General regression with ARMA errors - the standard “signal plus correlated noise” model in econometrics - is likewise a state-space model: put the regression coefficients and the ARMA error state in , set (regressors, 1).


3. Computational Implementation - the two representations, checked against each other

Part A verifies the local-level ARIMA(0,1,1) algebra on Tsay’s own verified Alcoa numbers; Part B confirms an ARMA(1,1) simulated directly and simulated through its companion state-space form are the identical series.

Two things are verified. First, the local-level/ARIMA algebra reproduces Tsay’s published Alcoa decomposition - and the punchline (, a 6.5× noise-to-signal ratio) is the state-space statement that most of what you see in a realized-vol series is measurement noise, not real moves. Second, the ARMA and its companion state-space form generate the bit-identical series (difference ) - the representations are the same object.


4. Failure Modes & First-Principles Breakdowns

  1. A state-space model is only as good as its transition matrix. is the model of how the world evolves. If you set for the beta of a name that genuinely re-prices its factor exposures each quarter, no filter can recover the truth - the structure is wrong (this is misspecification, page 05).
  2. Non-identifiability between and . For a local-level model estimated from observables alone, and are separately identified only through the autocovariances of . With short samples or near-unit-root behavior the likelihood is flat, and wildly different pairs fit equally well. The state-space view adds a latent level - but that level’s precision is exactly what the data limits.
  3. State-augmentation explodes dimension. Cramming every regressor and its lags into grows as and destabilizes numerical conditioning; prefer the minimal state and let the filter reject the rest.
  4. Differencing is not the same as state-space. ARIMA throws the latent level away; if your goal is to filter (denoise, nowcast) rather than to forecast autocovariances, the state-space form is the right one - they are not interchangeable tools even though they share the same likelihood.

5. References

  • Tsay, Analysis of Financial Time Series (3rd ed.)
  • Tsay
  • Durbin & Koopman, Time Series Analysis by State Space Methods
  • Harvey, Forecasting, Structural Time Series Models and the Kalman Filter
  • Hamilton, J. D.: Time Series Analysis

6. Connected Graph Bridges