ArticleslgStudy

science

Vector autoregression

Vector autoregression is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Vector autoregression rather than just read about it. In short: Vector autoregression (VAR) is a statistical model used to capture the relationship between multiple quantities as they change over time. VAR is a type of stochastic process model.

Key takeaways

  • Vector autoregression belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Vector autoregression to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Vector autoregression from memory before moving on to harder problems.

Reference excerpt

Vector autoregression (VAR) is a statistical model used to capture the relationship between multiple quantities as they change over time. VAR is a type of stochastic process model. VAR models generalize the single-variable (univariate) autoregressive model by allowing for multivariate time series. VAR models are often used in economics and the natural sciences. Like the autoregressive model, each variable has an equation modelling its evolution over time. This equation includes the variable's lagged (past) values, the lagged values of the other variables in the model, and an error term. VAR models do not require as much knowledge about the forces influencing a variable as do structural models with simultaneous equations. The only prior knowledge required is a list of variables which can be hypothesized to affect each other over time.

Specification

Definition A VAR model describes the evolution of a set of k variables, called endogenous variables, over time. Each period of time is numbered, t = 1, ..., T. The variables are collected in a vector, yt, which is of length k. (Equivalently, this vector might be described as a (k × 1)-matrix.) The vector is modelled as a linear function of its previous value. The vector's components are referred to as yi,t, meaning the observation at time t of the i th variable. For example, if the first variable in the model measures the price of wheat over time, then y1,1998 would indicate the price of wheat in the year 1998. VAR models are characterized by their order, which refers to the number of earlier time periods the model will use. Continuing the above example, a 5th-order VAR would model each year's wheat price as a linear combination of the last five years of wheat prices. A lag is the value of a variable in a previous time period. So in general a pth-order VAR refers to a VAR model which includes lags for the last p time periods. A pth-order VAR is denoted "VAR(p)" and sometimes called "a VAR with p lags". A pth-order VAR model is written as

yt=c+A1yt−1+A2yt−2+⋯+Apyt−p+et, The variables of the form yt−i indicate that variable's value i time periods earlier and are called the "ith lag" of yt. The variable c is a k-vector of constants serving as the intercept of the model. Ai is a time-invariant (k × k)-matrix and et is a k-vector of error terms. The error terms must satisfy three conditions:

E(et)=0. Every error term has a mean of zero. E(etet′)=Ω. The contemporaneous covariance matrix of error terms is a k × k positive-semidefinite matrix denoted Ω. E(etet′−k′)=0 for any non-zero k. There is no correlation across time. In particular, there is no serial correlation in individual error terms. The process of choosing the maximum lag p in the VAR model requires special attention because inference is dependent on correctness of the selected lag order.

Order of integration of the variables Note that all variables have to be of the same order of integration, in which different approaches are needed. The following cases are distinct:

All the variables are I(0) (stationary): this is in the standard case, i.e. a VAR in level All the variables are I(d) (non-stationary) with d > 0: The variables are cointegrated: the error correction term has to be included in the VAR. The model becomes a Vector error correction model (VECM) which can be seen as a restricted VAR. The variables are not cointegrated: first, the variables have to be differenced d times and one has a VAR in difference.

Concise matrix notation One can stack the vectors in order to write a VAR(p) as a stochastic matrix difference equation, with a concise matrix notation:

Y=BZ+U

Example A VAR(1) in two variables can be written in matrix form (more compact notation) as

[y1,ty2,t]=[c1c2]+[a1,1a1,2a2,1a2,2][y1,t−1y2,t−1]+[e1,te2,t], (in which only a single A matrix appears because this example has a maximum lag p equal to 1), or, equivalently, as the following system of two equations

y1,t=c1+a1,1y1,t−1+a1,2y2,t−1+e1,t y2,t=c2+a2,1y1,t−1+a2,2y2,t−1+e2,t. Each variable in the model has one equation. The current (time t) observation of each variable depends on its own lagged values as well as on the lagged values of each other variable in the VAR.

Writing VAR(p) as VAR(1) A VAR with p lags can always be equivalently rewritten as a VAR with only one lag by appropriately redefining the dependent variable. The transformation amounts to stacking the lags of the VAR(p) variable in the new VAR(1) dependent variable and appending identities to complete the precise number of equations. For example, the VAR(2) model

yt=c+A1yt−1+A2yt−2+et can be recast as the VAR(1) model

[ytyt−1]=[c0]+[A1A2I0][yt−1yt−2]+[et0], where I is the identity matrix. The equivalent VAR(1) form is more convenient for analytical derivations and allows more compact statements.

Structural vs. reduced form

Structural VAR A structural VAR with p lags (sometimes abbreviated SVAR) is

B0yt=c0+B1yt−1+B2yt−2+⋯+Bpyt−p+ϵt, where c0 is a k × 1 vector of constants, Bi is a k × k matrix (for every i = 0, ..., p) and εt is a k × 1 vector of error terms. The main diagonal terms of the B0 matrix (the coefficients on the ith variable in the ith equation) are scaled to 1. The error terms εt (structural shocks) satisfy the conditions (1) - (3) in the definition above, with the particularity that all the elements in the off diagonal of the covariance matrix E(ϵtϵt′)=Σ are zero. That is, the structural shocks are uncorrelated. For example, a two variable structural VAR(1) is:

[1B0;1,2B0;2,11][y1,ty2,t]=[c0;1c0;2]+[B1;1,1B1;1,2B1;2,1B1;2,2][y1,t−1y2,t−1]+[ϵ1,tϵ2,t], where

Σ=E(ϵtϵt′)=[σ1200σ22]; that is, the variances of the structural shocks are denoted var(ϵi)=σi2 (i = 1, 2) and the covariance is cov(ϵ1,ϵ2)=0. Writing the first equation explicitly and passing y2,t to the right hand side one obtains

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Vector autoregression

Start with the simplest possible case. Write down what Vector autoregression claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Vector autoregression before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Vector autoregression ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Vector autoregression

In research
Vector autoregression appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Vector autoregression in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Vector autoregression is common in secondary-school and first-year university syllabi. It links to neighbouring topics Multivariate time series, Time series models, so understanding it makes those chapters shorter.
In everyday life
Look for Vector autoregression outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Vector autoregression” →

How to study Vector autoregression in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Vector autoregression means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Vector autoregression out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Vector autoregression in simple terms?

Vector autoregression (VAR) is a statistical model used to capture the relationship between multiple quantities as they change over time. VAR is a type of stochastic process model.

Why does Vector autoregression matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Vector autoregression?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Vector autoregression.

Tags

  • Multivariate time series
  • Time series models

Keep exploring