VAR and VEC Models
VAR and VEC Models
FINC7325
VAR and VECM Models
• If then Yt is stationary
• If then Yt is nonstationary
• If then Yt is nonstationary (unit root)
Spurious Correlation and Nonstationarity
• Spurious correlation is a strong relationship between two or
more variables that is not caused by a real underlying causal
relationship.
• Correlogram (ACF)
-stationary series: tails off quickly and falls inside the 95% Bartlett CI
-nonstationary series: tails off extremely slowly and remains significant even
at high lags.
Detection and test of nonstationarity
• Unit Root Test (Dickey and Fuller, 1979)
- Based on process Yt =Yt-1 +εt which is specific case of AR(1): Y t =φ1Yt-1 +εt
- If φ1=1, then Yt-> has a unit root, nonstationary
- The basic objective of the test is to test the null hypothesis that =1 in:
yt = yt-1 + εt
against the one-sided alternative < 1. So we have
H0: series contains a unit root/nonstationary
vs. H1: series is stationary.
We usually use the regression:
yt = δyt-1 + εt
so that a test of =1 is equivalent to a test of δ=0 (since -1=δ).
Detection and test of nonstationarity
• Augmented Dickey-Fuller test
-The tests above are only valid if εt is white noise. In particular, εt will be
autocorrelated if there was autocorrelation in the dependent variable of the
regression (yt) which we have not modelled. The solution is to “augment” the
test using p lags of the dependent variable. The alternative model in case (i) is
now written:
𝑝
Δ 𝑦 𝑡 =δ 𝑦 𝑡 −1 + ∑ 𝛼𝑖 Δ 𝑦 𝑡 − 𝑖 +𝑢𝑡
𝑖 =1
-The same critical values from the DF tables are used as before. A problem now
arises in determining the optimal number of lags of the dependent variable.
There are 2 ways
- use the frequency of the data to decide
- use information criteria
Use Mackinnon (1991) critical value
Testing for Higher Orders of Integration
• Consider the simple regression:
yt = δyt-1 + εt
We test H0: δ=0 vs. H1: δ<0.
• If H0 is rejected we simply conclude that yt does not contain a unit root.
• But what do we conclude if H0 is not rejected? The series contains a unit root, but
is that it? No! What if ytI(2)? We would still not have rejected. So we now need
to test
H0: ytI(2) vs. H1: ytI(1)
We would continue to test for a further unit root until we rejected H0.
• We now regress 2yt on yt-1 (plus lags of 2yt if necessary).
• Now we test H0: ytI(1) which is equivalent to H0: ytI(2).
‘
• So in this case, if we do not reject (unlikely), we conclude that yt is at least I(2). 11
The Phillips-Perron Test
• Phillips and Perron have developed a more comprehensive theory of unit root
nonstationarity. The tests are similar to ADF tests, but they incorporate an
automatic correction to the DF procedure to allow for autocorrelated and
heterokedasticity in residuals.
• The tests usually give the same conclusions as the ADF tests, and the calculation
of the test statistics is complex.
• One way to get around this is to use a stationarity test as well as the unit root
tests we have looked at.
13
Stationarity tests
• Stationarity tests have
H0: yt is stationary
versus H1: yt is non-stationary
So that by default under the null the data will appear stationary.
• One such stationarity test is the KPSS test (Kwaitowski, Phillips, Schmidt and Shin,
1992).
• Thus we can compare the results of these tests with the ADF/PP procedure to
see if we obtain the same conclusion.
• It is a right tail test, thus, reject null hypothesis if test statistic is larger than
critical values
14
Stationarity tests (cont’d)
• A Comparison
ADF / PP KPSS
H0: yt I(1) H0: yt I(0)
H1: yt I(0) H1: yt I(1)
• 4 possible outcomes
xt A1 xt 1 ut
xt ( A1 I ) xt 1 ut
xt 1 ut
xt
Where : ( A1 I )
Johansen ML Approach
• Where in a system of g variables:
Test Statistics
• There are two test statistics produced by the Johansen ML procedure.
• There are the Trace test and maximal Eigenvalue test.
• Both can be used to determine the number of cointegrating vectors
present, although they don’t always indicate the same number of
cointegrating vectors.
The Approach to Multivariate Cointegration and
VAR-VECMs
1) Test the variables for stationarity using the usual ADF tests.
2) If all the variables are I(1) or integrated at the same order
3) Use the AIC or SBIC to determine the number of lags in VAR (order of VAR)
4) Test for the cointegration-VEC (lag reduce by 1). Use the trace and maximal
eigenvalue tests to determine the number of cointegrating vectors present.
5) If no cointegration, run VAR at first difference. VECM is not required as the
variables are I(1)
6) If there is cointegration, assess the long-run β coefficients and the adjustment
α coefficients.
7) Produce the VECM for all the endogenous variables in the model and use it to
carry out Granger causality tests over the short and long run.
Long Run relationships
Granger Causality
• Granger causality is a circumstance in which one time-series
variable consistently and predictably changes before another
variable.
• Don’t be lured into thinking Granger causality proves
economic causality.
• If one variable precedes (“Granger causes”) another, we can’t
be sure the first variable “causes” the other to change.
• There are a number of different tests for Granger causality.
Granger Causality (continued)
• Expansion of test Granger originally suggested: Test if A
Granger-causes Y.
• First, estimate original model:
• Then test the null that the coefficients of lagged A’s are
jointly equal to zero with an F-test.
• If you reject the null, then A is said to Granger cause Y.
• You can run the test in other direction.
Short term Granger causality in VAR