Documente Academic
Documente Profesional
Documente Cultură
() 1 / 32
1 Introduction I
(ETC2410) 2 / 32
1 Introduction I
1.2 Properties of time series data
(ETC2410) 3 / 32
2 Stationary Time Series I
Denition (1.2)
The time series
fy t : t = ..... 2, 1, 0, 1, 2, ........g
is covariance stationary if
a) E(yt ) = < for all t.
b) Var(yt ) = E [(yt )2 ] = 0 < for all t.
c) Cov(yt , yt j ) = E [(yt )(yt j )] = j < for all t and j
fyt : t = 1, ......T g,
(ETC2410) 4 / 32
2 Stationary Time Series II
(ETC2410) 5 / 32
3 Autocorrelation and Partial Autocorrelation Functions for
Stationary Time Series I
Two tools that are commonly used to assess the extent of temporal
dependence in a time series are the autocorrelation function (ACF)
and the partial autocorrelation function (PACF) of the time series.
The autocovariance coe cient between yt and yt j is dened as
(ETC2410) 6 / 32
3 Autocorrelation and Partial Autocorrelation Functions for
Stationary Time Series II
(ETC2410) 7 / 32
3 Autocorrelation and Partial Autocorrelation Functions for
Stationary Time Series III
(ETC2410) 8 / 32
3 Autocorrelation and Partial Autocorrelation Functions for
Stationary Time Series IV
(ETC2410) 9 / 32
4 Some Elementary Time Series Models I
yt i.i.d (0, 2 ).
The random variables yt and yt j have zero mean, constant variance
and are independently distributed. There is no relationship, linear or
nonlinear between yt and yt j .
yt WN (0, 2 ).
The random variables yt and yt j have zero mean, constant variance
and are serially uncorrelated. There is no linear relationship between
yt and yt j .
(ETC2410) 10 / 32
4 Some Elementary Time Series Models II
If fyt g is a mds,
(ETC2410) 11 / 32
5 Stationary Autoregressive Time Series I
5.1 Properties of stationary autoregressions
yt = c + 1 yt 1 + 2 yt 2 + ....... + p yt p + ut , (3)
where
E (ut jyt 1 , yt 2, ....) = 0.
The model given by (3) is called a pth-order autoregression or
AR(p) model. For the AR(p) model:
The ACF declines exponentially.
(ETC2410) 12 / 32
5 Stationary Autoregressive Time Series II
5.1 Properties of stationary autoregressions
(ETC2410) 13 / 32
5 Stationary Autoregressive Time Series I
5.2 Testing for autocorrelation
There are two tests for the presence of autocorrelation in a time series
that can be automatically performed using Eviews, both of which are
use the sample correlation coe cients of the time series.
The rst test we discuss exploits the fact that
p asy
T (b
j j ) N (0, 1). (4)
Under
H0 : j = 0,
a 95 % condence interval for b
j is given by
2 2
P p <bj < p = 0.95. (5)
T T
(ETC2410) 14 / 32
5 Stationary Autoregressive Time Series II
5.2 Testing for autocorrelation
If b
j lies outside the 95% condence interval given by (5) we reject
H0 : j = 0.
H0 : 1 = 2 = ..... = s = 0
H1 : j 6= 0 for at lease one j = 1,2,...s,
(ETC2410) 15 / 32
5 Stationary Autoregressive Time Series III
5.2 Testing for autocorrelation
(ETC2410) 16 / 32
6 Forecasting Stationary Autoregressive Time Series I
6.1 Point forecasts
(y1 , y2 , ...., yT ),
on the time series fyt g there are two types of forecast we may wish
to make about the value of yT +1 :
A point forecast for yT +1 is a statement that yT +1 will assume a
particular value.
An interval forecast (or forecast interval) is a statement that yT +1
will lie in a specied interval with a specied probability.
In order to forecast future values of fyt g we need a rule which:
Species how forecasts are to be computed.
Uses only currently available information.
Leads to forecasts which are in some sense accurate.
(ETC2410) 17 / 32
6 Forecasting Stationary Autoregressive Time Series II
6.1 Point forecasts
(yT , yT 1, .....y1 ).
(ETC2410) 18 / 32
6 Forecasting Stationary Autoregressive Time Series III
6.1 Point forecasts
FT +k jT = ET (yT +k ),
where
ET (yT +k ) = E (yT +k jyT , yT 1 , ..., y1 ).
bT (yT +k ),
FT +k jT = E
(ETC2410) 19 / 32
6 Forecasting Stationary Autoregressive Time Series IV
6.1 Point forecasts
yt = c + 1 yt 1 + ut ,
Table 1
c+b
FT + 1 j T = b 1 yT
c+b
FT + 2 j T = b 1 FT +1 jT
FT + 3 j T = b b
c + 1 FT +2 jT
.
.
(ETC2410) 20 / 32
6 Forecasting Stationary Autoregressive Time Series V
6.1 Point forecasts
Table 2
FT +1 jT = b c+b1 yT + b 2 yT 1
c+b
FT + 2 j T = b 1 FT + 1 j T + b
2 yT 1
c+b
FT + 3 j T = b 1 FT +2 jT + b 2 FT + 1 j T
.
.
(ETC2410) 21 / 32
6 Forecasting Stationary Autoregressive Time Series I
6.2 Interval forecasts
(ETC2410) 22 / 32
7 Autoregressive Distributed Lag Models I
yt = c + 1 yt 1 + 2 yt 2 + .... + p yt p
+1 xt 1 + 2 xt 2 + .... + q xt q + ut . (8)
(ETC2410) 23 / 32
8 Finite Distributed Lag Models I
yt = c + 0 xt + 1 xt 1 + 2 xt 2 + .... + q xt q + ut (9)
yt = c + 0 xt + 1 xt 1 + 2 xt 2 + ut , (10)
Impact eect = yt yt 1= 0 .
One-period cumulative eect = yt +1 yt 1 = 0 + 1 .
Permanent eect = yt +2 yt 1 = 0 + 1 + 2 .
(ETC2410) 25 / 32
9 Inference with Time Series Data I
Serial correlation in the errors in the linear regression model has the
following consequences:
The OLS estimator is no longer e cient.
The standard t and F tests are no longer valid, even asymptotically.
(ETC2410) 27 / 32
9 Inference with Time Series Data I
(ETC2410) 28 / 32
9 Inference with Time Series Data I
9.3 Correcting for autocorrelation
(ETC2410) 30 / 32
10 Time Series Data with Deterministic Trends I
yt = 0 + 1 t + e t . (11)
Ln (yt ) = 0 + 1 t + et . (12)
(ETC2410) 31 / 32
10 Time Series Data with Deterministic Trends II
The linear deterministic trend model implies that the average level
of yt changes by a constant amount each time period.
The exponential deterministic trend model implies that the average
growth rate of yt changes by a constant amount each time period.
Caution must be exercised when estimating regressions in which the
dependent variables and one or more of the regressors contain
deterministic trends.
If one is not careful, the correlation caused by the fact that the
variables are trending can lead to the erroneous conclusion that the
variables are causally related when, if fact, they are not.
This phenomenon is called the spurious regression problem.
When attempting to estimate causal relationships between trending
variables one must detrend the variables. This can be done by
including a time trend in the regression equation.
(ETC2410) 32 / 32