Cointegration Copenhagen
Cointegration Copenhagen
Cointegration Copenhagen
Econometrics II
Cointegration and Spurious Regression
Morten Nyboe Tabor
Econometrics II
university of copenhagen department of economics
Learning Outcomes
log(CONSt ) = µ + β2 · log(BIRDt ) + ut .
with R 2 = 0.688.
• It looks like a reasonable model.
But it is complete nonsense: spurious regression.
13.1
0
13.0
-1
12.9
1985 1990 1995 2000 1985 1990 1995 2000
3 of 31
2.5
4 of 31
Cointegration Defined
• Let xt = ( x1t x2t )0 be two I(1) variables:
Definition of Cointegration
Let xt = ( x1t x2t )0 be two I(1) variables. If there exists a vector β such
that zt = β 0 xt is stationary (i.e., zt ∼ I(0)), then x1t and x2t are said to
co-integrate with cointegration vector β.
Remarks
1 Cointegration occurs if the stochastic trends in x1t and x2t are the same,
so that they cancel out: τ1t − β2 τ2t = 0.
This is called a common stochastic trend.
2 You can think of an equation eliminating the random walks in x1t and x2t :
Remarks (Continued)
• Consider a regression model for two I(1) variables, x1t and x2t , given by
ut = x1t − µ − β2 x2t
• Shocks to x1t and x2t have permanent effects. x1t and x2t co-vary and
ut ∼I(0). We can think of (∗) as defining an equilibrium between x1t and
x2t .
consumption-income
• Consumption and income ratio,
are cointegrated with cointegration vector = ( 1 −1 )0
if the (log-) consumption-income ratio,
0 ct
zt = β xt = ( 1 −1 )µ ¶ = ct − yt ,
yt
= 0 = ( 1 −1 ) = −
is a stationary process. The consumption-income ratio is an equilibrium
is a relation.
stationary process. The consumption-income ratio is an equilibrium relation.
6.25 -0.05
-0.10
6.00
-0.15
10 of 31
Econometrics II — Cointegration and Spurious Regression — Slide 14/51
university of copenhagen department of economics
More on Error-Correction
• We may write the model as the so-called vector error correction model,
∆x1t δ1 Γ11 Γ12 ∆x1t−1 α1 1t
= + + (x1t−1 − β2 x2t−1 ) + ,
∆x2t δ2 Γ21 Γ22 ∆x2t−1 α2 2t
or simply
∆xt = δ + Γ∆xt−1 + αβ 0 xt−1 + t .
Considera asimple
Consider simple model
model for for
twotwo cointegrated
cointegrated variables:
variables:
µ ¶ µ ¶
µ ¶
∆x∆
1t 1 −0.2
−02 11t
== (
(x1−1
1t−1 −
− x2t−1
2−1 ) +
) + .
∆x∆
2t 2 01
0.1 22t
-5
0.0
-10
-2.5
0 20 40 60 80 100 0 20 40 60 80 100
7.5
5.0 -5
'x t
2.5
0.0 -10 x
100
-2.5 13 of 31
0 20 40 60 80 100 -12.5 -10.0 -7.5 -5.0 -2.5 0.0
is stationary.
x2t = δ + γ1 x1t + vt .
Super-Consistency Super-Consistency
• For stationary series, the variance of βb2 declines at a rate of T −1 .
• For stationary series, the b2 declines bat a rate of −1.
of
• For cointegrated I(1)variance
series, the variance of β2 declines at a faster rate of
T −2 . b
• For cointegrated I(1) series, the variance of declines at a faster rate of −2.
• Intuition: If βb2 = β2 then ut is stationary.2 If βb2 6= β2 then the error is I(1)
• Intuition: b2have
and Ifwill
= 2a then
large variance. b
The ‘information’ on the parameter grows
is stationary. If 2 6= 2 then the error is I(1) and will
very fast.
have a large variance. The ’information’ on the parameter grows very fast.
True β2 = 1.
20 20 20
10 10 10
0 0 0
0.5 1.0 1.5 0.5 1.0 1.5 0.5 1.0 1.5
Non-Stationary, T=50 Non-Stationary, T=100 Non-Stationary, T=500
30 30 30
20 20 20
10 10 10
0 0 0
0.5 1.0 1.5 0.5 1.0 1.5 0.5 1.0 1.5
• This can be tested using an ADF unit root test, e.g. the test for
H0 : π = 0 in
k
X
∆zt = δ + ci ∆zt−i + πzt−1 + ηt .
i=1
Remarks:
1 The residual b
ut has mean zero. No deterministic terms in DF regression.
2 The critical value for tπ=0 still depends on the deterministic regressors in
(∗ ∗ ∗).
3 The fact that βb2 is estimated also changes the critical values.
OLS minimizes the variance of b ut . Look ‘as stationary as possible’.
Critical value depends on the number of regressors.
DF(constant)
0.4
N(0,1)
0.3
0.2
0.1
-8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5
18 23/51
Econometrics II — Cointegration and Spurious Regression — Slide of 31
university of copenhagen department of economics
• Since βb2 converges to β2 very fast we can treat it as a fixed regressor and
formulate an error correction model conditional on ecmt−1 , i.e.
• Given cointegration, all terms are stationary, and normal inference applies
to δ, λ1 , κ0 , κ1 , and α.
1 Test individual variables, e.g. x1t and x2t , for unit roots.
x1t = µ + β2 x2t + ut .
0.00
0.1
-0.05
• We could test for a unit root in the residuals (5% critical value is −3.34):
t = 0.230210 · ∆b
∆b t−3 − 0.499443 · b
t−1 .
(2.95) (−6.77)
Note that the short-rate, rt , error corrects, while the bond-yield, bt , does
not.
Note that we could have used ˆt−1 instead of rt−1 − bt−1 in the ECM.
• Setting x1t = x1t−1 = x1t−2 and x2t = x2t−1 = x2t−2 in the ADL and ECM
models yields the long-run solution:
x1t = µ + β2 x2t + t ,
with
−γ2 φ0 + φ1 + φ2 δ δ
β2 = = , and µ= = .
γ1 1 − θ1 − θ2 −γ1 1 − θ1 − θ2
• Hence, an estimate of β2 can be found from
−bγ2 φ
b0 + φb1 + φb2 δ
b δ
b
βb2 = = , and µ
b= = .
bγ1 1 − θb1 − θb2 −b
γ1 1 − θ1 − θb2
b
for t = 1, 2, ..., T and with b = 0.2 and b1 = 0.8. The variables are
cointegrated with cointegration vector β = (1, −1).
For each replication, we estimate:
1 The static regression,
yt = µ + β2 xt + ut ,
which is misspecied due the omitted dynamic term, b1 xt−1 .
2 The ADL(1,1) model,
yt = µ + θyt−1 + φ0 xt + φ1 xt−1 + t ,
• Remark: The test for no-cointegration relies on the assumption that x2t
does not error-correct.
The error-correction model might be formulated based on economic
theory.
• Critical values for the PcGive test for no-cointegration are given by:
1 Test individual variables, e.g. x1t and x2t , for unit roots.
x1t = µ
b + βb2 x2t .
Inference on β2 is standard (under some conditions).
• From Box 2 (p.15): If x1t is the only variable that error-corrects, then all
information about β2 is contained in
Here
φ0 + φ1 + φ2
β2 = .
1 − θ1 − θ2
a
• In that case, tβ2 =b ∼ N(0, 1).
• The PcGive test for no-cointegration is given by (5% critical value -3.51):
PcGive Unit-root t-test: -3.5295
ECM
0.05
0.00
-0.05
0.4
0.8
0.2
0.6
0.0
0 10 20 30 40 0 10 20 30 40
1.0 w w(cum)
1.025
0.5
1.000
0.0 0.975
0 10 20 30 40 0 10 20 30 40
• Here the t−values can be used for testing! β2 is not significantly different
from unity.
Moreover, note that the estimate of β2 differs from the estimate obtained
from estimating the static regression model.
• The dynamic multipliers, ∂x1t /∂x2t , ∂x1t /∂x2t−1 , . . . and the cumulated
P
∂x1t /∂x2t−i can be graphed.
Pros Cons