You are on page 1of 10

The Engle-Granger Technique for testing Cointegration

This is NOT done automatically in Eviews. First, run the cointegrating regression. Next, save the residuals. Finally, use the ADF test to determine whether the null of NO cointegration can be rejected. Note that all the issues concerning unit root testing apply here as well. In addition, however, one has to consider whether the constant, trend, or both are in the cointegrating vector and/or the error correction term. In the example below I look at whether US real GDP (from file us1.wf1) is cointegrated with the Treasury bill rate.

First, I open the equation consisting of LGDP and TBILL.

After estimating the equation, I save the residuals. This is the error correction term. Note that in the Engle-Granger framework you either have cointegration or you dont.

The Johansen Cointegration Test

In the present case one has to estimate a VAR. For this example, I add the log of M1 (LM1). Recall that cointegration, if it exists, presumes that two or more series have a unit root.

First, you need to estimate the VAR. All the considerations we discussed earlier (i.e., choice fof lag length) matter but the ORDER in which the variables enter does NOT, at least not at this stage. This issue matters later.

Now comes the difficult part. Deciding whether the cointegrating vector has a constant, trend, or both. Recall the point made earlier about what it means to have a trend, for example, in the cointegrating vector as opposed to the error correction model. The default in Eviews is usually a good choice but ultimately the choice depends on your priors, the nature of the data, and the particular hypotheses about the long-run that you wish to test.

The top portion of the outpu t tells you whether there is cointegration and the number of cointegrating vectors. Here one cannot reject the null of a single cointegrating vector using the TRACE test. We saw in class the differences between the TRACE and MAXIMAL EIGENVALUE tests. The latter can be evaluated from the column of eigenvalues provided.

Depending on how much cointegration there is, one has to look at estimates of the normalized cointegrating vector(s) to see estimates of the long-run relationship between the series. Here I deliberately chose real GDP as the dependent variable to see if there is a long-run link between money and output. However, if I were estimating a money demand function I would have set the (real) money supply as the first variable. Nevertheless, it is not necessary to re-estimate the VAR since Eviews provides the non-normalized estimates. To normalize on the appropriate dependent variable you simply have to divide the estimate by itself and estomates of the other coefficients in the cointegrating vector by the estimates of the dependent variable. In the above example Eviews automatically divides all the estimates by the one for LGDP.

The final step in the estimation process consists in estimating a vector error correction model. You need to select how the cointegrating vector is structured, the lag length for the dynamic terms in the VECM and the number of cointegrating vectors. To obtain this window, you click OBJECTS and then VECTOR ERROR CORRECTION in the VAR estimation window.

All VECM estimates will show estimates, standard errors and t-stats for the cointegrating vector(s) here it was assumed there is only 1 vector. The next picture shows the rest of the output which estimates the dynamic terms in the VECM (i.e., the lagged variables in first difference form).

You might also like