Professional Documents
Culture Documents
Chapter 2 Week
2
1 Issues facing time series analysis
2 Stationarity -Autoregressive processes
3 Non-stationarity
4 Unit roots and integrated order of series
Technical issues
encountered in Time series
data
Autocorrelation
The correlation of a series with its own lagged values is called
autocorrelation or serial correlation.
The first autocorrelation of Yt is corr(Yt,Yt1)
The first autocovariance of Yt is cov(Yt,Yt1)
Thus, corr(Yt,Yt1) =
corr(Yt,Yt1) =
cov(Yt , Yt 1 )
var(Yt ) var(Yt 1 )=1
Sample autocorrelations
Sample autocorrelations
The j th sample autocorrelation is an estimate of the j th
population
autocorrelation
Y ,Y )
cov(
t
t j
=
Y)
var(
t
wh
ere
Y ,Y )
cov(
t
t j
=
where
Y j 1,T
1 T
(Yt Y j 1,T )(Yt j Y1,T j )
T t j 1
is the sample average of Yt computed over
observations t = j+1,,T. NOTE:
matters (a lot!)
Stationarity
Autoregressive Process
AR(p)
A natural starting point for a forecasting model is to use past
values of Y (that is, Yt1, Yt2,) to forecast Yt.
An autoregression is a regression model in which Yt is
regressed against its own lagged values.
The number of lags used as regressors is called the order of
the autoregression.
AR(1) model -In a first order autoregression, Yt is
regressed against Yt1
AR(p) model - In a pth order autoregression, Yt is
regressed against Yt1,Yt2,,Ytp.
AR(1) model
The First Order Autoregressive (AR(1)) Model
The population AR(1) model is
Yt = 0 + 1Yt1 + ut
0 and 1 do not have causal interpretations
if 1 = 0, Yt1 is not useful for forecasting Yt
The AR(1) model can be estimated by OLS regression of Yt against
Yt1
Testing 1 = 0 v. 1 0 provides a test of the hypothesis that Yt1 is
not useful for forecasting Yt
t
R 2 = 0.05
0.238Inft1
(0.126)
(0.096)
15
Forecast errors
16
17
18
19
20
21
Nonstationarity I: Trends
(SW Section 14.6)
22
23
1. What is a trend?
24
25
26
27
28
29
30
31
32
33