CH 12
CH 12
Walter R. Paczkowski
Rutgers University
Chapter 12: Regression with Time-Series Data:
Principles of Econometrics, 4th Edition Page 1
Nonstationary Variables
Chapter Contents
12.1.1
The First-Order
Autoregressive
Model
12.1.1
The First-Order
Autoregressive
The autoregressive model of order one, the AR(1)
Model
model, is a useful univariate time series model for
explaining the difference between stationary and
nonstationary series:
Eq. 12.2a yt yt 1 vt , 1
– The errors vt are independent, with zero mean
2
σ
and constant variance v , and may be normally
distributed
– The errors are sometimes known as ‘‘shocks’’
or ‘‘innovations’’
12.1.1
The First-Order
Autoregressive
Model
12.1.1
The First-Order
Autoregressive
Model
12.1.1
The First-Order
Autoregressive
The value ‘‘zero’’ is the constant mean of the
Model
series, and it can be determined by doing some
algebra known as recursive substitution
– Consider the value of y at time t = 1, then its
value at time t = 2 and so on
– These values are:
y1 y0 v1
yt vt vt 1 2 vt 2 ..... t y0
Chapter 12: Regression with Time-Series Data:
Principles of Econometrics, 4th Edition Page 16
Nonstationary Variables
12.1
Stationary and
Nonstationary
Variables
12.1.1
The First-Order
Autoregressive
Model
The mean of yt is:
E yt E vt vt 1 2 vt 2 0
12.1.1
The First-Order
Autoregressive
Model
E ( yt ) / (1 ) 1 / (1 0.7) 3.33
12.1.1
The First-Order
Autoregressive
Model
12.1.2
Random Walk
Models
Consider the special case of ρ = 1:
Eq. 12.3a yt yt 1 vt
12.1.2
Random Walk
Models
t
yt yt 1 vt y0 vs
s 1
12.1.2
Random Walk
Models
trend
– This term arises because a stochastic
component vt is added for each time t, and
because it causes the time series to trend in
unpredictable directions
12.1.2
Random Walk
Models
12.1.2
Random Walk
Models
12.1.2
Random Walk
Models
t
yt yt 1 vt t y0 vs
s 1
12.1.2
Random Walk
Models
12.1.2
Random Walk
Models
E ( yt ) t y0 E (v1 v2 v3 ... vt ) t y0
var( yt ) var(v1 v2 v3 ... vt ) t v2
12.1.2
Random Walk
Models
12.1.2
Random Walk
Models
The addition of a time-trend variable t strengthens
the trend behavior:
y1 y0 v1
2
y2 2 y1 v2 2 ( y0 v1 ) v2 2 3 y0 vs
s 1
t (t 1) t
yt t yt 1 vt t y 0 vs
2 s 1
where we used:
1 2 3 t t t 1 2
(t ) (40.837)
12.3.1
Dickey-Fuller Test 1
(No constant and No
Trend)
The AR(1) process yt = ρyt-1 + vt is stationary when
|ρ| < 1
– But, when ρ = 1, it becomes the nonstationary
random walk process
– We want to test whether ρ is equal to one or
significantly less than one
• Tests for this purpose are known as unit root
tests for stationarity
12.3.1
Dickey-Fuller Test 1
(No constant and No
Trend)
12.3.1
Dickey-Fuller Test 1
(No constant and No
Trend)
A more convenient form is:
yt yt 1 yt 1 yt 1 vt
Eq. 12.5a yt 1 yt 1 vt
yt 1 vt
– The hypotheses are:
H0 : 1 H0 : 0
H1 : 1 H1 : 0
12.3.2
Dickey-Fuller Test 2
(With Constant but
No Trend)
12.3.3
Dickey-Fuller Test 3
(With Constant and
With Trend)
12.3.4
The Dickey-Fuller
Critical Values
12.3.4
The Dickey-Fuller
Critical Values
12.3.4
The Dickey-Fuller
Critical Values
12.3.4
The Dickey-Fuller
Critical Values
12.3.4
The Dickey-Fuller
Critical Values
12.3.5
The Dickey-Fuller
Testing Procedures
12.3.5
The Dickey-Fuller The Dickey-Fuller testing procedure:
Testing Procedures
– First plot the time series of the variable and select a
suitable Dickey-Fuller test based on a visual
inspection of the plot
• If the series appears to be wandering or fluctuating
around a sample average of zero, use test equation
(12.5a)
• If the series appears to be wandering or fluctuating
around a sample average which is nonzero, use test
equation (12.5b)
• If the series appears to be wandering or fluctuating
around a linear trend, use test equation (12.5c)
12.3.5
The Dickey-Fuller
Testing Procedures
12.3.6
The Dickey-Fuller
Tests: An Example
12.3.6
The Dickey-Fuller
Tests: An Example
The results from estimating the resulting equations
are: F 0.173 0.045 F 0.561F
t t 1 t 1
(tau ) ( 2.505)
(tau ) ( 2.703)
12.3.7
Order of Integration Recall that if yt follows a random walk, then γ = 0
and the first difference of yt becomes:
yt yt yt 1 vt
– Series like yt, which can be made stationary by
taking the first difference, are said to be
integrated of order one, and denoted as I(1)
• Stationary series are said to be integrated of
order zero, I(0)
– In general, the order of integration of a series is
the minimum number of times it must be
differenced to make it stationary
Chapter 12: Regression with Time-Series Data:
Principles of Econometrics, 4th Edition Page 54
Nonstationary Variables
12.3
Unit Root Tests for
Stationarity
12.3.7
Order of Integration
(tau ) ( 5.487)
B 0.701 B
t t 1
(tau ) ( 7.662)
12.3.7
Order of Integration
12.4.1
An Example of a
Cointegration Test
12.4.1
An Example of a
Cointegration Test
12.4.2
The Error Correction
Model
12.4.2
The Error Correction
Model
12.4.2
The Error Correction
Model
Add the term -yt-1 to both sides of the equation:
yt yt 1 δ θ1 1 yt 1 δ0 xt δ1 xt 1 vt
12.4.2
The Error Correction
Model
Or:
Eq. 12.10 yt α yt 1 β1 β 2 xt 1 δ0 xt vt
12.4.2
The Error Correction
Model
12.5.1
First Difference
Stationary
Consider the random walk model:
yt yt 1 vt
12.5.1
First Difference
Stationary
A suitable regression involving only stationary
variables is:
Eq. 12.11a yt yt 1 0 xt 1xt 1 et
– Now consider a series yt that behaves like a
random walk with drift:
yt yt 1 vt
with first difference:
yt vt
• The variable yt is also said to be a first
difference stationary series, even though it
is stationary around a constant term
Chapter 12: Regression with Time-Series Data:
Principles of Econometrics, 4th Edition Page 74
Nonstationary Variables
12.5
Regression When
There is No
Cointegration
12.5.1
First Difference
Stationary
12.5.2
Trend Stationary
12.5.2
Trend Stationary
12.5.2
Trend Stationary
1 (1 1 ) 2 (0 1 )
12.5.3
Summary If variables are stationary, or I(1) and cointegrated,
we can estimate a regression relationship between
the levels of those variables without fear of
encountering a spurious regression
If the variables are I(1) and not cointegrated, we
need to estimate a relationship in first differences,
with or without the constant term
If they are trend stationary, we can either de-trend
the series first and then perform regression
analysis with the stationary (de-trended) variables
or, alternatively, estimate a regression relationship
that includes a trend variable
Chapter 12: Regression with Time-Series Data:
Principles of Econometrics, 4th Edition Page 79
Nonstationary Variables
12.5
Regression When
There is No FIGURE 12.4 Regression with time-series data: nonstationary variables
Cointegration
12.5.3
Summary