Bayesian Analysis of High Dimensional Vector Error Correction Model

Parley Ruogu Yang, Alexander Y. ShestopaloffarXiv 2023 · DOI

TL;DR

This paper introduces a Bayesian framework using Spike-and-Slab Lasso (SSL) to estimate cointegration in high-dimensional time series. By applying sparse regularization to the Vector Error Correction Model (VECM), the authors enable the identification of stable, mean-reverting relationships among hundreds of variables even when the number of observations is relatively small—a feat impossible with traditional statistical tests.

What Problem Does This Paper Address?

In econometrics and finance, we often deal with "non-stationary" time series—data like stock prices that wander over time without a fixed mean. However, groups of these series can be "cointegrated," meaning a specific linear combination of them is stationary (stable). The classic tool for this is the Vector Error Correction Model (VECM).

The "bottleneck" is dimensionality. Traditional methods (like the Johansen test) require significantly more observations ($T$) than the square of the number of variables ($p^2$). In the modern era of "big data," we might want to analyze 500 stocks ($p=500$) using only a year of daily data ($T \approx 250$). In this "high-dimensional" regime ($p > T$), traditional VECM breaks down because there are more parameters to estimate than data points available. This paper seeks a "sample-size-efficient" way to determine the cointegration rank (the number of stable relationships) in these crowded datasets.

Methods

The authors employ a Bayesian Spike-and-Slab Lasso (SSL) approach.

  • The Prior: They use a mixture distribution for the coefficients in the cointegration matrix. The "spike" is a very narrow Laplace distribution centered at zero (forcing unimportant variables to zero), while the "slab" is a wider Laplace distribution (allowing significant relationships to remain).
  • Decomposition: They decompose the VECM into a more manageable form using QR decomposition, allowing them to focus specifically on the rank of the cointegration matrix.
  • Algorithms: They propose two Expectation-Maximization (EM) based algorithms:
  • Algorithm 1: A column-wise SSL approach that iteratively increases the penalty until the rank stabilizes.
  • Algorithm 2: An advanced version that introduces randomized coordinate sampling. Instead of updating the whole matrix at once, it samples specific coordinates to update. This prevents "over-penalization," where the model might accidentally zero out a weak but real signal. This algorithm provides a probabilistic distribution of the rank rather than just a single number.

Datasets

The paper validates the model using two primary sources:

  1. Simulated Data: Synthetic VAR(1) processes where the true cointegration rank is known ($r=0, 1, 5$). They tested dimensions up to $p=100$ and $T=500$.
  2. S&P 500 Index: Daily stock prices for individual constituents of the S&P 500 from January 2022 to September 2023. After filtering for non-stationarity, they analyzed 405 stocks ($p=405$) over 374 observations ($T=374$).

Key Insights and Ideas

  • Sparsity as a Solution: The core "aha" moment is that even in a system of 500 stocks, the number of truly stable, long-term relationships is likely very small. By assuming the cointegration matrix is sparse, the authors turn an impossible estimation problem into a solvable one.
  • Probabilistic Rank Estimation: Unlike frequentist tests that give a p-value, Algorithm 2 produces a histogram of possible ranks across different random seeds. This gives researchers a "confidence profile" for how many stable relationships actually exist in the data.
  • The "Over-Penalization" Trap: The authors found that a global penalty often "crushes" the rank estimate to zero. Their randomized sampling approach (Algorithm 2) acts as a safeguard, allowing the model to find the "needle in the haystack" without throwing away the needle.

Key Results

  • Simulation Accuracy: In high-dimensional settings ($p=100, T=500$), Algorithm 2 achieved near-perfect accuracy in identifying the true rank, whereas simpler methods often under-estimated it.
  • Massive Volatility Reduction: When applied to the S&P 500, the model identified portfolios with incredibly low volatility.
  • The SPY Index had a training volatility of 18.4%.
  • The Cointegrated Portfolios found by the model had volatilities between 0.3% and 0.9%.
  • Out-of-Sample Stability: These portfolios remained stable even in the "unseen" testing period, maintaining volatilities around 1.1%, significantly lower than the broader market.
  • Rank of the S&P 500: The model estimated an average cointegration rank of 1.7 for the 405 stocks, suggesting that even in a massive market, there are only a couple of truly fundamental "anchor" relationships.

Limitations and Future Work

  • Sparsity Dependency: The effectiveness of Algorithm 2 relies on the underlying system actually being sparse. If every stock was weakly cointegrated with every other stock, the model might struggle.
  • Computational Scaling: While the authors reached $p=405$, they acknowledge that pushing toward $p > 1000$ will require further optimization of the EM iterations.
  • Noise Structure: The current model assumes relatively simple noise. The authors suggest that future work could incorporate a Bayesian analysis of the covariance matrix ($\Sigma$), which could further improve results if the noise itself is sparse or structured.

Summary updated

Abstract

Vector Error Correction Model (VECM) is a classic method to analyse cointegration relationships amongst multivariate non-stationary time series. In this paper, we focus on high dimensional setting and seek for sample-size-efficient methodology to determine the level of cointegration. Our investigation centres at a Bayesian approach to analyse the cointegration matrix, henceforth determining the cointegration rank. We design two algorithms and implement them on simulated examples, yielding promising results particularly when dealing with high number of variables and relatively low number of observations. Furthermore, we extend this methodology to empirically investigate the constituents of the S&P 500 index, where low-volatility portfolios can be found during both in-sample training and out-of-sample testing periods.
BibTeX
@misc{yang2023bayesian,
  author = {Parley Ruogu Yang and Alexander Y. Shestopaloff},
  title = {{Bayesian Analysis of High Dimensional Vector Error Correction Model}},
  year = {2023},
  eprint = {2312.17061},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.17061},
}
Figure