Let us write the random walk model as:
Yt=ρYt−1+ut −1≤ρ≤1 (1.1)
If ρ=1 , it’s the case of the unit root (RW
model without drift) and its nonstationary stochastic process.
For theoretical reason,
we manipulated Eq(1.1) as follows: Substract
Yt−1 from both side of Eq(1.1) to obtain:
Yt−Yt−1=ρYt−1−Yt−1+ut
=(ρ−1)Yt−1+ut (1.2)
or (Dickey-Fuller test):
ΔYt=δYt−1+ut (1.3)
where δ=(ρ−1) and Δ = difference operator.
In Eq(1.3),
we test the null hypothesis that δ=0 .
If δ=0,
then ρ=1 , that we have a unit root, meaning time
series is nonstationary.
Dickey and Fuller
(1979) have shown that under the null hypothesis that δ=0,
the estimated t value of coefficient of
Yt−1 in Eq(1.3) follows the τ (tau)
statistic which Dickey and Fuller
have computed critical value for tau statistics on the basis of Monte Carlo
simulation.
The Dickey-Fuller test
suggest three different forms, under three different null hypothesis;
Yt
is random walk:
ΔYt=δYt−1+ut (1.4)
Yt
is random walk with drift:
ΔYt=β1+δYt−1+ut (1.5)
Yt
is random walk with drift around a
stochastic trend:
ΔYt=β1+β2t+δYt−1+ut (1.6)
For each
case, the null hypothesis is δ=0,
,
the series have a unit root and nonstationary.
In case
ut are correlated,
Dickey-Fuller developed a test, known as the augmented Dickey-Fuller (ADF) test.
The test is
conducted by “augmenting” the preceding three equations by adding the lagged
values of the dependent variable ΔYt .
Supposed we used
Eq(1.6). The ADF test will become;
ΔYt=β1+β2t+δYt−1+m∑i=1ΔYt−i+εt (1.7)
Supposed
that from the graph we choose to perform the DF test for variable gdp based on Eq(1.7).
We need
first select an appropriate lags order for ADF by information criterion. To do
this;
varsoc gdp
The
AIC, HQIC and SBIC information criterion show that the appropriate lag is 2 .
Then,
perform ADF test for gdp with lag 2.
dfuller gdp,trend lags(2)reg
The results
for ADF test show that the τs=−2.550 , and if we
choose significant level α=0.05 , the τc=−3.465.
The decision is
we fail to reject the null hypothesis for unit root.
That means the
series of gdp (in level) is
contained unit root processes and thus it’s nonstationary.
It’s clear
that all series is nonstationary or contained unit root in level form and we
need the time series to be stationary.
The
non-stationary series usually can be eliminated when we difference the series.
To plot the series in difference form;
twoway(line
D.gdp year)(line D.pdi year)(line D.pce year)
twoway(line
D.profit year)(line D.div year)
To perform the ADF test for gdp in first difference form, first we need select
an appropriate lags order for ADF by information criterion
varsoc D.gdp
Then, perform ADF test for D.gdp with lag 2
dfuller D.gdp,lags(2)
The results
for ADF test show that the τs=−4.429 , and if we choose significant level α=0.05 , the τc=−2.903 .
The decision is
we successful reject the null hypothesis for unit root.
That means the
series of D.gdp (in first
difference) is stationary.
No comments:
Post a Comment