Chap 6
Chap 6
Chap 6
(1) E (yt ) = µ t = 1, 2, . . . , ∞
(2) E (yt − µ)(yt − µ) = σ 2 < ∞
(3) E (yt1 − µ)(yt2 − µ) = γt2 −t1 ∀ t1 , t2
E (yt ) = µ
var(yt ) = σ 2
2
σ if t = r
γt−r =
0 otherwise
1
±1.96 × √
T
Question:
Suppose that a researcher had estimated the first 5 autocorrelation
coefficients using a series of length 100 observations, and found them
to be (from 1 to 5): 0.207, -0.013, 0.086, 0.005, -0.022.
Test each of the individual coefficient for significance, and use both
the Box-Pierce and Ljung-Box tests to establish whether they are
jointly significant.
Solution:
A coefficient would be significant if it lies outside (-0.196,+0.196) at
the 5% level, so only the first autocorrelation coefficient is significant.
Q=5.09 and Q*=5.26
Compared with a tabulated χ2 (5)=11.1 at the 5% level, so the 5
coefficients are jointly insignificant.
E(yt ) = µ
var(yt ) = γ0 = 1 + θ12 + θ22 + · · · + θq2 σ 2
Covariances
(
(θs + θs+1 θ1 + θs+2 θ2 + · · · + θq θq−s ) σ 2 for s = 1, . . . , q
γs =
0 for s > q
yt = ut + θ1 ut−1 + θ2 ut−2
But E(yt ) = 0, so
= σ 2 + θ12 σ 2 + θ22 σ 2
= 1 + θ12 + θ22 σ 2
γ1 = E[yt ][yt−1 ]
γ 1 = θ 1 σ 2 + θ1 θ2 σ 2
γ1 = (θ1 + θ1 θ2 )σ 2
γ3 = E[yt ][yt−3 ]
γ3 = 0
‘Introductory Econometrics for Finance’ c Chris Brooks 2013 14
Solution (Cont’d)
So γs = 0 for s > 2.
We have the autocovariances, now calculate the autocorrelations:
γ0
τ0 = =1
γ0
γ1 (θ1 + θ1 θ2 )σ 2 (θ1 + θ1 θ2 )
τ1 = = 2 2
=
1 + θ12 + θ22
γ0 1 + θ1 + θ2 σ 2
γ2 (θ2 )σ 2 θ2
τ2 = = 2 2
=
1 + θ12 + θ22
γ0 1 + θ1 + θ2 σ 2
γ3
τ3 = =0
γ0
γs
τs = =0 ∀ s>2
γ0
iii. For θ1 = −0.5 and θ2 = 0.25, substituting these into the formulae
above gives τ1 = −0.476, τ2 = 0.190.
0.8
0.6
0.4
acf
0.2
0
0 1 2 3 4 5
–0.2
–0.4
–0.6
lag, s
p
X
yt = µ + φi yt−i + ut
i=1
or
p
X
yt = µ + φi Li yt + ut
i=1
τ1 = φ1 + τ1 φ2 + · · · + τp−1 φp
τ2 = τ1 φ1 + φ2 + · · · + τp−2 φp
.. .. ..
. . .
τp = τp−1 φ1 + τp−2 φ2 + · · · + φp
yt = µ + φ1 yt−1 + ut
i. Unconditional mean:
But also
E(yt ) = µ + φ1 (µ + φ1 E(yt−2 ))
= µ + φ1 µ + φ21 E(yt−2 )
= µ + φ1 µ + φ21 (µ + φ1 E(yt−3 ))
E(yt ) = µ + φ1 (µ + φ1 E(yt−2 ))
= µ + φ1 µ + φ21 E(yt−2 )
= µ + φ1 µ + φ21 (µ + φ1 E(yt−3 ))
E(yt ) = µ + φ1 µ + φ21 µ + φ31 E(yt−3 )
E(yt ) = µ 1 + φ1 + φ21 + · · · ) + φ∞
1 y0
yt (1 − φ1 L) = ut
yt = (1 − φ1 L)−1 ut
1 + φ1 L + φ21 L2 + · · · ut
yt =
+φ21 ut−2 + · · ·
σu2
=
(1 − σu2 )
γ1 = E[yt yt−1 ]
under the result above that E(yt ) = E(yt−1 ) = 0. Thus
γ1 = E ut + φ1 ut−1 + φ21 ut−2 + · · · ut−1 + φ1 ut−2
+ φ21 ut−3 + · · ·
2
+ φ31 ut−2
2
γ1 = E φ1 ut−1 + · · · + cross − products
γ1 = φ1 σ 2 + φ31 σ 2 + φ51 σ 2 + · · ·
φ1 σ 2
γ1 =
1 − φ21
Using the same rules as applied above for the lag 1 covariance
γ2 = E[yt yt−2 ]
γ2 = E ut + φ1 ut−1 + φ21 ut−2 + · · · ut−2 + φ1 ut−3
+ φ21 ut−4 + · · ·
γ2 = E φ21 ut−2
2
+ φ41 ut−3
2
+ · · · +cross-products
γ2 = φ21 σ 2 + φ41 σ 2 + · · ·
γ2 = φ21 σ 2 1 + φ21 + φ41 + · · ·
φ21 σ 2
γ2 =
1 − φ21
φ31 σ 2
γ3 =
1 − φ21
φs1 σ 2
γs =
1 − φ21
1 − φ21
τ3 = φ31
τs = φs1
‘Introductory Econometrics for Finance’ c Chris Brooks 2013 29
The Partial Autocorrelation Function (denoted τkk )
Measures the correlation between an observation k periods ago and
the current observation, after controlling for observations at
intermediate lags (i.e. all lags <k).
At lag 2,
φ(L)yt = µ + θ(L)ut
where
φ(L) = 1 − φ1 L − φ2 L2 − · · · − φp Lp and
θ(L) = 1 + θ1 L + θ2 L2 + · · · + θq Lq
or
+ θ2 ut−2 + · · · + θq ut−q + ut
with
E(ut ) = 0; E ut2 = σ 2 ; E (ut us ) = 0, t 6= s
0
1 2 3 4 5 6 7 8 9 10
–0.05
–0.1
–0.15
acf and pacf
–0.2
–0.25
–0.3
acf
–0.35 pacf
–0.4
–0.45
lag, s
‘Introductory Econometrics for Finance’ c Chris Brooks 2013 34
ACF and PACF for an MA(2) Model:
yt = 0.5ut−1 − 0.25ut−2 + ut
0.4
0.3 acf
pacf
0.2
0.1
acf and pacf
0
1 2 3 4 5 6 7 8 9 10
–0.1
–0.2
–0.3
–0.4
lag, s
0.9
acf
0.8
pacf
0.7
0.6
acf and pacf
0.5
0.4
0.3
0.2
0.1
0
1 2 3 4 5 6 7 8 9 10
–0.1
lag, s
0.6
0.5
acf
0.4 pacf
acf and pacf
0.3
0.2
0.1
0
1 2 3 4 5 6 7 8 9 10
–0.1
lag, s
0.3
0.2
0.1
0
1 2 3 4 5 6 7 8 9 10
acf and pacf
–0.1
–0.2
–0.3
–0.4 acf
pacf
–0.5
–0.6
lag, s
0.9
0.8
0.7
0.6
acf and pacf
0.5
0.4
0.3
acf
0.2 pacf
0.1
0
1 2 3 4 5 6 7 8 9 10
lag, s
0.6
acf
pacf
0.4
acf and pacf
0.2
0
1 2 3 4 5 6 7 8 9 10
–0.2
–0.4
lag, s