You are on page 1of 136

Addis Ababa University

College of Business and Economics


Department of Economics
Econ 654: Research Methods and Applied Econometrics

2. Multivariate Time Series Analysis

Fantu Guta Chemrie (PhD)


F. Guta (CoBE) Econ 654 September, 2017 1 / 136
2. Multivariate Time Series Analysis
2.1 Dynamic Models with Stationary Variables
2.2 Models with Nonstationary Variables
2.2.1 Spurious Regressions
2.2.2 Cointegration
2.2.3 Cointegration and Error-correction Mechanisms

2.3 Vector Autoregressions (VARs)


2.3.1 Estimation
2.3.2 Restricted VARs
2.3.3 Single equation from a VAR
2.3.4 Testing for Omitted Serial Correlation
2.3.5 Selection of Lag Length in a VAR
F. Guta (CoBE) Econ 654 September, 2017 2 / 136
2.3 Vector Autoregressions (VARs) continued. . .
2.3.6 Granger Causality
2.3.7 Cointegration: the Multivariate case
2.3.8 Cointegrated VARs
2.3.9 Cointegration in a Bivariate VAR
2.3.10 Testing for Cointegration

F. Guta (CoBE) Econ 654 September, 2017 3 / 136


2. Multivariate Time Series Analysis

To apply standard estimation or testing procedures in a

dynamic time series model, it is typically required that the

various variables are stationary, since the majority of economic

theory is built upon the assumption of stationarity.

For example, regressing a non-stationary variable yt upon a

non-stationary variable xt may lead to the so-called spurious

regression, in which estimators and test statistics are

misleading.
F. Guta (CoBE) Econ 654 September, 2017 4 / 136
An important exception arises when two or more
I (1) variables are cointegrated, that is, if there
exists a particular linear combination of these
non-stationary variables that is stationary.
In such cases a long-run relationship between these
variables exists.
Often economic theory suggests the existence of
such long-run or equilibrium relationships.
The existence of a long-run relationship also has its
F. Guta (CoBE) Econ 654 September, 2017 5 / 136
implications for the short-run behavior of the I (1)
variables, because there also has to be some
mechanism that derives the variables to their
long-run equilibrium relationship.

This mechanism is modelled by an error correction


mechanism, in which the ‘equilibrium error’also
derives the short-run dynamics of the series.
Another starting point of multivariate time series
analysis is the multivariate generalization of the
F. Guta (CoBE) Econ 654 September, 2017 6 / 136
ARMA process where particular emphasis is placed
on vector autoregressive models.
The existence of cointegrating relationship between
variables in the VAR has important implications on
the way it can be estimated and represented.
This will be followed by discussion on how
hypothesis regarding the number of cointegrating
relationships can be tested and how an error
correction model representing the data can be
estimated.
F. Guta (CoBE) Econ 654 September, 2017 7 / 136
2.1 Dynamic Models with Stationary Variables

Considering an economic time series in isolation


and applying the techniques of univariate time
series may provide good forecasts in many cases.
However, it does not allow us to determine what
the e¤ects are of, for example, a change in policy
variable.
To do so, it is possible to include additional
variables in the model.
F. Guta (CoBE) Econ 654 September, 2017 8 / 136
Consider two stationary variables yt and xt , and
assume it holds that

yt = α + φyt 1 + θ 0 xt + θ 1 xt 1 + et (2.1.1)

If we assume that et is a white noise process,


independent of xt , xt 1, . . . and yt 1 , yt 2 , . . .the

above model is sometimes referred to as an


autoregressive distributed lag model.
To estimate it consistently, we can simply use
ordinary least squares.
F. Guta (CoBE) Econ 654 September, 2017 9 / 136
What is interesting in (2.1.1) is that it describes
the dynamic e¤ects of a change in xt upon current
and future values of yt .
Taking partial derivatives, we can derive that the
immediate response is given by

∂yt
= θ0 (2.1.2)
∂xt

Sometimes this is referred to as the impact


multiplier.

F. Guta (CoBE) Econ 654 September, 2017 10 / 136


The e¤ect after one period is
∂yt +1 ∂yt
=φ + θ 1 = φθ 0 + θ 1 (2.1.3)
∂xt ∂xt
and after two periods
∂yt +2 ∂yt +1
=φ = φ (φθ 0 + θ 1 ) (2.1.4)
∂xt ∂xt
and so on.

This shows that after the …rst period, the e¤ect is


decreasing if jφj < 1.
Imposing this so-called stability condition allows us
F. Guta (CoBE) Econ 654 September, 2017 11 / 136
to determine the long-run e¤ect of a unit change in
xt .
Thus, the long-run multiplier (or equilibrium
multiplier) is given by

θ 0 + (φθ 0 + θ 1 ) + φ (φθ 0 + θ 1 ) +
= θ 0 + 1 + φ + φ2 + (φθ 0 + θ 1 )
θ0 + θ1
= (2.1.5)
1 φ
If the increase in xt is permanent, the long-run
multiplier also has the interpretation of the
F. Guta (CoBE) Econ 654 September, 2017 12 / 136
expected long-run permanent increase in yt .

From (2.1.1) the long-run equilibrium relation

between yt and xt is given by (imposing

E (yt ) = E (yt 1) and E (xt ) = E (xt 1 )):

E (yt ) = α + φE (yt ) + θ 0 E (xt ) + θ 1 E (xt ) (2.1.6)

Or
α θ0 + θ1
E (yt ) = + E (xt ) (2.1.7)
1 φ 1 φ
F. Guta (CoBE) Econ 654 September, 2017 13 / 136
which represents an alternative derivation of the
long-run multiplier.

There is an alternative way to formulate the


autoregressive distributed lag model in (2.1.1).

Subtracting yt 1 from both sides of (2.1.1) and


some rewriting gives

∆yt = α + (φ 1) yt 1 + θ 0 ∆xt + (θ 0 + θ 1 ) xt 1 + et (2.1.8)

α θ0 + θ1
= θ 0 ∆xt (1 φ) yt 1 xt 1 + et
(1 φ) 1 φ

F. Guta (CoBE) Econ 654 September, 2017 14 / 136


This formulation is an example of an
error-correction model.
It says that the change in yt is due to the current
change in xt plus an error correction term.
If yt 1 is above the equilibrium value that
corresponds to xt 1, i.e., if the ‘equilibrium error’in
square brackets is positive, an additional negative
adjustment in yt is generated.
The speed of adjustment is determined by 1 φ,
which is the adjustment parameter.
F. Guta (CoBE) Econ 654 September, 2017 15 / 136
Assuming stability ensures that 1 φ > 0.
It is also possible to consistently estimate the
error-correction model by ordinary least squares as
the residual sum of squares that is minimized in
(2.1.8) is the same as that of (2.1.1), the resulting
estimates are numerically identical.
Both the autoregressive distributed lag model in
(2.1.1) and the error-correction model in (2.1.8)
assume that the value of xt can be treated as

F. Guta (CoBE) Econ 654 September, 2017 16 / 136


given, i.e., as being uncorrelated with the
equation’s error terms.

This is to say that (2.1.1) is appropriately


describing the expected value of yt given its own
history and conditional on current and lagged
values of xt .
If xt is simultaneously determined with yt and
E (xt et ) 6= 0, OLS in either (2.1.1) or (2.1.8) is
inconsistent.
F. Guta (CoBE) Econ 654 September, 2017 17 / 136
The solution in this case is to consider a bivariate
model for both xt and yt .

Special case of the model in (2.1.1) can be derived


from alternative models that have some economic
interpretation.

For example, if yt denotes the optimal or desired


level of yt and assume that

yt = β0 + β1 xt + η t (2.1.9)
F. Guta (CoBE) Econ 654 September, 2017 18 / 136
where η t is an error term independent of
xt , xt 1 , . . ..

The actual value of yt di¤ers from yt because


adjustment to its optimal level corresponding to xt
is not immediate.
Suppose the adjustment is partial in the sense that

yt yt 1 = (1 φ) (yt yt 1) (2.1.10)

where 0 < φ < 1.


F. Guta (CoBE) Econ 654 September, 2017 19 / 136
Substituting (2.1.9) we obtain

yt = yt 1 + (1 φ ) β0 + (1 φ ) β 1 xt (1 φ ) yt 1 + (1 φ) η t

= α + φ yt 1 + θ 0 xt + e t (2.1.11)

where α = (1 φ ) β0 , θ 0 = (1 φ) β1 and
et = (1 φ) η t .
This is a special case of (2.1.1) as it does not
include xt 1.

The model given by (2.1.9) and (2.1.10) is referred


to as a partial adjustment model.
F. Guta (CoBE) Econ 654 September, 2017 20 / 136
The autoregressive distributed lag model in (2.1.1)
can easily be generalized.
Restricting attention to two variables only, we can
write the general form as

φ (L) yt = α + θ (L) xt + et (2.1.12)

where

φ (L) = 1 φ1 L φ2 L2 φp Lp
θ (L) = θ 0 + θ 1 L + θ 2 L2 + + θ q Lq
F. Guta (CoBE) Econ 654 September, 2017 21 / 136
are two lag polynomials.

Note that the constant term in θ (L) is not


restricted to be one.

Assuming φ (L) is invertible, we can write

yt = φ 1 (1) α + φ 1 (L) θ (L) xt + φ 1 (L) et (2.1.13)

1
The coe¢ cients in the lag polynomial φ (L) θ (L)
describe the dynamic e¤ects of xt on current and
future values of yt .
F. Guta (CoBE) Econ 654 September, 2017 22 / 136
The long-run e¤ect of xt is obtained as
1 θ0 + θ1 + θ2 + + θq
φ ( 1) θ ( 1) = (2.1.14)
1 φ1 φ2 φp
which generalizes the results stated earlier.
Recall that invertibility of φ (L) requires that
φ1 + φ2 + + φp < 1, which guarantees that the
denominator in (2.1.14) is nonzero.
A special case arise if φ (L) = 1, so that the model
in (2.1.13) does not contain any lags of yt .
This is referred to as a distributed lag model.
F. Guta (CoBE) Econ 654 September, 2017 23 / 136
As long as it can be assumed that the error term et
is a white noise process, or more generally
stationary and independent of xt , xt 1, . . . and
yt 1 , yt 2 , . . ., the distributed lag modes can be
estimated consistently by ordinary least squares.
Problems may arise, however, if along with yt and
xt the implied et is also non-stationary.

2.2 Models with Nonstationary Variables


2.2.1 Spurious Regressions
F. Guta (CoBE) Econ 654 September, 2017 24 / 136
The assumption that yt and xt are stationary is
crucial for the properties of standard estimation
and testing procedures.
To show consistency of OLS estimators, for
example, we typically use the result that sample
(co)variances converge to population (co)variances
as the sample size becomes su¢ ciently large.
Unfortunately, when the series are Nonstationary
the (co)variances are ill-de…ned as the series does

F. Guta (CoBE) Econ 654 September, 2017 25 / 136


not ‡uctuate around a constant mean.
As an illustration, consider two variables, yt and xt ,
generated by two independent random walks,

yt = yt 1 + e1t , e1t N 0, σ21 (2.2.1)

xt = xt 1 + e2t , e2t N 0, σ22 (2.2.2)

where e1t and e2t are mutually independent.


There is nothing in this data generating mechanism
that leads to a relationship between yt and xt .
A researcher unfamiliar with these process may
F. Guta (CoBE) Econ 654 September, 2017 26 / 136
want to estimate a regression model explaining yt
by xt and a constant,

yt = α + βxt + et (2.2.3)

The results from this regression are likely to be


characterized by a fairly high R 2 statistic, highly
autocorrelated residuals and a signi…cant value for
β.
This phenomenon is the well-known problem of
nonsense or spurious regressions.
F. Guta (CoBE) Econ 654 September, 2017 27 / 136
Granger and Newbold argued that spurious
regressions are characterized by a high R 2 and a
low Durbin-Watson (DW ) statistic, the usual t-
and F -tests on the regression parameters may be
very misleading.
The reason being the distributions of the
conventional test statistics are very di¤erent from
those derived under the assumption of stationarity.
Granger and Newbold stated that R 2 > DW can

F. Guta (CoBE) Econ 654 September, 2017 28 / 136


be used as the simplest rule of thumb to identify a
spurious regression.

To illustrate the spurious regression result, two


series of size 200 are generated according to
(2.2.1) and (2.2.2) with normal error terms,
starting with y0 = x0 = 0 and setting σ21 = σ22 = 1.
The results of standard OLS regression of yt on xt
and a constant are as presented in the following
table.
F. Guta (CoBE) Econ 654 September, 2017 29 / 136
Table 2.1 Spurious Regression: OLS involving two
independent random Walks

F. Guta (CoBE) Econ 654 September, 2017 30 / 136


reasonable though the DW statistic is very low.

Estimation results like this should not be taken


seriously.
Because both yt and xt contain stochastic trend,
the OLS estimator tends to …nd a signi…cant
correlation between the two series, even if they are
unrelated.
The problem is that et is nonstationary.

2.2.2 Cointegration
F. Guta (CoBE) Econ 654 September, 2017 31 / 136
An important exception to the previous results
arises when the two nonstationary series have the
same stochastic trend in common.
Consider two series, integrated of order one, yt and
xt , and and suppose that a linear relationship
exists between them.
If there exist some value of β such that yt βxt is
I (0), although yt and xt are both I (1) , in such a
case it is said that yt and xt are cointegrated, and
that they share a common trend.
F. Guta (CoBE) Econ 654 September, 2017 32 / 136
The relevant asymptotic theory is nonstandard,
however, it can be shown that one can consistently
estimate β from an OLS regression of yt on xt as
in (2.2.3).
In this case, the OLS estimator b
β is said to be
super consistent for β, because it converges to β at
the rate faster than the conventional asymptotics.
p
In the standard case, T b β β is
p
asymptotically normal and we say that b β is T
consistent for β.
F. Guta (CoBE) Econ 654 September, 2017 33 / 136
p
In the cointegration case, T b
β β is
degenerate and the appropriate asymptotic
distribution is that of T b
β β .
Consequently, conventional inference procedures do
not apply.
If yt and xt are both I (1) and there exists a β such
that Zt = yt βxt is I (0), yt and xt are
cointegrated, with β being called the cointegrating
0
parameter, or, more generally, (1 β) being
called the cointegrating vector.
F. Guta (CoBE) Econ 654 September, 2017 34 / 136
When this occurs, a special constraint operates on
the long-run components of yt and xt .
Since both yt and xt are I (1), they will be
dominated by ‘long-wave’components, but Zt ,
being I (0), will not be: yt and βxt must therefore
have long-run components that virtually cancel out
to produce Zt .
This idea is related to the concept of a long-run
equilibrium.

F. Guta (CoBE) Econ 654 September, 2017 35 / 136


Suppose that such an equilibrium is de…ned by the
relationship
yt = α + βxt + et (2.2.4)

Then zt = Zt α is the ‘equilibrium error’, which


measures the extent to which the value of yt
deviates from its ‘equilibrium value’α + βxt .
If zt is I (0), the equilibrium error is stationary and
‡uctuating around zero.
Consequently, the system will, on average, be in
F. Guta (CoBE) Econ 654 September, 2017 36 / 136
equilibrium.

However, if yt and xt are not cointegrated and,


consequently zt is I (1) , the equilibrium error
wander widely and zero crossing would be very rare.
Under this circumstance, it does not make sense to
refer to yt = α + βxt as a long-run equilibrium.
Consequently, the presence of a cointegrating
vector can be interpreted as the presence of
long-run equilibrium relationship.
F. Guta (CoBE) Econ 654 September, 2017 37 / 136
From the discussion above, it is obvious that it is
important to distinguish cases where there is a
cointegrating relationship between yt and xt and
spurious regression cases.
Suppose we know that yt and xt are integrated of
order one, and suppose we estimate the
‘cointegrating regression’

yt = α + βxt + et (2.2.5)

If yt and xt are cointegrated, the error term in


F. Guta (CoBE) Econ 654 September, 2017 38 / 136
(2.2.5) is I (0). If not, et will be I (1).
Hence one can test for the presence of a
cointegrating relationship by testing for a unit root
in the OLS residuals et form (2.2.5).
To do so, one can run the regression

∆et = γ0 + γ1 et 1 + ut (2.2.6)

and test whether γ1 = 0 (a unit root).


There is, however, an additional complication in
testing for unit roots in OLS residuals rather than
F. Guta (CoBE) Econ 654 September, 2017 39 / 136
in observed time series.

Because the OLS estimator chooses the residuals in


the cointegrating regression (2.2.5) to have as
small a sample variance as possible, even if the
variables are not CI , the OLS estimator will make
the residuals look as stationary as possible.
Thus, using standard DF or ADF critical values,
we may reject the null hypothesis of nonstationary
too often.
F. Guta (CoBE) Econ 654 September, 2017 40 / 136
As a result, the appropriate critical values are more
negative than those for the standard Dickey-Fuller
tests.
For appropriate CVs see Davidson, R. and
Mackinnon, J.G., (1993), Estimation and Inference
in Econometrics, Oxford University Press, Oxford.
If et is not appropriately described by …rst order AR
process, one should add lagged values of ∆et in
(2.2.6), leading to the ADF test, with the same
asymptotic critical values.
F. Guta (CoBE) Econ 654 September, 2017 41 / 136
This test can be extended to test for cointegration
between three or more variables.
If more than one variable is included in the
cointegrating regression, the critical values shift
further to the left.
An alternative test for cointegration is based on the
usual Durbin-Watson statistic from (2.2.5).
Note that the presence of a unit root in et
asymptotically corresponds to a zero value of the
DW statistic.
F. Guta (CoBE) Econ 654 September, 2017 42 / 136
Under the null hypothesis of a unit root, the
appropriate test is whether DW is signi…cantly
larger than zero.
Unfortunately the critical values for this test,
commonly referred to as the CRDW test, depend
on the process that generated the data.
Nevertheless, the value of the DW statistic often
suggests the presence or absence of a cointegrating
relationship.

F. Guta (CoBE) Econ 654 September, 2017 43 / 136


Note that, when T goes to in…nity, and yt and xt
are not cointegrated, the DW statistic converges to
zero in probability.
Although the existence of a long-run relationship
between two variables is of interest, it may be even
more relevant to analyze the short-run properties of
the two series.
This can be done using the result that the presence
of a CR implies that there exists an ECM that

F. Guta (CoBE) Econ 654 September, 2017 44 / 136


describes the short-run dynamics consistently with
the long-run relationship.

2.2.3 Cointegration and Error-correction Mechanisms

The Granger representation theorem states that, if


a set of variables are cointegrated, then there exists
a valid error-correction representation of the data.
Thus, if yt and xt are both I (1) and have a CV
0
(1 β) , there exists an EC representation, with

F. Guta (CoBE) Econ 654 September, 2017 45 / 136


Zt = yt βxt , of the form

φ (L) ∆yt = δ + θ (L) ∆xt 1 γZt 1 + α ( L) e t (2.2.7)

where et is white noise and where φ (L), θ (L) and


α (L) are polynomials in the lag operator L (with
φ0 = 1).

Let us consider a special case of (2.2.7),

∆yt = δ + θ 1 ∆xt 1 γ (yt 1 βxt 1 ) + et (2.2.8)


F. Guta (CoBE) Econ 654 September, 2017 46 / 136
If yt and xt are both I (1) but have a long-run
relationship, there must be some force that pulls
the equilibrium error back towards zero.
The error-correction model does exactly this: it
describes how yt and xt behave in the short-run
consistent with the long-run cointegrating
relationship.
If the cointegrating parameter β is known, all terms
in (2.2.8) are I (0) and no inferential problems

F. Guta (CoBE) Econ 654 September, 2017 47 / 136


arise: we can estimate it by OLS in the usual way.
When ∆yt = ∆xt 1 = 0 we obtain the ‘no change’
steady state equilibrium

yt 1 βxt 1 = δ/γ (2.2.9)

which corresponds to (2.2.4) if α = δ/γ.

In this case the error-correction model can be

written as

∆yt = θ 1 ∆xt 1 γ (yt 1 α βxt 1 ) + et (2.2.10)


F. Guta (CoBE) Econ 654 September, 2017 48 / 136
If, however, the error-correction model (2.2.8)
contains a constant that equals δ = αγ + λ , with
λ 6= 0, this implies deterministic trends in both yt
and xt and the long-run equilibrium corresponds to
a steady state growth path with
∆yt = ∆xt 1 = λ/ (1 θ 1 ).
In some cases it makes sense to assume that the
cointegrating vector is known a priori.
If β is unknown, the cointegrating vector can be

F. Guta (CoBE) Econ 654 September, 2017 49 / 136


estimated (super) consistently from the
cointegrating regression (2.2.5).
p
Consequently, with the standard T asymptotics,
one can ignore the fact that β is estimated and
apply conventional theory to the estimation of
parameters in (2.2.7).
Note that the precise lag structure in (2.2.7) is not
speci…ed by the theorem, so we need to do some
speci…cation search.
F. Guta (CoBE) Econ 654 September, 2017 50 / 136
Moreover, the theory is symmetric in its treatment
of yt and xt , so that there should also exist an
error-correction representation with ∆xt as the
left-hand side variable.
Because at least one of the variables has to adjust
to deviations from the long-run equilibrium, at least
one of the adjustment parameters γ in the two
error-correction equations has to be nonzero.
If xt does not adjust to the equilibrium error (has

F. Guta (CoBE) Econ 654 September, 2017 51 / 136


zero adjustment parameter), it is weakly exogenous
for β.

This means that we can include ∆xt in the


right-hand side of (2.2.8) without a¤ecting the
error-correction term γ (yt 1 βxt 1 ).

That is, we can condition upon xt in the


error-correction model for yt .
The representation theorem also holds conversely,
i.e., if yt and xt are both I (1) and have an
F. Guta (CoBE) Econ 654 September, 2017 52 / 136
error-correction representation, then they are
necessarily cointegrated.

Note that the concept of cointegration can be


applied to (nonstationary) integrated time series
only.
If yt and xt are both I (0), the generating process
can always be written in an error-correction form.

2.3 Vector Autoregressions (VARs)

The ARMA models can readily be extended to the


F. Guta (CoBE) Econ 654 September, 2017 53 / 136
multivariate case, in which the stochastic process
that generates the vector of time series variables is
modelled.

The most common approach is to consider a vector


autoregressive (VAR) model.
A VAR describes the dynamic evolution of a
number of variables from their common history.
A multivariate time series yt is a m 1 vector
process.
F. Guta (CoBE) Econ 654 September, 2017 54 / 136
Let Ft 1 = fyt 1 , yt 2 , . . .g be all lagged
information at time t.
The typical goal is to …nd the conditional
expectation E ( yt j Ft 1 ).

Note that since yt is a vector, this conditional


expectation is also a vector.
A VAR model speci…es that the conditional mean is
a function of only a …nite number of lags:

E ( yt j Ft 1) = E ( yt j yt 1 , . . . , yt k)

F. Guta (CoBE) Econ 654 September, 2017 55 / 136


A linear VAR speci…es that this conditional mean is

linear in the arguments:

E ( yt j yt 1 , . . . , yt k ) = a0 + A1 yt 1 + A2 yt 2

+ + Ak yt k (2.3.1)

where a0 is m 1, and each of A1 through Ak are


m m matrices.
De…ning the m 1 regression error

et = yt E ( yt j Ft 1) (2.3.2)
F. Guta (CoBE) Econ 654 September, 2017 56 / 136
we have the VAR model

yt = a0 + A1 yt 1 + A2 yt 2 + + Ak yt k + et (2.3.3)

E ( et j Ft 1) =0

As in the univariate case, we can use the lag


operator to de…ne a matrix lag polynomial and
write the VAR model in (2.3.3) as

A (L) yt = a0 + et (2.3.4)

where A (L) = Im A1 L A2 L2 Ak Lk and


F. Guta (CoBE) Econ 654 September, 2017 57 / 136
Im is an m-dimensional identity matrix.
Extensions to vectorial ARMA (VARMA) model is
obtained by premultiplying et with a (matrix) lag
polynomial.
The advantage of considering the components
simultaneously include that the model may be more
parsimonious and includes fewer lags, and that
more accurate forecasting is possible, because the
information set is extended also to include the
history of the other variables.
F. Guta (CoBE) Econ 654 September, 2017 58 / 136
From a di¤erent perspective, Sims(1980) has
advocated the use of VAR models instead of
structural simultaneous models because the
distinction between endogenous and exogenous
variables does not have to be made a priori, and
‘arbitrary’constraints to ensure identi…cation are
not required.
Like a reduced form, a VAR is always identi…ed.
The unconditional expected value of yt can be

F. Guta (CoBE) Econ 654 September, 2017 59 / 136


determined if we impose stationarity and the
elements of the vector error term are a white noise
process as follows:

E (yt ) = a0 + A1 E (yt ) + A2 E (yt ) + + Ak E (yt )


1
or E (yt ) = (Im A1 A2 Ak ) a0 .
This shows that stationarity will require that the
m m matrix A(1) is invertible.
Alternatively the VAR model in (2.3.3) can be
written as, de…ning the (mk + 1) 1 vector
F. Guta (CoBE) Econ 654 September, 2017 60 / 136
0
xt = 1 yt0 1 yt0 2 yt0 k
and the m (mk + 1) matrix

A= a0 A1 A2 Ak

then
yt = Axt + et

The VAR model is a system of m equations.


One way to write this is to let aj0 be the j th row of
A.
Then the VAR system can be written as the
F. Guta (CoBE) Econ 654 September, 2017 61 / 136
equations
yjt = aj0 xt + ejt

Unrestricted VARs were introduced to econometrics


by Sims (1980).
If A(L) in (2.3.4) is invertible, it means that we
can write the VAR model as a VMA model by
premultiplying by A 1 (L).

yt = A 1 (1)a0 + A 1 (L)et = µ+A 1 (L)et

This describes each element in yt as a weighted


F. Guta (CoBE) Econ 654 September, 2017 62 / 136
sum of current and past shocks in the system.

Writing A 1 (L) = Im + B1 L + B2 L2 + , we have

yt = µ+et + B1 et 1 + B2 et 2 +

If the vector error term et increases by a vector δ,


the e¤ect upon yt +s (s > 0) is given by Bs δ.
Thus the matrix
∂yt +s
Bs =
∂et0
has the interpretation that its (i, j ) element
F. Guta (CoBE) Econ 654 September, 2017 63 / 136
measures the e¤ect of a one-unit increase in ejt
upon yi,t +s .

If only the …rst element e1t of et changes, the


e¤ects are given by the …rst column of Bs .
The dynamic e¤ects upon the i th variable of such a
one-unit increase are given by the elements in the
…rst column and i th row of Im , B1 , B2 , . . ..
A plot of these elements as a function of s is called
the impulse-response function.
F. Guta (CoBE) Econ 654 September, 2017 64 / 136
It measures the response of an increase in yi,t +s to
an impulse in y1t , keeping constant all other
variables dated t and before.

2.3.1 Estimation

Consider the moment conditions

E (xt ejt ) = 0, j = 1, 2, . . . , m

These are implied by the VAR model, either as a


regression, or, as a linear projection.
The GMM estimator corresponding to these
F. Guta (CoBE) Econ 654 September, 2017 65 / 136
moment conditions is equation by equation OLS
estimator given by

1
aj = (X 0 X )
b X 0 yj

where
0 1
x10
B C
B C
B x20 C
X =B
B
C
.. C [T (mk + 1)] matrix
B . C
@ A
0
xT

F. Guta (CoBE) Econ 654 September, 2017 66 / 136


and an alternative to compute this is as follows.
Note that
1
aj0 = yj0 X (X 0 X )
b

b we
and if we stack these to create the estimator A,
…nd
0 1
y10
B C
B C
B y20 C 1 1
b=B
A C X (X 0 X ) = Y 0 X (X 0 X )
B .. C
B . C
@ A
0
ym
F. Guta (CoBE) Econ 654 September, 2017 67 / 136
where Y = (y1 y2 ym ) is the T m matrix
of the stacked yt0 .

This (system) estimator is known as the SUR


(Seemingly Unrelated Regressions) estimator, and
was originally derived by Zellner (1962).

2.3.2 Restricted VARs

The unrestricted VAR is a system of m equations,


each with the same set of regressors.
A restricted VAR imposes restrictions on the system.
F. Guta (CoBE) Econ 654 September, 2017 68 / 136
For example, some regressors may be excluded
from some of the equations.
Restrictions may be imposed on individual
equations, or across equations.
The GMM framework gives a convenient method
to impose such restrictions on estimation.

2.3.3 Single equation from a VAR

Often, we are only interested in a single equation


out of a VAR system.
F. Guta (CoBE) Econ 654 September, 2017 69 / 136
This takes the form

yjt = aj0 xt + ejt

and xt consists of lagged values of yjt and the other


ylt ’s.

In this case, it is convenient to re-de…ne the


variables as follows.
Let yt = yjt and zt be the other variables. Let
et = ejt , and β = aj .
F. Guta (CoBE) Econ 654 September, 2017 70 / 136
Then the single equation takes the form

yt = xt0 β + et (2.3.5)
0
and xt = 1 yt 1 yt k zt0 1 zt0 k .

This is just a conventional regression with time


series data.

2.3.4 Testing for Omitted Serial Correlation

Consider the problem of testing for omitted serial


correlation in equation (2.3.5).
F. Guta (CoBE) Econ 654 September, 2017 71 / 136
Suppose that et is an AR (1). Then

yt = xt0 β + et (2.3.6)
et = θet 1 + ut , E ( ut j Ft 1) =0

Then the null and the alternative hypothesis are

H0 : θ = 0 and H1 : θ 6= 0

Take the equation yt = xt0 β + et , and subtract o¤


the equation once lagged multiplied by θ, to get
F. Guta (CoBE) Econ 654 September, 2017 72 / 136
yt θyt 1 = xt0 β + et θ (xt0 1β + et 1 )
= xt0 β θxt0 1β + et θet 1

Or yt = θyt 1 + xt0 β + xt0 1 γ + ut (2.3.7)

which is a valid regression model.


So testing H0 versus H1 is equivalent to testing for
the signi…cance of adding (yt 1 , xt 1 ) to the
regression.
This can be done by a Wald test.
You may recall of the Durbin Watson’s test for
F. Guta (CoBE) Econ 654 September, 2017 73 / 136
omitted serial correlation, which once was very
popular, and still routinely reported by conventional
regression packages.

The DW test is appropriate only when


yt = xt0 β + et , regression is not dynamic (has no
lagged values on the RHS), and et is
i.i.d.N (0, σ2 ). Otherwise it is invalid.
Another interesting fact is that (2.3.6) is a special
case of (2.3.7), under the restriction γ = θβ.
F. Guta (CoBE) Econ 654 September, 2017 74 / 136
This restriction, which is called a common factor
restriction, may be tested if desired.
If valid, the model (2.3.6) may be estimated by
iterated GLS.
A simple version of this estimator is called
Cochrane-Orcutt.
Since the common factor restriction appears
arbitrary, and is typically rejected empirically, direct
estimation of (2.3.6) is uncommon in recent
applications.
F. Guta (CoBE) Econ 654 September, 2017 75 / 136
2.3.5 Selection of Lag Length in a VAR

If you want a data-dependent rule to pick the lag


length k in a VAR, you may either use a testing
based approach (using, for example, the Wald
statistic), or an information criterion approach.

The formula for AIC and BI C are

b (k ) + 2p b (k ) + p log T
AIC (k ) = log det Ω , BIC (k ) = log det Ω
T T
T
1
b (k ) =

T ∑ bet (k ) bet0 (k ) ; p = m (mk + 1)
t =1

F. Guta (CoBE) Econ 654 September, 2017 76 / 136


where p is the number of parameters in the model,
and b
et (k ) is the OLS residual vector from the
model with k lags.
The log determinant is the criterion from the
multivariate normal likelihood.

2.3.6 Granger Causality

Partition the data vector into (yt , zt ).


De…ne the two information sets

F1,t = fyt , yt 1 , . . .g ; F2,t = fyt , zt , yt 1 , zt 1 , . . .g


F. Guta (CoBE) Econ 654 September, 2017 77 / 136
The information set F1,t is generated only by the
history of yt , and the information set F2,t is
generated by both yt and zt .
The latter has more information.
We say that zt does not Granger-cause yt , if

E ( yt j F1,t 1) = E ( yt j F2,t 1 )

That is, conditional on information in lagged yt ,


lagged zt does not help to forecast yt .
If this condition does not hold, then we say that zt
F. Guta (CoBE) Econ 654 September, 2017 78 / 136
Granger-cause yt .

The reason why we call this “Granger-Causality”


rather than “Causality” is because this is not
physical or structure de…nition of causality.
If zt is some sort of forecast of the future, such as
future prices, then zt may help to forecast yt even
though it does not “cause” yt .
This de…nition of causality is due to Granger
(1969) and Sims (1972).
F. Guta (CoBE) Econ 654 September, 2017 79 / 136
In a linear VAR, the equation for yt is

yt = α + ρ1 yt 1 + + ρ1 yt k + zt0 1 γ1 + + zt0 k γk + et

In this equation zt does not Granger-cause yt if and


only if

H0 : γ1 = = γk = 0 hold

This may be tested using an exclusion (Wald) test.


This idea can be applied to blocks of variables.
That is, yt and/or zt can be vectors.
F. Guta (CoBE) Econ 654 September, 2017 80 / 136
The hypothesis can be tested using the appropriate
multivariate Wald test.
If it is found that zt does not Granger-cause yt ,
then we deduce that our time-series model of
E ( yt j F1,t 1) does not require the use of zt .
Note, however, that zt may still be useful to explain
other feature of yt , such as the conditional variance.

2.3.7 Cointegration: the Multivariate case

The idea of cointegration is due to Granger (1981),


F. Guta (CoBE) Econ 654 September, 2017 81 / 136
and was articulated in detail by Engle and Granger
(1987).
De…nition
2.3.1 The m 1 series yt is cointegrated if yt is
I (1) yet there exists β, m r, of rank r, such that
zt = β0 yt is I(0). The r vectors in β are called the
cointegrating vectors.

If the series is not cointegrated, then r = 0.


If r = m, then yt is I (0).
F. Guta (CoBE) Econ 654 September, 2017 82 / 136
For 0 < r < m, yt is I (1) and cointegrated.
In some cases, it may be believed that β is known a
0
priori. Often β = (1 1) .
For example, if yt is a pair of interest rates, then
0
β = (1 1) speci…es that the spread (the
di¤erence in returns) is stationary.
0
If y = log consumption log income , then
0
β = (1 1) speci…es that
log (consumption/income) is stationary.
F. Guta (CoBE) Econ 654 September, 2017 83 / 136
In other cases, β may not be known.
If yt is cointegrated with a single cointegrating
vector (r = 1), then it turns out that β can be
consistently estimated by an OLS regression of one
component of yt on the others.
0 0
Thus yt = (y1t y2t ) and β = ( β1 β2 ) and
normalize β1 = 1.
p
Then b
1
β2 = (y20 y2 ) y20 y1 ! β2 .
Furthermore, this estimation is super-consistent:
F. Guta (CoBE) Econ 654 September, 2017 84 / 136
d
T b
β2 β2 ! Limit distribution, as …rst shown
by Stock (1987).
This is not, in general, a good method to estimate
β, but it is useful in the construction of alternative
estimators and tests.
We are often interested in testing the null
hypothesis of no cointegration:

H0 : r = 0
H1 : r > 0
F. Guta (CoBE) Econ 654 September, 2017 85 / 136
Suppose that β is known, so that zt = β0 yt is
known.
Then under H0 zt is I (1) , yet under H1 zt is I (0).
Thus H0 can be tested using a univariate ADF test
on zt .
When β is unknown, Engle and Granger (1987)
suggested using ADF test on the estimated
0
zt = b
residuals b β yt , from OLS of y1t on y2t .
Their justi…cation was Stock’s result that b
β is
super-consistent under H1 .
F. Guta (CoBE) Econ 654 September, 2017 86 / 136
Under H0 , however, b
β is not consistent, so the
ADF critical values are not appropriate.
The asymptotic distribution was worked out by
Phillips and Ouliaries (1990).
When the data have time trends, it may be
necessary to include a time trend in the estimated
cointegrating regression.
Whether or not the time trend is included, the
asymptotic distribution of the test is a¤ected by
the presence of the time trend.
F. Guta (CoBE) Econ 654 September, 2017 87 / 136
The asymptotic distribution was worked out in B.
Hansen (1992).

2.3.8 Cointegrated VARs

We can write a VAR as

A (L) yt = et
A (L) = I A1 L A2 L2 Ak Lk

Or alternatively as

∆yt = Πyt 1 + D (L) ∆yt 1 + et


F. Guta (CoBE) Econ 654 September, 2017 88 / 136
where Π = A (1) = I A1 A2 Ak .

Theorem
2.3.1 Granger Representation Theorem: yt is
cointegrated with (m r ) β if and only if
rank (Π) = r and Π = αβ0 where α is m r,
rank (α) = r.

Thus cointegration imposes a restriction upon the


parameters of a VAR.

F. Guta (CoBE) Econ 654 September, 2017 89 / 136


The restricted model can be written as

∆yt = αβ0 yt 1 + D (L) ∆yt 1 + et


= αzt 1 + D (L) ∆yt 1 + et (2.3.8)

If β is known, this can be estimated by OLS of ∆yt


on zt 1 and the lags of ∆yt .
If β is unknown, then estimation is done by
“reduced rank regression”, which is least-squares
subject to the stated restriction.
Equivalently, this is the MLE of the restricted
F. Guta (CoBE) Econ 654 September, 2017 90 / 136
parameters under the assumption that et is
i.i.d.N (0, Ω).
The linear combinations β0 yt 1 represent the r
cointegrating relationships.
The coe¢ cients in α measure how the elements in
∆yt are adjusted to the r ‘equilibrium errors’
zt 1 = β0 yt 1 .
Thus, (2.3.8) is a generalization of (2.2.8) and is
referred to as a vector error-correction model
(VECM ).
F. Guta (CoBE) Econ 654 September, 2017 91 / 136
One di¢ culty is that β is not identi…ed without
normalization.
When r = 1, we typically just normalize one
element to equal to unity.
When r > 1, this does not work, and di¤erent
authors have adopted di¤erent identi…cation
schemes.
In the context of a cointegrated VAR estimated by
reduced rank regression, it is simple to test for
F. Guta (CoBE) Econ 654 September, 2017 92 / 136
cointegration by testing the rank of Π.

These tests are constructed as likelihood ratio (LR )


tests.
As they were discovered by Johansen
(1988, 1991, 1995), they are typically called the
“Johansen Max and Trace” tests.
Their asymptotic distributions are non-standard,
are similar to the Dickey-Fuller distributions.

2.3.9 Cointegration in a Bivariate VAR


F. Guta (CoBE) Econ 654 September, 2017 93 / 136
Consider the case where m = 2.
In this case the number of cointegrating vectors
may be zero or one (r = 0, 1).
Let us consider a …rst-order (nonstationary) VAR
0
for yt = yt xt . That is,
0 1 0 10 1 0 1
y a a y e1t
@ t A = @ 11 12 A @ t 1
A+@ A
xt a21 a22 xt 1 e2t

where, for simplicity, we dropped the intercept


terms.
F. Guta (CoBE) Econ 654 September, 2017 94 / 136
The matrix Π is given by
0 1
a11 1 a12
Π= A ( 1) = @ A
a21 a22 1
This matrix is a zero matrix if a11 = a22 = 1 and
a12 = a21 = 0.
This corresponds to the case where yt and xt are
two random walks.
The matrix Π has reduced rank if

(a11 1) (a22 1) a12 a21 = 0 (2.3.9)


F. Guta (CoBE) Econ 654 September, 2017 95 / 136
If the is the case,β0 = a11 1 a12 is a
cointegrating vector (where we have chosen an
arbitrary normalization) and we write
0 1
1
Π = αβ0 = @ A a11 1 a12
a21 / (a11 1)

Using this, we can write the model in an


error-correction form.
First, write

F. Guta (CoBE) Econ 654 September, 2017 96 / 136


0 1 0 1 0 10 1 0 1
B yt C B yt 1 C B a11 1 a12 C B yt 1 C B e1t C
B C=B C+B CB C+B C
@ A @ A @ A@ A @ A
xt xt 1 a21 a22 1 xt 1 e2t

Next, we write this as


0 1 0 1 0 1
B ∆y t C B 1 C B e1t C
B C=B C +B C (2.3.10)
@ A @ A (a11 1 ) yt 1 a 12 xt 1 @ A
∆x t a 21 / (a 11 1) e2t

The error-correction form is thus quite simple, as it


excludes any dynamics.
Note that both yt and xt adjust to the equilibrium
error, because a21 = 0 is excluded.
Also note that a21 = 0 would imply a11 = a22 = 1
F. Guta (CoBE) Econ 654 September, 2017 97 / 136
and no cointegration.

The fact that the linear combination


zt = (a11 1) yt + a12 xt is I (0) also follows from
this result.
Note that we can write
0 1 0 1
B 1 C B e1t C
∆zt = B C zt 1 + B C
a11 1 a12 @ A a11 1 a12 @ A
a21 / (a11 1) e2t

or using (2.3.9)

zt = zt 1 + (a11 1 + a22 1) zt 1 + νt = (a11 + a22 1) zt 1 + νt

F. Guta (CoBE) Econ 654 September, 2017 98 / 136


where νt = (a11 1) e1t + a12 e2t is a white noise
error term.

Consequently, zt is described by a stationary AR (1)


process unless a11 = 1 and a22 = 1, which is
excluded.

2.3.10 Testing for Cointegration

If it is known that there exists at most one cointegrating

vector, a simple approach to testing for the existence of

cointegration is the Engle-Granger two-step approach.


F. Guta (CoBE) Econ 654 September, 2017 99 / 136
This requires running a regression of y1t (being the
…rst element of yt ) on the other m 1 variables
y2t , y3t , . . . , ymt and testing for a unit root in the
residuals.
This can be done using the ADF test on the OLS
residuals, applying appropriate critical values.
If the unit root hypothesis is rejected, the
hypothesis of no cointegration is also rejected.
In this case the static regression gives consistent
F. Guta (CoBE) Econ 654 September, 2017 100 / 136
estimates of the cointegrating vector, while in the
second stage the error-correction model can be
estimated using the estimated cointegrating vector
from the …rst stage.

There are some problems with this Engle-Granger


approach.

1). The results of the tests are sensitive to the


left-hand side variable of the regression, i.e., to the
normalization applied to the cointegrating vector.
F. Guta (CoBE) Econ 654 September, 2017 101 / 136
2). If the cointegrating vector happens not to involve
y1t , but only y2t , y3t , . . . , ymt , the test is not
appropriate and the cointegrating vector will not be
consistently estimated by the regression of y1t on
y2t , y3t , . . . , ymt .
3). The residual based test tends to lack power because
it does not exploit all the available information
about the dynamic interactions of the variables.

F. Guta (CoBE) Econ 654 September, 2017 102 / 136


4). It is possible that more than one cointegrating
relationship exists between the variables
y1t , y2t , . . . , ymt .

If, for example, two distinct cointegrating


relationships exist, OLS typically estimates a linear
combination of them.
Fortunately, as the null hypothesis for the
cointegration tests is that there is no cointegration,
the tests are still appropriate for this purpose.
F. Guta (CoBE) Econ 654 September, 2017 103 / 136
An alternative approach that does not su¤er from
these drawbacks was proposed by Johansen (1988),
who developed the maximum likelihood estimation
procedure that also allows one to test for the
number of cointegrating relationships.
Johansen’s Maximum Likelihood Approach:

Based upon VARs: k th order VAR in an (m 1)


0
vector yt = y1t ymt , t = 1, 2, . . . , T .

yt = a0 + A1 yt 1 + A2 yt 2 + + Ak yt k + et (2.3.11)
F. Guta (CoBE) Econ 654 September, 2017 104 / 136
where et IN (0, Σ).

Normality assumption is critical for Johansen’s


approach and let each yi,t I (1) [yt I (1)].

If we formulate equation (2.3.11) as a VAR in …rst


di¤erences

∆yt = a0 + Γ1 ∆yt 1 + + Γk 1 ∆yt k +1 Πyt 1 + et (2.3.12)

where Γj = Aj +1 + + Ak , j = 1, 2, . . . , k 1 and

Π = (Im A1 A2 Ak ).
F. Guta (CoBE) Econ 654 September, 2017 105 / 136
We need Πyt 1 to be I (0) for this formulation to
be sensible, i.e., de…nes linear combination of I (1)
process to give I (0) process.

∆yt = a0 + Γ1 ∆yt 1 + + Γk 1 ∆yt k +1 Πyt 1 + et (2.3.13)

where yt I (1) and et IN (0, Σ).

For this to be sensible Π = (Im A1 A2 Ak ) is

of rank say r < m as Πyt 1 is taking linear


combinations of the vector yt 1 to make Πyt 1 I (0).
F. Guta (CoBE) Econ 654 September, 2017 106 / 136
These linear combinations of I (1) variables are
identi…ed with cointegrating relationships among
the I (1) variables.
Johansen represents the hypothesis that
rank (Π) = r < m as

H0 : Π = αβ0

where both α and β are (m r ) matrices (r < m),


then Πyt 1 = αβ0 yt 1 .
Interpretations of α and β: r rows of β0 are the r
F. Guta (CoBE) Econ 654 September, 2017 107 / 136
cointegrating vectors such that they de…ne r linear
combinations of the m components of the vector
yt 1 that give I (0).

The elements of the (m r ) matrix α represent


the weights (loading) of the r cointegrating vectors
in each of the m equations.

Example
Consider the case where m = 3 and r = 2.

F. Guta (CoBE) Econ 654 September, 2017 108 / 136


Example
2 3 0 1
6 α11 α12 7 2 3
B y1t 1 C
6 7 B C
6 7 6 β11 β12 β13 7B C
Πyt 1 = αβ0 yt 1 =6
6 α21
76
α22 7 4
7B
5 B y2t 1
C
C
6 7 B C
4 5 β21 β22 β23 @ A
α31 α32 y3t 1

The 1st row of β0 yt 1 is |β11 y1t 1 + β12 y2t


{z
1 + β13 y3t 1
}
I (0 )
ECM 1
is a cointegrating vector.
The 2nd row of β0 yt 1 is |β21 y1t 1 + β22 y2t
{z
1 + β23 y3t 1
}
I (0 )
ECM 2
is also a cointegrating vector.
2 3
6 α11 α12 7 2 3
6 7
6 7 6 ECM 1 7
Πyt 1 = αβ0 yt 1 =6
6 α21
76
α22 7 4
7
5 (2.3.14)
6 7
4 5 ECM 2
α31 α32 | {z }
I (0 )
F. Guta (CoBE) Econ 654 September, 2017 109 / 136
Thus, using (2.3.14) the 1st equation of error
correction model can now be written as,
+ α11 ECM1 α12 ECM2 .
The Johansen’s approach enables to:

– determine the number of cointegrating vectors, r.


– estimate the cointegrating vectors.
Estimation of Π proceeds by ML

Suppose we have the k th order VAR represented as


in an error correction of the form
F. Guta (CoBE) Econ 654 September, 2017 110 / 136
∆yt = a0 + Γ1 ∆yt 1 + + Γk 1 ∆yt k +1 Πyt 1 + et (2.3.15)

Given et IN (0, Σ), we can write the likelihood


function corresponding to equation [2.3.15] by
concentrating with respect to Γ1 , ..., Γk 1.

This can be done by regressions of ∆yt and yt 1

each in turn on ∆yt 1 , ..., ∆yt k +1 gives (m 1)


vector of residuals labelled by r0t , r1t , respectively.
De…ne residual product moment matrices as
1
∑t =1 rit rjt0
T
Sij = ; i, j = 0, 1
T
F. Guta (CoBE) Econ 654 September, 2017 111 / 136
This gives S00 , S11 , S10 , S01 .
The concentrated likelihood function corresponds
to the regression

r0t = αβ0 r1t + et

For a …xed matrix β, we can solve for α by


regressing r0t on β0 r1t and obtain
1
b
α ( β) = S01 β β0 S11 β and
1
b ( β) = S00
Σ S01 β β0 S11 β β0 S10 and Johansen
demonstrated that maximizing the likelihood
F. Guta (CoBE) Econ 654 September, 2017 112 / 136
b ( β) with respect to
is obtained by minimizing Σ
β, this in turn apparently related to solving the
eigenvalues, i.e., solve

λS11 S10 S001 S01 = 0

That is, …nd λ (m eigenvalues) or (Characteristic


b1 > λ
roots), ordered so that λ b2 > b m > 0.

With these eigenvalues, there are m corresponding
h i
b
eigenvectors V = b v1 b
v2 vm normalized
b
b 0 S11 V
so that V b = I.
F. Guta (CoBE) Econ 654 September, 2017 113 / 136
Johansen’s estimation presumes knowledge of r
(the number of cointegrating relations) but has two
advantages relative to Engle-Granger:

allows r 1: non-uniqueness of the cointegrating


vectors
provides a framework (ML based ) for testing the
number r of cointegrating vectors.

Recall that ML estimation involves getting m


b1 > λ
eigenvalues λ b2 > b m > 0.

F. Guta (CoBE) Econ 654 September, 2017 114 / 136
These are used directly in testing the dimension r.

Johansen suggested two tests:

i). based on testing the (m r ) smallest eigenvalues


are jointly zero. This test statistic often called the
trace statistic is given by
λtrace (r0 ) = T ∑m
i =r0 +1 ln 1
bi .
λ

This statistic can be used to test:

H0 : r r0 (at most r0 cointegrating vectors)


versus the alternative hypothesis
F. Guta (CoBE) Econ 654 September, 2017 115 / 136
Ha : r0 < r m (more than r0 cointegrating
vectors).

ii). The second is the “maximal eigenvalue” statistic


th
based on the estimated (r0 + 1) largest
eigenvalue given by λmax (r0 ) = T ln 1 b r +1
λ 0

This statistic can be used to test:

H0 : r r0 (at most r0 cointegrating vectors)


versus the alternative
Ha : r = r0 + 1 (exactly r0 + 1 cointegrating
F. Guta (CoBE) Econ 654 September, 2017 116 / 136
vectors).

For both test statistics, asymptotic critical values

have been tabulated for various di¤erent cases (i.e.,


constant/trend).

All these critical values are obtained by simulation:


e.g. in Johansen (Journal of Economic Dynamics
and Control, 1988).
More comprehensive set are provided by Johansen
and Juselius (Oxford Bulletin of Economics and
F. Guta (CoBE) Econ 654 September, 2017 117 / 136
Statistics, 1990).

The two tests described here are actually likelihood

ratio tests, but do not have the usual Chi-squared


distributions.

Instead, the appropriate distributions are


multivariate extensions of the Dickey-Fuller
distributions.
As with the unit root tests, the percentiles of the
distributions of these test statistics depend on
F. Guta (CoBE) Econ 654 September, 2017 118 / 136
whether a constant and a time trend are included.
Illustration using Long-run Purchasing Power Parity

Consider the existence of one or more cointegrating


relationships between three variables St , Pt and Pt
where:

St : is the spot exchange rate (home currency price


of a unit of foreign exchange),
Pt : is the aggregate price in domestic currency
Pt : is the price of the foreign country
F. Guta (CoBE) Econ 654 September, 2017 119 / 136
The …rst step in this procedure is the determination
of k, the maximum order of the lags in the
autoregressive representation given in (2.3.11).
In general too few lags in the model leads to
rejection of the null hypothesis too easily, while too
many lags in the model decrease the power of the
tests.
This indicates that there is some optimal lag length.
In addition to k, we have to decide upon whether to
F. Guta (CoBE) Econ 654 September, 2017 120 / 136
include a time trend in (2.3.11) or not.

In the absence of a time trend, an intercept is


automatically included in the cointegrating
relationship(s).
The optimal lag length in the autoregressive
representation given in (2.3.11) for the dataset
used in Verbeek is k = 2.
This can be determined using the BIC .
Consider the case with k = 2 excluding a time
F. Guta (CoBE) Econ 654 September, 2017 121 / 136
trend.

The …rst step in Johansen’s procedure yields the


trace statistics in table 2.2 below:

Table 2.2 Unrestricted Cointegration Rank Test (Trace)


Hypothesized Trace 0.05
No. of CE(s) Eigenvalue Statistic Critical Value Prob.**

None * 0.385964 115.6063 35.19275 0.0000


At most 1 * 0.102029 25.86934 20.26184 0.0076
At most 2 0.032439 6.067643 9.164546 0.1856

Trace test indicates 2 cointegrating equations at the 0.05 level


* Denotes rejection of the hypothesis at the 0.05 level
**MacKinnon-Haug-Michelis (1999) p-values, lag length k=2,T=184, intercept
included.

F. Guta (CoBE) Econ 654 September, 2017 122 / 136


Table 2.2 above reports the results of the trace test
statistic and as can be seen from the table:

1). The null hypothesis of no (r = 0) cointegration


has to be rejected at 5% level when tested against
the alternative hypothesis of more than zero
cointegrating vectors (0 < r 3), because 115.61
exceeds the critical value of 35.19.

F. Guta (CoBE) Econ 654 September, 2017 123 / 136


2). The null hypothesis of zero or one cointegrating
vector (r 1) also has to be rejected at 5% level
in favour of the alternative hypothesis of more than
one cointegrating vectors (1 < r 3), because
25.87 exceeds the critical value of 20.26.

3). The null hypothesis of two or fewer cointegrating


vectors cannot be rejected against the alternative
of hypothesis of more than two cointegrating
vectors (2 < r 3) .
F. Guta (CoBE) Econ 654 September, 2017 124 / 136
F. Guta (CoBE) Econ 654 September, 2017 125 / 136
1). The null hypothesis of no cointegration (r = 0)
has to be rejected at 5% level when tested against
the alternative hypothesis of one cointegrating
vectors (r = 1), because 89.74 exceeds the critical
value of 22.30.
2). The null hypothesis of zero or one cointegrating
vector (r 1) also has to be rejected in favour of
the alternative hypothesis of two cointegrating
vectors (r = 2).

F. Guta (CoBE) Econ 654 September, 2017 126 / 136


3). The null hypothesis of two or fewer cointegrating
vectors cannot be rejected against the alternative
of hypothesis of three cointegrating vectors
(r = 3). Recall that r = 3 corresponds to
stationarity of each of the three series.

The following table reports cointegrating vector


and the adjustment coe¢ cients.

F. Guta (CoBE) Econ 654 September, 2017 127 / 136


Table 2.4 Unrestricted Cointegrating Coefficients (normalized by
Vˆ/ S11Vˆ= I ):

st pt pt* C
-3.155508 28.48416 -55.76099 144.4973
9.448938 -46.05347 73.97055 -178.8928
-13.30384 35.41067 -48.51006 133.4533

Where st=ln(St), pt=ln(Pt), and pt*=ln(Pt*)


Unrestricted Adjustment Coefficients (α):
Δ St -0.000107 -0.000741 0.003567
Δ pt 0.001182 0.000710 8.44E-05
Δ pt * 0.001309 -0.000292 2.21E-05

F. Guta (CoBE) Econ 654 September, 2017 128 / 136


F. Guta (CoBE) Econ 654 September, 2017 129 / 136
F. Guta (CoBE) Econ 654 September, 2017 130 / 136
F. Guta (CoBE) Econ 654 September, 2017 131 / 136
F. Guta (CoBE) Econ 654 September, 2017 132 / 136
Maximum-eigenvalue test indicates no
cointegration at 5% level of signi…cance.
Denotes rejection of the null hypothesis at 5%
level of signi…cance.
MacKinnon-Haug-Michelis (1999) p-values, lag
length k = 12, T = 174, intercept included.
Suppose we decide that the number of
cointegrating vector is equal to one (r = 1), the
estimated cointegrating vector β, in this case, is
given in table 2.7 below.
F. Guta (CoBE) Econ 654 September, 2017 133 / 136
F. Guta (CoBE) Econ 654 September, 2017 134 / 136
The conclusion that there exists one cointegrating
relationship between the three variables is most
probably incorrect.
To test for long-run purchasing power parity via
Johansen’s procedure, we will probably need longer
time series.
Alternatively, we may use several set of countries
and apply panel data cointegration techniques.
Another problem may lie in measuring the two price
F. Guta (CoBE) Econ 654 September, 2017 135 / 136
indices in an accurate way, comparable across the
two countries.

F. Guta (CoBE) Econ 654 September, 2017 136 / 136

You might also like