Inferensys

Glossary

Vector Autoregression (VAR)

An econometric model that captures the linear interdependencies among multiple time series by modeling each variable as a linear function of past lags of itself and all other variables.
ML engineer running AI model benchmarks, performance charts on multiple screens, late night home office setup.
ECONOMETRIC MODELING

What is Vector Autoregression (VAR)?

Vector Autoregression (VAR) is a foundational multivariate time-series model that captures the linear interdependencies among multiple evolving variables by modeling each one as a linear function of its own past lags and the past lags of all other variables in the system.

A Vector Autoregression (VAR) model treats every endogenous variable symmetrically, allowing for rich dynamic analysis without imposing a priori theoretical restrictions on structural relationships. By regressing each variable on lagged values of itself and every other variable, the system captures feedback loops and propagation mechanisms. This makes VAR indispensable for Impulse Response Function (IRF) analysis, which traces the dynamic effect of a shock to one variable on the entire system over time.

Crucially, VAR requires stationarity of the input time series to produce valid estimates; if variables share a long-run equilibrium relationship, a Vector Error Correction Model (VECM) is the appropriate specification. The model's predictive utility is often validated through Granger Causality tests, which statistically determine if past values of one variable contain information that helps forecast another, distinguishing genuine predictive power from mere correlation.

MULTIVARIATE TIME SERIES FOUNDATIONS

Key Characteristics of VAR Models

Vector Autoregression (VAR) models capture the linear interdependencies among multiple time series. Each variable is modeled as a linear function of its own past values and the past values of all other variables in the system, making it a foundational tool for forecasting and impulse response analysis in macroeconomics and quantitative finance.

01

Endogenous Variable Symmetry

VAR models treat all variables as jointly endogenous, eliminating the need for ad-hoc distinctions between dependent and independent variables. This symmetry allows the system to capture complex feedback loops where, for example, interest rates and inflation simultaneously influence each other. The model estimates an equation for each variable using the same set of lagged regressors, creating a closed dynamic system that reflects the true interconnected nature of financial markets.

02

Lag Order Selection Criteria

The optimal number of lags (p) is critical for balancing model fit against over-parameterization. Information criteria penalize the inclusion of extra parameters to prevent overfitting:

  • Akaike Information Criterion (AIC): Minimizes prediction error, often selecting longer lags.
  • Bayesian Information Criterion (BIC): Imposes a heavier penalty for parameters, favoring parsimonious models.
  • Hannan-Quinn Criterion (HQ): Provides a middle ground, consistent in large samples. Selecting too few lags causes omitted variable bias; too many inflates variance.
03

Impulse Response Functions (IRFs)

IRFs trace the dynamic effect of a one-unit orthogonalized shock to one variable's error term on all variables in the system over time. Because the contemporaneous errors are typically correlated, a Cholesky decomposition is applied to isolate structural shocks, though this imposes a recursive causal ordering that must be justified by economic theory. IRFs reveal the persistence, magnitude, and direction of spillover effects, such as how a volatility spike in one asset class propagates to others.

04

Forecast Error Variance Decomposition (FEVD)

FEVD quantifies the proportion of the forecast error variance of each variable that is attributable to its own shocks versus shocks to other variables in the system. This analysis answers questions like 'What fraction of the uncertainty in equity returns is explained by innovations in credit spreads?' It provides a clear measure of the relative importance of different structural disturbances, helping quantitative researchers identify dominant drivers of market dynamics over specific horizons.

05

Stationarity Requirement

Standard VAR models require all variables to be covariance stationary—meaning the mean, variance, and autocovariance structure are constant over time. If variables contain unit roots (are I(1)), the model risks producing spurious regressions with artificially high R-squared values. In such cases, variables must be differenced before estimation. If the non-stationary series are cointegrated, a Vector Error Correction Model (VECM) is the appropriate specification to preserve long-run equilibrium relationships.

06

Granger Causality Testing

Within a VAR framework, Granger causality tests determine whether past values of one variable provide statistically significant information about the future of another variable, beyond the information contained in its own past. A variable X is said to Granger-cause Y if the coefficients on the lagged X terms are jointly significant in the Y equation. This is a test of predictive causality, not true structural causality, and is essential for building the causal ordering required for Cholesky decompositions.

VECTOR AUTOREGRESSION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about Vector Autoregression (VAR) models, their mechanics, and their application in quantitative finance and causal inference.

A Vector Autoregression (VAR) is a multivariate time-series model that captures the linear interdependencies among multiple variables by modeling each variable as a linear function of its own past values and the past values of all other variables in the system. Unlike univariate models, a VAR treats every variable as endogenous, meaning they are all jointly determined by the system's history. The model's order, denoted as VAR(p), specifies the number of lags p included for each variable. For example, in a bivariate VAR(2) model containing GDP growth and interest rates, the current GDP growth is regressed on its own two prior quarters and the two prior quarters of interest rates, and vice versa. This symmetric structure allows the model to capture feedback loops and dynamic propagation of shocks without imposing strong a priori theoretical restrictions on which variable causes another, making it a foundational tool for causal inference in markets and macroeconomic forecasting.

MODEL SELECTION GUIDE

VAR vs. Related Multivariate Models

A feature-level comparison of Vector Autoregression against its primary extensions and alternatives for multivariate time-series analysis.

FeatureVARVECMStructural VAR (SVAR)

Primary Use Case

Modeling interdependencies among stationary multivariate time series

Modeling cointegrated non-stationary series with long-run equilibrium

Identifying structural shocks and contemporaneous causal effects

Stationarity Requirement

Handles Cointegration

Contemporaneous Restrictions

Impulse Response Identification

Cholesky decomposition (recursive ordering)

Long-run and short-run restrictions

Economic theory-based restrictions (e.g., Blanchard-Quah)

Forecast Error Variance Decomposition

Granger Causality Testing

Typical Lag Selection Criterion

AIC, BIC, HQIC

AIC, BIC, HQIC (on differenced terms)

AIC, BIC, HQIC

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.