Professional Documents
Culture Documents
Asad Dossani
1 / 31
Stationarity and Unit Root Testing
2 / 31
Spurious Regression
3 / 31
R 2 for 1000 Regressions with Non Stationary Variables
4 / 31
T-ratio for 1000 Regressions with Non Stationary Variables
5 / 31
Unit Roots
yt = φyt−1 + ut
What is the impact of a shock at time t on future values of the
series? In other words, suppose ut = 1, yt−1 = 0, and ut+h = 0 for
all h ≥ 1. What are the values of yt+1 , yt+2 , . . . , yt+h ?
6 / 31
Unit Roots
yt = φyt−1 + ut = 1
yt+1 = φyt + ut+1 = φ
yt+2 = φyt+1 + ut+2 = φ2
yt+3 = φyt+2 + ut+3 = φ3
.. ....
. ..
yt+h = φyt+h−1 + ut+h = φh
7 / 31
Unit Roots
yt+h = φh
8 / 31
Unit Roots
Suppose yt has the following process:
yt = yt−1 + ut and ut ∼ WN(0, σ 2 ).
Show that yt has a unit root, i.e. show that one of the roots of the
characteristic equation is equal to one.
yt = yt−1 + ut
yt − yt−1 = ut
yt − Lyt = ut
(1 − L)yt = ut
0=1−z
z =1
9 / 31
Random Walk
10 / 31
Trend Stationary
yt = α + βt + ut
11 / 31
White Noise Process
12 / 31
Random Walk With and Without Drift
13 / 31
Trend Stationary Process
14 / 31
AR(1) process for φ = 0, 0.8, 1
15 / 31
Inducing Stationarity by Differencing
yt = µ + yt−1 + ut
yt − yt−1 = µ + ut
∆yt = µ + ut
For example, suppose yt is the log price of a stock. Then ∆yt is the
stock return. Log prices are typically not stationary, while returns
are stationary. For this reason, we work with stock returns rather
than log prices in regressions.
16 / 31
Testing for a Unit Root
We use the Dickey-Fuller test to test for a unit root. The objective
is to examine the null hypothesis φ = 1 in the following regression.
yt = φyt−1 + ut
17 / 31
Dickey-Fuller Test
18 / 31
Dickey-Fuller Test Statistic
ψ̂
test statistic =
SE (ψ̂)
19 / 31
Cointegration
xt ∼ I(1)
yt ∼ I(1)
yt − γxt ∼ I(0)
20 / 31
Cointegration
21 / 31
Cointegration
∆yt = β∆xt + ut
While this approach is statistically valid, the model has no long run
dynamics. It has nothing to say about whether x and y have an
equilibrium relationship.
22 / 31
Error Correction Model
23 / 31
Error Correction Model
24 / 31
Vector Error Correction Model
25 / 31
A Simple Vector Error Correction Model
∆y1,t π11 π12 y1,t−1 u
= + 1,t
∆y2,t π21 π22 y2,t−1 u2,t
α1 y1,t−1 u
= 1 −β + 1,t
α2 y2,t−1 u2,t
∆yt = αβ 0 yt−1 + ut
∆y1,t = α1 (y1,t−1 − βy2,t−1 ) + u1,t
∆y2,t = α2 (y1,t−1 − βy2,t−1 ) + u2,t
26 / 31
Cointegrated VAR as a VECM
yt = Ayt−1 + ut
ut ∼ WN(0, Σu )
A= 0.8 0.2
0.2 0.8
27 / 31
Cointegrated VAR as a VECM
y1,t 0.8 0.2 y1,t−1 u
= + 1,t
y2,t 0.2 0.8 y2,t−1 u2,t
y1,t = 0.8y1,t−1 + 0.2y2,t−1 + u1,t
y2,t = 0.2y1,t−1 + 0.8y2,t−1 + u2,t
y1,t − y2,t = 0.6(y1,t−1 − y2,t−1 ) + u1,t − u2,t
28 / 31
Cointegrated VAR as a VECM
Write the model in error correction form. Compute the speed of
adjustment coefficient α and the cointegrating vector β, where the
β on y1,t is normalized to 1.
y1,t 0.8 0.2 y1,t−1 u
= + 1,t
y2,t 0.2 0.8 y2,t−1 u2,t
y1,t y1,t−1 0.8 0.2 y1,t−1 y1,t−1 u
− = − + 1,t
y2,t y2,t−1 0.2 0.8 y2,t−1 y2,t−1 u2,t
!
∆y1,t 0.8 0.2 1 0 y1,t−1 u
= − + 1,t
∆y2,t 0.2 0.8 0 1 y2,t−1 u2,t
−0.2 0.2 y1,t−1 u
= + 1,t
0.2 −0.2 y2,t−1 u2,t
−0.2 y1,t−1 u
= 1 −1 + 1,t
0.2 y2,t−1 u2,t
29 / 31
Testing for Cointegration
The Johannsen trace test is used to test for cointegration using the
VECM model.
30 / 31
Testing for Cointegration
31 / 31