Imagine you’re trying to understand a complex system, not by looking at one piece at a time, but by watching how all the pieces interact at once. Think of a bustling marketplace. The price of tomatoes doesn’t just depend on yesterday’s tomato price; it’s also influenced by the price of onions, the cost of transport, and even the local weather. They all affect each other. This, in essence, is the puzzle that Vector Autoregression (VAR) models help economists solve. A VAR model is a powerful tool that captures the rich, dynamic interconnections between multiple time series variables. It treats every variable as part of a system, where each one’s future path is explained by its own past (its “auto-regression”) and the past of every other variable in the system.

But building such a model isn’t a simple plug-and-play exercise. The old saying “garbage in, garbage out” has never been more true. The quality of your economic insights-whether you’re forecasting GDP, understanding the impact of an interest rate hike, or analyzing market shocks-depends entirely on how you specify and estimate your model. It’s a process that’s part economic theory, part statistical detective work. Getting it right is the difference between a clear map and a random scribble. So, how do we build a VAR model that actually tells us something useful? It all starts with making four crucial decisions.

Table of Contents

Choosing your team: Selecting the right variables

The first and most foundational step in building a VAR model is deciding which variables to include. This isn’t a statistical fishing expedition where we throw everything at the wall to see what sticks. Instead, this choice must be deeply rooted in economic theory. You are building a model of a specific economic “system,” and your theory tells you who the key players are. If you leave a key player out, your model will be fundamentally incomplete, like trying to understand a football match by only watching the goalkeeper.

Let’s take the classic example mentioned in the summary: analyzing the effects of monetary policy shocks. Economic theory, developed over decades, tells us there’s a core set of variables that transmit the central bank’s actions to the wider economy. As researchers building models for economies like India have shown, you would almost certainly need to include:

  • An output variable, like Gross Domestic Product (GDP), to measure overall economic activity.
  • A price level variable, like the Consumer Price Index (CPI), to capture inflation.
  • A monetary aggregate, like the M3 money supply, to represent the amount of money in the economy.
  • A policy instrument, like a short-term interest rate (e.g., the repo rate), which is the tool the central bank actually uses.

Why this group? Because theory tells us they are interconnected. The central bank raises the interest rate to cool down inflation (prices), but this action might also slow down economic growth (GDP) by making borrowing more expensive, which in turn affects the (money supply). Your VAR model is designed to capture exactly these dynamic ripple effects. The choice of variables defines the boundaries of your economic universe. If you’re studying stock market volatility, your system might include trading volume, interest rates, and an industrial production index. The key is that the variables should, according to theory, have a reason to influence one another.

Accounting for the invisible forces: Deterministic components

Once you’ve chosen your team of variables, the next step is to account for any predictable, non-economic forces that might be pushing them around. These are called deterministic components, and they are things like an intercept (a constant), a linear time trend, or seasonal dummies. Think of it this way: if your variables are boats in a river, the interactions between the boats are what you care about (the VAR dynamics). But if the entire river is flowing steadily downhill (a primary-trend) or has predictable tides (seasonality), you need to account for that. If you don’t, you might mistakenly think one boat is “causing” another to move, when really they’re both just being dragged along by the same current.

This is what economists call omitted variable bias. By failing to include these simple deterministic parts, your entire model can be biased, leading to faulty conclusions. Here’s what these components do:

  • Constant (or Intercept): This is the most basic component. It allows for the possibility that your variables have a non-zero mean. For example, even in a stable economy, GDP growth is (hopefully) positive on average, not zero. The constant captures this baseline level.
  • Linear Trend: Many economic variables, like GDP or price levels, tend to grow over time due to factors like population growth, capital accumulation, and technological progress. A linear trend in the model captures this underlying, steady long-run growth. Including it allows the VAR to focus on the business cycle-the fluctuations and wiggles *around* this long-term trend-which is often what we’re most interested in.
  • Seasonal Dummies: Many economic activities are seasonal. Retail sales spike in the fourth quarter (holiday shopping), agricultural output peaks after the harvest, and energy consumption rises in winter. Seasonal “dummy” variables are simple on/off switches (a ‘1’ for the fourth quarter and ‘0’ otherwise, for example) that capture these predictable spikes and dips. Including them prevents the model from misinterpreting a predictable Christmas shopping spree as a sudden, unexpected economic boom.

By including these deterministic components, you are “cleaning” your data, allowing the VAR model to focus on the true, dynamic relationships between your variables, free from these predictable distortions.

How far back should we look? The art of lag length selection

This is perhaps the most critical statistical decision in VAR specification. The “lag length” (usually denoted as `p`) determines how much “history” the model uses to predict the “present.” A VAR(1) model explains today’s values using only yesterday’s values. A VAR(4) model, common for quarterly data, explains today’s values using the values from the last four quarters (i.e., the past full year).

Choosing the lag length is a delicate balancing act, a trade-off between capturing enough information and avoiding noise. As econometric studies emphasize, this choice is crucial because all inference-all your conclusions-are based on getting it right.

The lag length trade-off

Here’s the core problem you need to solve:

  1. If your lag length (p) is too small: You fail to capture the full dynamics of the system. This is called misspecification. For example, if an interest rate hike takes six months to affect GDP, but your model only includes three months of lags, you’ll completely miss the relationship. The statistical signature of this problem is autocorrelation in the residuals. The “residuals” are the model’s errors-the part of the data it *couldn’t* explain. If these errors have a predictable pattern (e.g., a positive error is always followed by another positive error), it means your model missed something. It left predictable information on the table, and your results will be biased and unreliable.
  2. If your lag length (p) is too large: You start modeling random noise instead of the true economic signal. This is called overfitting. Your model becomes too complex, fitting the specific quirks of your particular dataset rather than the underlying economic structure. The model loses parsimony (simplicity) and, more practically, it “eats up” degrees of freedom. In simple terms, for every new lag you add, you have to estimate a whole new set of parameters for every variable. With a 4-variable system, adding one lag means adding 16 new parameters (4×4). This can make your estimates imprecise and your model unstable.

So, we need a “Goldilocks” lag length: just right. Not too short, not too long. How do we find it?

Meet the judges: AIC, SC, and HQC

We don’t have to guess. Econometricians have developed several “information criteria” that act as impartial judges. The most common are:

  • Akaike Information Criterion (AIC)
  • Schwartz Criterion (SC) (also called the Bayesian Information Criterion or BIC)
  • Hannan-Quinn Criterion (HQC)

You don’t need to know the complex formulas behind them, but you must understand what they do. Each of these criteria provides a single number that cleverly balances two opposing forces: model fit (how well the model explains the data) and model complexity (how many lags, or parameters, it uses). A good model explains the data well, but a *parsimonious* model does so using the fewest parameters possible.

The process is simple: you estimate your VAR model multiple times, starting with (for example) a maximum of 8 lags. You estimate it for `p=8`, `p=7`, `p=6`, and so on. For each model, you record the value of the AIC, SC, and HQC. The rule is to choose the lag length `p` that gives you the minimum value for the criterion you’ve chosen to follow. The SC/BIC tends to penalize complexity more heavily and often chooses a smaller, more parsimonious model, while the AIC is known to sometimes pick a larger model. Regardless of which you choose, these criteria provide a data-driven, objective way to navigate the trade-off. After selecting a lag length, the final step is to run a statistical test to ensure the residuals are, in fact, free of autocorrelation, confirming your model has captured the essential dynamics.

Putting it all together: Estimating the VAR model

You’ve done the hard preparatory work. You’ve chosen your variables based on theory, accounted for deterministic trends, and used information criteria to select the optimal lag length. Now, finally, it’s time to actually estimate the model-to find the specific numbers (the “coefficients”) that quantify the relationships between your variables.

Here’s the best part: despite the model’s apparent complexity, a VAR model can be estimated efficiently and simply using Ordinary Least Squares (OLS). You might remember OLS from basic statistics as the method used to draw the “best fit” line through a scatter plot. It turns out that because all the equations in the VAR share the exact same set of explanatory variables (the lagged values of all variables in the system), we can estimate the entire system by applying OLS to each equation individually. This is a huge simplification. Instead of trying to solve a massive, complicated system of equations all at once, you can just run OLS on the GDP equation, then run OLS on the price equation, and so on, one by one. This is known as “equation-by-equation OLS.”

And the results are fantastic. The estimators (the coefficients you get) from this process are consistent and unbiased (under the standard assumptions). “Unbiased” means that on average, your estimate will be correct. “Consistent” means that as you get more and more data, your estimates will converge to the true, underlying values of the parameters. What this means for an economist is that the results are *reliable*. You can trust the numbers.

Furthermore, under the assumption of normally distributed errors (a standard statistical assumption), we can use all the familiar tools of hypothesis testing. This is where the real insights come from. You can use standard t-tests to ask questions like: “Is the effect of last quarter’s interest rate on today’s GDP statistically different from zero?” You can use F-tests to ask bigger questions like: “Do *all* the lags of the money supply, taken together, have any useful information for forecasting inflation?” This ability to perform valid statistical tests is what elevates VAR from a simple forecasting tool to a powerful framework for structural economic analysis.

What do you think? If you were to build a VAR model to understand the housing market in your city, what “system” of variables do you think would be essential to include? And what kind of deterministic components would you be most concerned about?

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

References
  1. https://faculty.washington.edu/ezivot/econ584/notes/varModels.pdf
  2. https://epge.fgv.br/files/2204.pdf
  3. https://egyankosh.ac.in/bitstream/123456789/111195/1/Unit-10.pdf
  4. https://en.wikipedia.org/wiki/Vector_autoregression#Estimation

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Advanced Econometric Methods

1 Discrete Dependent Variable Models

  1. Introduction
  2. Qualitative Choice Analysis
  3. The Regression Approach
  4. The Latent Regression Approach
  5. The Probit Model
  6. The Logit Model
  7. Estimation and Inference

2 Censored and Truncated Regression Models

  1. Characteristics of Qualitative Response Models
  2. Tobit Model
  3. Truncated Regression Model
  4. Sample Selection Model
  5. Models with Multiple Choices

3 Autoregressive (AR) Models

  1. Structure of AR Models
  2. Reasons for Inclusion of Lags in AR Models
  3. Use of Lag Operator in AR Models
  4. Inter-temporal Effect of Shocks in AR Models
  5. Relevance of AR Models to Economic Theory
  6. Yule-Walker Equations in AR Models
  7. Estimation of Parameters of AR Model
  8. Use of AR Models in Financial Economics

4 Distributed Lag Models

  1. Distributed Lag Models
  2. Koyck Model
  3. Autoregressive Models
  4. A More General Dynamic Model
  5. Jorgenson’s Rational Lag Model
  6. Partial Adjustment Model
  7. Adaptive Expectations Model
  8. Interpretation of Coefficients
  9. Estimation and Inference

5 Estimation of System of Equations

  1. Seemingly Unrelated Regression Equations (SURE)
  2. Generalized Least Squares (GLS)
  3. Feasible Generalized Least Squares (FGLS)
  4. Maximum Likelihood Estimates
  5. Hypothesis Testing
  6. Treating Autocorrelation
  7. Interrelated Factor Demand

6 Introduction to Simultaneous Equations Models

  1. Simultaneous Equations Model (SEM)
  2. Structural Form and Reduced Form
  3. Identification Problem
  4. Order Condition
  5. Rank Condition
  6. General Structure of SEM
  7. Simultaneity Bias

7 Estimation of Simultaneous Equations Models

  1. Limited Information Systems
  2. Full Information Systems

8 Specification Issues of Time Series Data Models

  1. Stochastic Process
  2. Detection of Unit Root – Graphical Examination
  3. Detection of Unit Root – Statistical Tests
  4. The KPSS Test
  5. Test for Unit Root in the Presence of Structural Break
  6. Relations among Non-Stationary Series
  7. Limitations of Engle-Granger Test

9 Modelling Univariate Time Series

  1. Autoregressive Models
  2. Moving Average Models
  3. ARMA Models
  4. Integrated Processes and the ARIMA Models
  5. Box-Jenkins Methodology
  6. ARIMA Modelling in Software R

10 Vector Auto-Regression (VAR) Models

  1. Specification and Estimation of VAR
  2. Uses of VAR
  3. Innovation Accounting
  4. Vector Autoregression of Non-Stationary Data

11 Modelling Volatility

  1. The Autoregressive Conditional Heteroscedasticity (ARCH) Model
  2. Properties of the ARCH Model
  3. Test for ARCH Effects
  4. Generalized-ARCH (GARCH) Model
  5. Extensions of the GARCH Model

12 Introduction to Panel Data Models

  1. Introduction
  2. Panel Data Models
  3. Fixed Effects Model
  4. Random Effects Model
  5. Choice between Fixed Effects and Random Effects Models
  6. Hausman Test

13 Dynamic Panel Data Analysis

  1. Static Panel Data Model
  2. Specification of Dynamic Panel Data Model
  3. Estimation Methods of Dynamic Panel data Models
  4. Arellano-Bond Estimator
  5. System-GMM Method of Estimation
  6. Problems with the Arellano-Bond Approach
  7. Maximum Likelihood Estimator

14 Introduction to Generalised Method of Moments Estimation

  1. Need for Generalized Method of Moments
  2. Additional Moments Restrictions and Generalized Method of Moments
  3. Leading Example of GMM: IV Regression in Overidentified Models
  4. Variance Estimation and Optimal GMM
  5. Estimating Optimal GMM – Two-Step GMM Estimator
  6. Test of Overidentifying Restrictions