Professional Documents
Culture Documents
BY
2
Deterministic vs Stochastic Trend Processes
3
Deterministic vs Stochastic Trend Processes
Fig 1. Deterministic Vs Stochastic trend
4
Integrated Stochastic Processes
• The random walk model is but a specific case of a more general class
of stochastic processes known as integrated processes.
• Recall that the RWM without drift is non-stationary, but its first
difference, is stationary.
• Therefore, we call the RWM without drift integrated of order 1,
denoted as I(1). Similarly, if a time series has to be differenced twice
(i.e., take the first difference of the first differences) to make it
stationary, we call such a time series integrated of order 2 I(2).
• In general, if a (nonstationary) time series has to be differenced d times
to make it stationary, that time series is said to be integrated of order d.
A time series Yt integrated of order d is denoted as Yt I(d).
• If a time series Yt is stationary to begin with (i.e., it does not require
any differencing), it is said to be integrated of order zero, denoted by
Yt I(0).
• Thus, we will use the terms “stationary time series” and “time series
integrated of order zero” to mean the same thing.
• Most economic time series are generally I(1); that is, they generally
become stationary only after taking their first differences.
5
Properties of Integrated Series
• As you can see from the preceding statements, one has to pay careful
attention in combining two or more time series that are integrated of6
different order.
Example of a Difference Stationary process
• If a time series has a unit root, the first differences of such time series
are stationary. Therefore, the solution here is to take the first
differences of the time series.
• For instance, lets consider a GDP time series, we know that it usually
has a unit root. Let us now see what happens if we take the first
differences of the GDP series.
• Let ∆GDPt = (GDPt - GDPt−1). For convenience, let Dt = ∆GDPt.
• Now consider the following regression:
• ∆Dt = 16.0049 −0.06827Dt−1
• t = (3.6402) (−6.6303)
• R2 = 0.3435 d = 2.0344
• The 1 percent critical DF τ value is 3.5073. Since the computed τ ( t)
is more negative than the critical value, we conclude that the first-
differenced GDP is stationary; that is, it is I(1).
7
Example of a Trend Stationary process
• As we have seen in Figure 1, a TSP is stationary around the trend line. Hence, the
simplest way to make such a time series stationary is to regress it on time and the
residuals from this regression will then be stationary.
• Yt = β1 + β2t + u6t
• where Yt is the time series under study and where t is the trend variable measured
chronologically.
• It should be pointed out that if a time series is DSP but we treat it as TSP, this is called
under-differencing. On the other hand, if a time series is TSP but we treat it as DSP, this
is called over-differencing. The consequences of these types of specification errors can
be serious, depending on how one handles the serial correlation properties of the
resulting error terms. In passing it may be noted that most macroeconomic time series
are DSP rather than TSP. 8
Stationarity and Unit Root Testing
Why do we need to test for Non-Stationarity?
• If the variables in the regression model are not stationary, then it can be
proved that the standard assumptions for asymptotic analysis will not
be valid. In other words, the usual “t-ratios” will not follow a t-
distribution, so we cannot validly undertake hypothesis tests about the
regression parameters.
9
Two types of Non-Stationarity
yt = + t + ut (2)
10
Stochastic Non-Stationarity
• Note that the model (1) could be generalised to the case where yt is an
explosive process:
yt = + yt-1 + ut
where > 1.
11
Stochastic Non-stationarity: The Impact of Shocks
12
The Impact of Shocks for
Stationary and Non-stationary Series
• We have 3 cases:
1. <1 T0 as T
So the shocks to the system gradually die away.
2. =1 T =1 T
So shocks persist in the system and never die away. We obtain:
yty0 ut as T
t0
So just an infinite sum of past shocks plus some starting value of y0.
3. >1. Now given shocks become more influential as time goes on,
since if >1, 3>2> etc.
13
Detrending a Stochastically Non-stationary Series
4
3
2
1
0
-1 1 40 79 118 157 196 235 274 313 352 391 430 469
-2
-3
-4
16
Sample Plots for various Stochastic Processes:
A Random Walk and a Random Walk with Drift
70
60
RandomWalk
50
RandomWalkwithDrift
40
30
20
10
0
1 19 37 55 73 91 109127145163181199217235253271289307325343361379397415433451469487
-10
-20
17
Sample Plots for various Stochastic Processes:
A Deterministic Trend Process
30
25
20
15
10
5
0
-5 1 40 79 118 157 196 235 274 313 352 391 430 469
18
Autoregressive Processes with
differing values of (0, 0.8, 1)
15
Phi=1
10
Phi=0.8
Phi=0
5
0
1 53 105 157 209 261 313 365 417 469 521 573 625 677 729 781 833 885 937 989
-5
-10
-15
-20
19
Definition of Non-Stationarity
Definition
If a non-stationary series, yt must be differenced d times before it becomes
stationary, then it is said to be integrated of order d. We write yt I(d).
So if yt I(d) then dyt I(0).
An I(0) series is a stationary series
An I(1) series contains one unit root,
e.g. yt = yt-1 + ut
20
Characteristics of I(0), I(1) and I(2) Series
• An I(2) series contains two unit roots and so would require differencing
twice to induce stationarity.
• I(1) and I(2) series can wander a long way from their mean value and
cross this mean value rarely.
• The majority of economic and financial series contain a single unit root,
although some are stationary and consumer prices (and in some cases
exchange rates) have been argued to have 2 unit roots.
21
How do we test for a unit root?
• The early and pioneering work on testing for a unit root in time series
was done by Dickey and Fuller (Dickey and Fuller 1979, Fuller 1976).
The basic objective of the test is to test the null hypothesis that =1 in:
yt = yt-1 + ut
against the one-sided alternative <1. So we have
H0: series contains a unit root
vs. H1: series is stationary.
22
Different forms for the DF Test Regressions
23
Computing the DF Test Statistic
• We can write
yt=ut
where yt = yt- yt-1, and the alternatives may be expressed as
yt = yt-1++t +ut
with ==0 in case i), and =0 in case ii) and =-1. In each case, the
tests are based on the t-ratio on the yt-1 term in the estimated regression of
yt on yt-1, plus a constant in case ii) and a constant and trend in case iii).
The test statistics are defined as
test statistic =
S E ( )
• The test statistic does not follow the usual t-distribution under the null,
since the null is one of non-stationarity, but rather follows a non-standard
distribution. Critical values are derived from Monte Carlo experiments in,
for example, Fuller (1976). Relevant examples of the distribution are
shown in table 4.1 below
24
Critical Values for the DF Test
S
i gn
ifi
c a
n c
e l
ev el 10%5 % 1 %
C.V.f orc o nst
ant-
2.57 -2
.8
6 -3
.4
3
b
u tnotrend
C.V.f orc o nst
ant-
3.12 -3
.4
1 -3
.9
6
a
n dtre
n d
T
a bl
e 4.1:Crit
icalVa
lue
sfo
rDFan
dADFT
es
ts(
Ful
ler
,
1
9 76,p373).
The null hypothesis of a unit root is rejected in favour of the stationary alternative
in each case if the test statistic is more negative than the critical value.
25
The Augmented Dickey Fuller (ADF) Test
• The tests above are only valid if ut is white noise. In particular, ut will be
autocorrelated if there was autocorrelation in the dependent variable of the
regression (yt) which we have not modelled. The solution is to “augment”
the test using p lags of the dependent variable. The alternative model in
case (i) is now written:
p
yty
t1
i y
t i
ut
i1
• The same critical values from the DF tables are used as before. A problem
now arises in determining the optimal number of lags of the dependent
variable.
There are 2 ways
- use the frequency of the data to decide
- use information criteria
26
Testing for Higher Orders of Integration
• The tests usually give the same conclusions as the ADF tests, and the
calculation of the test statistics is complex.
28
Criticism of Dickey-Fuller and
Phillips-Perron-type tests
• Main criticism is that the power of the tests is low if the process is
stationary but with a root close to the non-stationary boundary.
e.g. the tests are poor at deciding if
=1 or =0.95,
especially with small sample sizes.
• One way to get around this is to use a stationarity test as well as the
unit root tests we have looked at.
29
Stationarity tests
So that by default under the null the data will appear stationary.
• Thus we can compare the results of these tests with the ADF/PP
procedure to see if we obtain the same conclusion.
30
Stationarity tests (cont’d)
• A Comparison
ADF / PP KPSS
H0: yt I(1) H0: yt I(0)
H1: yt I(0) H1: yt I(1)
• 4 possible outcomes
32