Papers
Topics
Authors
Recent
Search
2000 character limit reached

Factor Augmented Dynamic Nelson–Siegel Model

Updated 9 January 2026
  • The model's main contribution is extending the Nelson–Siegel framework with a Wishart stochastic volatility process to capture time-varying multivariate volatility.
  • It employs a Gaussian vector autoregression for latent factors and uses a collapsed-Gibbs sampler for efficient Bayesian estimation.
  • Empirical results demonstrate improved in-sample fit and out-of-sample forecast performance in commodity futures risk management compared to baseline models.

The Factor Augmented Dynamic Nelson–Siegel (FADNS) model with Wishart stochastic volatility is a Bayesian state-space framework for modeling and forecasting the term structure of commodity futures, extending the classic Nelson–Siegel (NS) representation to incorporate time-varying multivariate volatility and multiple latent factors governing the dynamics of forward curves. The model builds on the dynamic 3-factor Nelson–Siegel model and its 4-factor Svensson extension, employing a Gaussian vector autoregression structure for the latent factors and a Wishart process to capture stochastic volatility. Its development enables robust estimation and uncertainty quantification for large cross-sections and long time series, yielding competitive performance for in-sample fit, out-of-sample prediction, and risk management in empirical applications such as WTI crude oil futures (Kleppe et al., 2019).

1. Model Structure: Measurement Equation

The observed data consist of daily log-prices yi,ty_{i,t}, where i=1,,Ni=1,\dots,N enumerates futures contracts with times-to-maturity τi,t\tau_{i,t} at time tt. The core observation model follows the dynamic Nelson–Siegel (NS) form: yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2) where β1,t\beta_{1,t}, β2,t\beta_{2,t}, β3,t\beta_{3,t} denote the time-varying level, slope, and curvature factors.

The 4-factor Svensson extension augments this with a second curvature component: yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+β4,t(1eλ2τi,tλ2τi,teλ2τi,t)+εi,ty_{i,t} = \beta_{1,t} + \beta_{2,t}\frac{1-e^{-\lambda_1\tau_{i,t}}}{\lambda_1\tau_{i,t}} + \beta_{3,t}\left( \frac{1-e^{-\lambda_1\tau_{i,t}}}{\lambda_1\tau_{i,t}} - e^{-\lambda_1\tau_{i,t}} \right) + \beta_{4,t}\left( \frac{1-e^{-\lambda_2\tau_{i,t}}}{\lambda_2\tau_{i,t}} - e^{-\lambda_2\tau_{i,t}} \right) + \varepsilon_{i,t}

Stacked notation gives: yt=Ztβt+εt,εtN(0,Σy)y_t = Z_t \beta_t + \varepsilon_t, \qquad \varepsilon_t \sim N(0, \Sigma_y) where i=1,,Ni=1,\dots,N0 is the design matrix of NS or Svensson loadings.

2. Latent Factor Dynamics: Vector Autoregression

The evolution of latent factors i=1,,Ni=1,\dots,N1 for i=1,,Ni=1,\dots,N2 (NS) or i=1,,Ni=1,\dots,N3 (Svensson) is governed by a first-order vector autoregression (VAR), typically set to a random walk: i=1,,Ni=1,\dots,N4 where i=1,,Ni=1,\dots,N5, i=1,,Ni=1,\dots,N6 (commonly i=1,,Ni=1,\dots,N7), and i=1,,Ni=1,\dots,N8 is the time-varying precision matrix encoding the stochastic volatility. The generic transition density is

i=1,,Ni=1,\dots,N9

which allows for parsimonious yet flexible modeling of factor persistence and interdependence.

3. Wishart Stochastic Volatility Specification

Multivariate time-varying volatility is introduced via a Wishart–Beta process (Uhlig 1994, 1997; Windle & Carvalho 2014), driving the evolution of the factor innovation precision matrix τi,t\tau_{i,t}0. Its transition equation in scaled-Beta form is

τi,t\tau_{i,t}1

where τi,t\tau_{i,t}2 (degrees of freedom) and τi,t\tau_{i,t}3 (scale) with the identification constraint τi,t\tau_{i,t}4 ensuring τi,t\tau_{i,t}5.

Initial precision τi,t\tau_{i,t}6 follows

τi,t\tau_{i,t}7

with user-selected positive-definite matrix τi,t\tau_{i,t}8.

4. Bayesian Posterior Inference and MCMC Estimation

The model is estimated in a fully Bayesian framework. The joint posterior for all parameters (τi,t\tau_{i,t}9), latent factors tt0, and stochastic volatilities tt1 is proportional to the product of Gaussian densities (likelihood and factor transition), the Wishart/Beta prior, and priors on remaining parameters: tt2

Key conjugacies allow:

  • Given tt3, tt4 form a linear-Gaussian state-space model with tractable Gaussian updates.
  • Given tt5, the Wishart specification produces a closed-form backward sampler for tt6.
  • Parameters tt7 (Normal) and tt8 (inverse gamma) have conjugate updates.

A collapsed-Gibbs sampler cycles through:

  1. Jointly sampling tt9: update yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)0 via random-walk Metropolis (marginalizing yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)1), update yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)2 with a sparse Gaussian precision sampler (as in Chan & Jeliazkov 2009).
  2. Jointly sampling yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)3: update yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)4 via marginal likelihood, then backward-sample yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)5 from the shifted singular Wishart.
  3. Standard updates for yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)6 and yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)7.

Posterior quantities are obtained by averaging across post-burn-in MCMC cycles.

5. Empirical Performance in Crude Oil Futures

An empirical application to 24 monthly WTI crude-oil log-futures (Jan 1996–May 2016, yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)8) compares several model variants: 3F (homoscedastic NS), 3F-SV (NS + Wishart SV), 4F (homoscedastic Svensson), and 4F-SV (Svensson + Wishart SV). Weakly-informative priors are specified.

Estimation and forecasting results include:

  • Posterior means (4F-SV, second estimation window): yi,t=β1,t+β2,t1eλ1τi,tλ1τi,t+β3,t(1eλ1τi,tλ1τi,teλ1τi,t)+εi,t,εi,tN(0,σy,i2)y_{i,t} = \beta_{1,t} + \beta_{2,t} \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} + \beta_{3,t} \left( \frac{1-e^{-\lambda_1 \tau_{i,t}}}{\lambda_1 \tau_{i,t}} - e^{-\lambda_1 \tau_{i,t}} \right) + \varepsilon_{i,t}, \quad \varepsilon_{i,t} \sim N(0,\sigma_{y,i}^2)9, β1,t\beta_{1,t}0, β1,t\beta_{1,t}1, β1,t\beta_{1,t}2 (implying β1,t\beta_{1,t}3). The intercept β1,t\beta_{1,t}4 is close to zero, indicating factor processes are approximately unit-root random walks.
  • Effective sample sizes for all parameters exceed 200.
  • Deviance Information Criterion (DIC) ranks: 4F-SV best, followed by 4F, 3F-SV, then 3F.
  • Out-of-sample log-predictive likelihoods (2008 window, 24 contracts, 576 dates): 3F–24,853; 3F-SV–25,019; 4F–26,034; 4F-SV–26,195. Thus, 4F-SV displays superior predictive density performance.
  • One-day RMSE (2008 window): 3F–0.0290; 3F-SV–0.0290; 4F–0.0289; 4F-SV–0.0289 versus the random-walk benchmark of 0.0286.
  • In VaR forecasting, 4F-SV produces the most accurate hit rates at 1%, 5%, and 10%, and passes unconditional/conditional coverage tests more consistently than alternatives.

Posterior smoothed volatility and cross-correlation estimates closely track rolling-window realized measures. Both curvature factors are empirically distinct: one captures longer-horizon term-structure curvature, while the second extracts a short-horizon “bump.”

6. Model Comparison and Interpretation

Model comparisons indicate that the 4-factor Svensson with Wishart stochastic volatility (4F-SV) outperforms lower-order or homoscedastic alternatives in both in-sample goodness-of-fit and out-of-sample density/point forecasting. The parsimonious stochastic volatility specification captures temporal variation and cross-sectional dependence among risk factors with high persistence (β1,t\beta_{1,t}5, β1,t\beta_{1,t}6), recovering both the level and complex curvature dynamics of the commodity forward curve.

A plausible implication is that incorporating Wishart SV enhances risk management and density forecasting capability compared to homoscedastic or classic factor models, notably improving Value-at-Risk assessment for portfolios including long–short (bull spread) positions.

Model Variant Factors SV Process Best Use
3F NS (level, slope, 1 curvature) No Baseline comparison
3F-SV NS Yes (Wishart) Volatility modeling
4F Svensson (2 curvature) No Enhanced fit
4F-SV Svensson Yes (Wishart) Forecast/risk

7. Conclusions and Practical Value

The FADNS model with Wishart stochastic volatility, as formulated in Kleppe et al. (Kleppe et al., 2019), provides a flexible, computationally efficient, and Bayesian-coherent approach to modeling the term structure of commodity futures. The fully conjugate state-space and stochastic volatility structure enables robust inference even for large panels (β1,t\beta_{1,t}7, β1,t\beta_{1,t}8), with jointly estimated latent factors and time-varying covariance, and competitive or superior performance versus common benchmarks such as linear Gaussian state-space models and random walk processes. The empirical evidence suggests that the model is particularly effective for forecasting time-varying forward curves, volatility, cross-factor covariances, and portfolio risk in commodity markets.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Factor Augmented Dynamic Nelson Siegel Model.