Solutions to Time Series Problems
Solutions to Time Series Problems
Peter J. Brockwell and Richard A. Davis, Introduction to Time Series and Fore-
casting, 2nd Edition, Springer New York, 2002.
We provide solutions to most of the problems in the book that are not computer
exercises. That is, you will not need a computer to solve these problems. We en-
courage students to come up with suggestions to improve the solutions and to report
any misprints that may be found.
Contents
Chapter 1 1.1, 1.4, 1.5, 1.8, 1.11, 1.15 3
Chapter 10 10.5 31
b) We have
E[(Y ° f (X))2 | X] = E[Y 2 ° 2Y f (X) + f 2 (X) | X]
= E[Y 2 | X] ° 2f (X)E[Y | X] + f 2 (X),
which is minimized by f (X) = E[Y | X] (take c = f (X) and µ = E[Y | X] in a).
c) We have £ §
E[(Y ° f (X))2 ] = E E[(Y ° f (X))2 | X] ,
so the result follows from b).
Problem 1.4. a) For the mean we have
µX (t) = E[a + bZt + cZt°2 ] = a,
and for the autocovariance
∞X (t + h, t) = Cov(Xt+h , Xt ) = Cov(a + bZt+h + cZt+h°2 , a + bZt + cZt°2 )
= b2 Cov(Zt+h , Zt ) + bc Cov(Zt+h , Zt°2 )
+ cb Cov(Zt+h°2 , Zt ) + c2 Cov(Zt+h°2 , Zt°2 )
= æ 2 b2 1{0} (h) + æ 2 bc1{°2} (h) + æ 2 cb1{2} (h) + æ 2 c2 1{0} (h)
8 2
< (b + c2 )æ 2 if h = 0,
= bcæ 2 if |h| = 2,
:
0 otherwise.
Since µX (t) and ∞X (t + h, t) do not depend on t, {Xt : t 2 Z} is (weakly) stationary.
b) For the mean we have
µX (t) = E[Z1 ] cos(ct) + E[Z2 ] sin(ct) = 0,
and for the autocovariance
∞X (t + h, t) = Cov(Xt+h , Xt )
= Cov(Z1 cos(c(t + h)) + Z2 sin(c(t + h)), Z1 cos(ct) + Z2 sin(ct))
= cos(c(t + h)) cos(ct) Cov(Z1 , Z1 ) + cos(c(t + h)) sin(ct) Cov(Z1 , Z2 )
+ sin(c(t + h)) cos(ct) Cov(Z1 , Z2 ) + sin(c(t + h)) sin(ct) Cov(Z2 , Z2 )
= æ 2 (cos(c(t + h)) cos(ct) + sin(c(t + h)) sin(ct))
= æ 2 cos(ch)
where the last equality follows since cos(Æ ° Ø) = cos Æ cos Ø + sin Æ sin Ø. Since
µX (t) and ∞X (t + h, t) do not depend on t, {Xt : t 2 Z} is (weakly) stationary.
c) For the mean we have
µX (t) = E[Zt ] cos(ct) + E[Zt°1 ] sin(ct) = 0,
3
and for the autocovariance
∞X (t + h, t) = Cov(Xt+h , Xt )
= Cov(Zt+h cos(c(t + h)) + Zt+h°1 sin(c(t + h)), Zt cos(ct) + Zt°1 sin(ct))
= cos(c(t + h)) cos(ct) Cov(Zt+h , Zt ) + cos(c(t + h)) sin(ct) Cov(Zt+h , Zt°1 )
+ sin(c(t + h)) cos(ct) Cov(Zt+h°1 , Zt )
+ sin(c(t + h)) sin(ct) Cov(Zt+h°1 , Zt°1 )
= æ 2 cos2 (ct)1{0} (h) + æ 2 cos(c(t ° 1)) sin(ct)1{°1} (h)
+ æ 2 sin(c(t + 1)) cos(ct)1{1} (h) + æ 2 sin2 (ct)1{0} (h)
8 2
< æ cos2 (ct) + æ 2 sin2 (ct) = æ 2 if h = 0,
= æ 2 cos(c(t ° 1)) sin(ct) if h = °1,
: 2
æ cos(ct) sin(c(t + 1)) if h = 1,
We have that {Xt : t 2 Z} is (weakly) stationary for c = ±kº, k 2 Z, since then
∞X (t + h, t) = æ 2 1{0} (h). For c 6= ±kº, k 2 Z, {Xt : t 2 Z} is not (weakly)
stationary since ∞X (t + h, t) depends on t.
d) For the mean we have
µX (t) = E[a + bZ0 ] = a,
and for the autocovariance
∞X (t + h, t) = Cov(Xt+h , Xt ) = Cov(a + bZ0 , a + bZ0 ) = b2 Cov(Z0 , Z0 ) = æ 2 b2 .
Since µX (t) and ∞X (t + h, t) do not depend on t, {Xt : t 2 Z} is (weakly) stationary.
e) If c = kº, k 2 Z then Xt = (°1)kt Z0 which implies that Xt is weakly stationary
when c = kº. For c 6= kº we have
µX (t) = E[Z0 ] cos(ct) = 0,
and for the autocovariance
∞X (t + h, t) = Cov(Xt+h , Xt ) = Cov(Z0 cos(c(t + h)), Z0 cos(ct))
= cos(c(t + h)) cos(ct) Cov(Z0 , Z0 ) = cos(c(t + h)) cos(ct)æ 2 .
The process {Xt : t 2 Z} is (weakly) stationary when c = ±kº, k 2 Z and not
(weakly) stationary when c 6= ±kº, k 2 Z, see 1.4. c).
f) For the mean we have
µX (t) = E[Zt Zt°1 ] = 0,
and
∞X (t + h, t) = Cov(Xt+h , Xt ) = Cov(Zt+h Zt+h°1 , Zt Zt°1 )
Ω 4
æ if h = 0,
= E[Zt+h Zt+h°1 Zt Zt°1 ] =
0 otherwise.
Since µX (t) and ∞X (t + h, t) do not depend on t, {Xt : t 2 Z} is (weakly) stationary.
Problem 1.5. a) We have
∞X (t + h, t) = Cov(Xt+h , Xt ) = Cov(Zt+h + µZt+h°2 , Zt + µZt°2 )
= Cov(Zt+h , Zt ) + µ Cov(Zt+h , Zt°2 ) + µ Cov(Zt+h°2 , Zt )
+ µ2 Cov(Zt+h°2 , Zt°2 )
= 1{0} (h) + µ1{°2} (h) + µ1{2} (h) + µ2 1{0} (h)
Ω Ω
1 + µ2 if h = 0, 1.64 if h = 0,
= =
µ if |h| = 2. 0.8 if |h| = 2.
4
Hence the ACVF depends only on h and we write ∞X (h) = ∞X (t + h, h). The ACF
is then
Ω
∞X (h) 1 if h = 0,
Ω(h) = =
∞X (0) 0.8/1.64 º 0.49 if |h| = 2.
b) We have
µ ∂
1 1
Var (X1 + X2 + X3 + X4 ) = Var(X1 + X2 + X3 + X4 )
4 16
1 ≥
= Var(X1 ) + Var(X2 ) + Var(X3 ) + Var(X4 ) + 2 Cov(X1 , X3 )
16 ¥
+ 2 Cov(X2 , X4 )
1° ¢ 1° ¢ 1.64 + 0.8
= 4∞X (0) + 4∞X (2) = ∞X (0) + ∞X (2) = = 0.61.
16 4 4
c) µ = °0.8 implies ∞X (h) = °0.8 for |h| = 2 so
µ ∂
1 1.64 ° 0.8
Var (X1 + X2 + X3 + X4 ) = = 0.21.
4 4
Because of the negative covariance at lag 2 the variance in c) is considerably smaller.
Problem 1.8. a) First we show that {Xt : t 2 Z} is WN (0, 1). For t even we have
E[Xt ] = E[Zt ] = 0 and for t odd
∑ 2 ∏
Zt°1 ° 1 1
E[Xt ] = E p = p E[Zt°1
2
° 1] = 0.
2 2
Next we compute the ACVF. If t is even we have ∞X (t, t) = E[Zt2 ] = 1 and if t is
odd
"µ ∂2 #
2
Zt°1 °1 1 1
∞X (t, t) = E p = E[Zt°1
4
° 2Zt°1
2
+ 1] = (3 ° 2 + 1) = 1.
2 2 2
If t is even we have
∑ ∏
Zt2 ° 1 1
∞X (t + 1, t) = E p Zt = p E[Zt3 ° Zt ] = 0,
2 2
and if t is odd
∑ ∏ ∑ 2 ∏
Z2 ° 1 Z °1
∞X (t + 1, t) = E Zt+1 t°1
p = E[Zt+1 ]E t°1p = 0.
2 2
Clearly ∞X (t + h, t) = 0 for |h| ∏ 2. Hence
Ω
1 if h = 0,
∞X (t + h, h) =
0 otherwise.
Thus {Xt : t 2 Z} is WN (0, 1). If t is odd Xt and Xt°1 is obviously dependent so
{Xt : t 2 Z} is not IID (0, 1).
b) If n is odd
E[Xn+1 | X1 , . . . , Xn ] = E[Zn+1 | Z0 , Z2 , Z4 . . . , Zn°1 ] = E[Zn+1 ] = 0.
If n is even
∑ ∏
Zn2 ° 1 Z2 ° 1 X2 ° 1
E[Xn+1 | X1 , . . . , Xn ] = E p | Z0 , Z2 , Z4 , . . . , Zn = np = np .
2 2 2
This again shows that {Xt : t 2 Z} is not IID (0, 1).
5
Problem 1.11. a) Since aj = (2q + 1)°1 , °q ∑ j ∑ q, we have
q
X Xq
1
aj mt°j = (c0 + c1 (t ° j))
j=°q
2q + 1 j=°q
0 1 0 1
Xq Xq
1 @ c1 @
= c0 (2q + 1) + c1 (t ° j)A = c0 + t (2q + 1) ° jA
2q + 1 j=°q
2q +1 j=°q
0 1
X q Xq
c1 @
= c0 + c1 t ° j+ °j A
2q + 1 j=1 j=1
= c0 + c1 t = mt
b) We have
2 3
q
X q
X
E [At ] = E 4 aj Zt°j 5 = aj E [Zt°j ] = 0 and
j=°q j=°q
0 1
q
X q
X q
X
1 æ2
Var (At ) = Var @ aj Zt°j A = a2j Var (Zt°j ) = æ2 =
j=°q j=°q (2q + 1)
2
j=°q
2q + 1
We see that the variance Var(At ) is small for large q. Hence, the process At will be
close to its mean (which is zero) for large q.
Problem 1.15. a) Put
∞Z (t + h, t) = Cov (Zt+h , Zt )
= Cov (Yt+h ° Yt+h°1 ° Yt+h°12 + Yt+h°13 , Yt ° Yt°1 ° Yt°12 + Yt°13 )
= ∞Y (h) ° ∞Y (h + 1) ° ∞Y (h + 12) + ∞Y (h + 13) ° ∞Y (h ° 1) + ∞Y (h)
+ ∞Y (h + 11) ° ∞Y (h + 12) ° ∞Y (h ° 12) + ∞Y (h ° 11)
+ ∞Y (h) ° ∞Y (h + 1) + ∞Y (h ° 13) ° ∞Y (h ° 12) ° ∞Y (h ° 1) + ∞Y (h)
= 4∞Y (h) ° 2∞Y (h + 1) ° 2∞Y (h ° 1) + ∞Y (h + 11) + ∞Y (h ° 11)
° 2∞Y (h + 12) ° 2∞Y (h ° 12) + ∞Y (h + 13) + ∞Y (h ° 13).
6
Now we have µZ (t) = E[Zt ] = 0 and
∞Z (t + h, t) = Cov (Zt+h , Zt )
= Cov (Yt+h ° 2Yt+h°12 + Yt+h°24 , Yt ° 2Yt°12 + Yt°24 )
= ∞Y (h) ° 2∞Y (h + 12) + ∞Y (h + 24) ° 2∞Y (h ° 12) + 4∞Y (h)
° 2∞Y (h + 12) + ∞Y (h ° 24) ° 2∞Y (h ° 12) + ∞Y (h)
= 6∞Y (h) ° 4∞Y (h + 12) ° 4∞Y (h ° 12) + ∞Y (h + 24) + ∞Y (h ° 24).
7
Chapter 2
Problem 2.1. We find the best linear predictor X̂n+h = aXn + b of Xn+h by
finding a and b such that E[Xn+h ° X̂n+h ] = 0 and E[(Xn+h ° X̂n+h )Xn ] = 0. We
have
and
∞(h) + µ2 ° bµ
b = µ (1 ° a) , a= .
∞(0) + µ2
Solving this system of equations we get a = ∞(h)/∞(0) = Ω(h) and b = µ(1 ° Ω(h))
i.e. X̂n+h = Ω(h)Xn + µ(1 ° Ω(h)).
Problem 2.4. a) Put Xt = (°1)t Z where Z is random variable with E[Z] = 0 and
Var(Z) = 1. Then
If we let æ 2 = 1/(1+µ2 ) and choose µ such that æ 2 µ = 0.4, then we get ∞X (h) = ∑(h).
Hence, we choose µ so that µ/(1 + µ2 ) = 0.4, which implies that µ = 1/2 or µ = 2.
Xt = ¡Xt°1 + Zt , t = 0, ±1, . . .
8
° ¢
where {Zt : t 2 Z} ª WN 0, æ 2 and |¡1 | = 1. Use the recursions
n
X
Xt = ¡Xt°1 + Zt = ¡2 Xt°2 + ¡Zt°1 + Zt = . . . = ¡n+1 Xt°(n+1) + ¡i Zt°i ,
i=0
We have that
√ n ! n n
X X X
Var ¡i Zt°i = ¡2i Var (Zt°i ) = æ 2 = (n + 1) æ 2 .
i=0 i=0 i=0
9
Putting the partial derivatives equal to zero we get that S(a0 , a1 , . . . , an ) is mini-
mized if
a0 = 0
E[(Xn+1 ° X̂n+1 )Xk ] = 0, for each k = 1, . . . , n.
Since there is best linear predictor is unique this is the one. The mean square error
is
10
Chapter 3
Problem 3.1. We write the ARMA processes as ¡(B)Xt = µ(B)Zt . The process
{Xt : t 2 Z} is causal if and only if ¡(z) 6= 0 for each |z| ∑ 1 and invertible if and
only if µ(z) 6= 0 for each |z| ∑ 1.
a) ¡(z) = 1 + 0.2z ° 0.48z 2 = 0 is solved by z1 = 5/3 and z2 = °5/4.
Hence {Xt : t 2 Z} is causal.
µ(z) = 1. Hence {Xt : t 2 Z} is invertible.
b) ¡(z) = 1 + 1.9z + 0.88z 2 = 0 is solved by z1 = °10/11 and z2 = °5/4.
Hence {Xt : t 2 Z} is not causal.
p
µ(z) = 1 + 0.2z + 0.7z 2 = 0 is solved by z1 = °(1 ° i 69)/7
p p
and z2 = °(1 + i 69)/7. Since |z1 | = |z2 | = 70/7 > 1, {Xt : t 2 Z}
is invertible.
c) ¡(z) = 1 + 0.6z = 0 is solved by z = °5/3. Hence {Xt : t 2 Z} is causal.
µ(z) = 1 + 1.2z = 0 is solved by z = °5/6. Hence {Xt : t 2 Z} is not invertible.
d) ¡(z) = 1 + 1.8z + 0.81z 2 = 0 is solved by z1 = z2 = °10/9.
Hence {Xt : t 2 Z} is causal.
µ(z) = 1. Hence {Xt : t 2 Z} is invertible.
e) ¡(z) = 1 + 1.6z = 0 is solved by z = °5/8. Hence {Xt : t 2 Z} is not causal.
µ(z) = 1 ° 0.4z + 0.04z 2 = 0 is solved by z1 = z2 = 5.
Hence {Xt : t 2 Z} is invertible.
° ¢
Problem 3.4. We have Xt = 0.8Xt°2 + Zt , where {Zt : t 2 Z} ª WN 0, æ 2 . To
obtain the Yule-Walker equations we multiply each side by Xt°k and take expected
value. Then we get
E[Xt Xt°k ] = 0.8E[Xt°2 Xt°k ] + E[Zt Xt°k ],
which gives us
∞(0) = 0.8∞(2) + æ 2
∞(k) = 0.8∞(k ° 2), k ∏ 1.
We use that ∞(k) = ∞(°k). Thus, we need to solve
∞(0) ° 0.8∞(2) = æ 2
∞(1) ° 0.8∞(1) = 0
∞(2) ° 0.8∞(0) = 0
First we see that ∞(1) = 0 and therefore ∞(h) = 0 if h is odd. Next we solve for
∞(0) and we get ∞(0) = æ 2 (1 ° 0.82 )°1 . It follows that ∞(2k) = ∞(0)0.8k and hence
the ACF is
8
< 1 h = 0,
Ω(h) = 0.8h , h = 2k, k = ±1, ±2, . . .
:
0 otherwise.
The PACF can be computed as Æ(0) = 1, Æ(h) = ¡hh where ¡hh comes from that
the best linear predictor of Xh+1 has the form
h
X
X̂h+1 = ¡hi Xh+1°i .
i=1
11
For an AR(2) process we have X̂h+1 = ¡1 Xh + ¡2 Xh°1 where we can identify
Æ(0) = 1, Æ(1) = 0, Æ(2) = 0.8 and Æ(h) = 0 for h ∏ 3.
Problem 3.6. The ACVF for {Xt : t 2 Z} is
∞X (t + h, t) = Cov(Xt+h , Xt ) = Cov(Zt+h + µZt+h°1 , Zt + µZt°1 )
= ∞Z (h) + µ∞Z (h + 1) + µ∞Z (h ° 1) + µ2 ∞Z (h)
Ω 2
æ (1 + µ2 ), h = 0
=
æ 2 µ, |h| = 1.
On the other hand, the ACVF for {Yt : t 2 Z} is
∞Y (t + h, t) = Cov(Yt+h , Yt ) = Cov(Z̃t+h + µ°1 Z̃t+h°1 , Z̃t + µ°1 Z̃t°1 )
= ∞Z̃ (h) + µ°1 ∞Z̃ (h + 1) + µ°1 ∞Z̃ (h ° 1) + µ°2 ∞Z̃ (h)
Ω 2 2
æ µ (1 + µ°2 ) = æ 2 (1 + µ2 ), h = 0
=
æ 2 µ2 µ°1 = æ 2 µ, |h| = 1.
Hence they are equal.
° ¢
Problem 3.7. First we show that {Wt : t 2 Z} is WN 0, æw2
.
2 3
X1 1
X
E[Wt ] = E 4 (°µ)°j Xt°j 5 = (°µ)°j E[Xt°j ] = 0,
j=0 j=0
since E[Xt°j ] = 0 for each j. Next we compute the ACVF of {Wt : t 2 Z} for
h ∏ 0.
2 3
X1 1
X
∞W (t + h, t) = E[Wt+h Wt ] = E 4 (°µ)°j Xt+h°j (°µ)°k Xt°k 5
j=0 k=0
1 X
X 1 1 X
X 1
= (°µ)°j (°µ)°k E[Xt+h°j Xt°k ] = (°µ)°j (°µ)°k ∞X (h ° j + k)
j=0 k=0 j=0 k=0
© ™
= ∞X (r) = æ (1 + µ )1{0} (r) + æ µ1{1} (|r|)
2 2 2
1 X
X 1
° ¢
= (°µ)°(j+k) æ 2 (1 + µ2 )1{j°k} (h) + æ 2 µ1{j°k+1} (h) + æ 2 µ1{j°k°1} (h)
j=0 k=0
X1 1
X
= (°µ)°(j+j°h) æ 2 (1 + µ2 ) + (°µ)°(j+j°h+1) æ 2 µ
j=h j=h°1,j∏0
1
X
+ (°µ)°(j+j°h°1) æ 2 µ
j=h+1
1
X 1
X
= æ (1 + µ )(°µ)
2 2 °h
(°µ) °2(j°h)
+ æ µ(°µ)
2 °(h°1)
(°µ)°2(j°(h°1))
j=h j=h°1,j∏0
X1
+ æ 2 µ(°µ) °(h+1)
(°µ)°2(j°(h+1))
j=h+1
µ2 °(h°1) µ
2
= æ 2 (1 + µ2 )(°µ)°h + æ 2
µ(°µ) + æ 2 µ2 1{0} (h)
µ2 ° 1 µ2 ° 1
µ2
+ æ 2 µ(°µ)°(h+1) 2
µ °1
µ 2 ° ¢
= æ 2 (°µ)°h 2 1 + µ2 ° µ2 ° 1 + æ 2 µ2 1{0} (h)
µ °1
= æ 2 µ2 1{0} (h)
12
° ¢
Hence, {Wt : t 2 Z} is WN 0, æw
2
with æw
2
= æ 2 µ2 . To continue we have that
1
X 1
X
Wt = (°µ)°j Xt°j = ºj Xt°j ,
j=0 j=0
P1 P1
with ºj = (°µ)°j and j=0 |ºj | = j=0 µ°j < 1 so {Xt : t 2 Z} is invertible and
P1
solves ¡(B)Xt = µ(B)Wt with º(z) = j=0 ºj z j = ¡(z)/µ(z). This implies that
we must have
1 ≥
z ¥j
1
X X 1 ¡(z)
ºj z =
j
° = = .
j=0 j=0
µ 1 + z/µ µ(z)
Hence, ¡(z) = 1 and µ(z) = 1 + z/µ, i.e. {Xt : t 2 Z} satisfies Xt = Wt + µ°1 Wt°1 .
Problem 3.11. The PACF can be computed as Æ(0) = 1, Æ(h) = ¡hh where ¡hh
comes from that the best linear predictor of Xh+1 has the form
h
X
X̂h+1 = ¡hi Xh+1°i .
i=1
Cov(X3 ° X̂3 , Xi ) = 0, i = 1, 2.
This gives us
and
µ2
¡22 = ° .
µ4 + µ2 + 1
13
Chapter 4
P
Problem 4.4. By Corollary 4.1.1 we know that a function ∞(h) with |h|<1 |∞(h)|
is ACVF for some stationary process if and only if it is an even function and
1
1 X °ih∏
f (∏) = e ∞(h) ∏ 0, for ∏ 2 (°º, º].
2º
h=°1
Hence we have that dFZ (∏) = dFX (∏) + dFY (∏), which implies that
Z Z
FZ (∏) = dFZ (∫) = (dFX (∫) + dFY (∫)) = FX (∏) + FY (∏).
(°º,∏] (°º,∏]
14
where
∫2 ∫2
dFS (∏) = ± (∏ ° º/3) d∏ + ± (∏ + º/3) d∏
2 2
This implies
8
< 0, ∏ < °º/3,
FS (∏) = ∫ 2 /2, °º/3 ∑ ∏ < º/3,
: 2
∫ , ∏ ∏ º/3.
b) Let
1
X
Yt = r12 Xt = Xt ° Xt°12 = √k Xt°k ,
k=°1
15
with √0 = 1, √12 = °1 and √j = 0 otherwise. Then we have the spectral density
fY (∏) = |√(e°i∏ )|2 fX (∏) where
1
X
√(e°i∏ ) = √k e°ik∏ = 1 ° e°i12∏ .
k=°1
Hence,
Ø Ø2
fY (∏) = Ø1 ° e°12i∏ Ø fX (∏) = (1 ° e°12i∏ )(1 ° e12i∏ )fX (∏)
= 2(1 ° cos(12∏))fX (∏).
The power transfer function |√(e°i∏ )|2 is plotted in Figure 4.9(b) and the resulting
spectral density fY (∏) is plotted in Figure 4.9(c).
µ(B)
Problem 4.10. a) Let ¡(z) = 1 ° ¡z and µ(z) = 1 ° µz. Then Xt = ¡(B) Zt and
Ø Ø Ø Ø
Ø µ(e°i∏ ) Ø2 °i∏ Ø2 2
Ø fZ (∏) = Ø µ(e ) Ø æ .
Ø
fX (∏) = ØØ
¡(e°i∏ ) Ø Ø ¡(e°i∏ ) Ø 2º
1 ØØ Ø 2 1 Ø Ø 2
= 2 1 ° ¡ei∏ Ø = 2 Ø1 ° ¡e°i∏ Ø .
¡ ¡
Inserting this and the corresponding expression with ¡ substituted by µ in the
computation above we get
1 Ø
Ø Ø Ø
°i∏ Ø2 Ø
Ø2
¡2 1 ° ¡e 1 ° µe°i∏ Ø æ 2 µ2 æ 2
fW (∏) = 1 =
°i∏ |2 |1 ° ¡e°i∏ |2 2º ¡2 2º
µ 2 |1 ° µe
16
100
80
60
40
20
0
0 π/6 π/3 π/2 2π/3 5π/6
(a) fX (∏)
0
0 π/6 π/3 π/2 2π/3 5π/6
2
(b) √ e°i∏
1.5
0.5
0
π/6−0.01 π/6 π/6+0.01
(c) fY (∏)
17
which is constant.
b) Since {Wt : t 2 Z} has constant spectral density it is white noise and
Z º
µ2 æ2 µ2
æw2
= ∞W (0) = fW (∏)d∏ = 2 2º = 2 æ 2 .
°º ¡ 2º ¡
˜
c) From definition of {Wt : t 2 Z} we get that ¡(B)X t = µ̃(B)Wt which is a causal
and invertible representation.
18
Chapter 5
Problem 5.1. We begin by writing the Yule-Walker equations. {Yt : t 2 Z}
satisfies
ˆ 2 and
we have Γ2 ¡ = ∞ 2 and æ 2 ° ∞(0) ° ¡T ∞ 2 . We replace Γ2 by Γ̂2 and ∞ 2 by ∞
ˆ
solve to get an estimate ¡ for ¡. That is, we solve
ˆ =∞
Γ̂2 ¡ ˆ2 ˆT ∞
æ̂ 2 = ∞ˆ (0) ° ¡ ˆ 2.
Hence
µ ∂µ ∂
ˆ = Γ̂°1 ∞ 1 ∞ˆ (0) °ˆ ∞ (1) ∞ˆ (1)
¡ 2 ˆ2 = ∞ (1) ∞ˆ (0) ∞ˆ (2)
∞ˆ (0)2 ° ∞ˆ (1)2 °ˆ
µ ∂
1 ∞ˆ (0)ˆ
∞ (1) °ˆ ∞ (1)ˆ
∞ (2)
= .
∞ˆ (0)2 ° ∞ˆ (1)2 °ˆ∞ (1)2 ∞ˆ (0)ˆ
∞ (2)
We get that
So we have approximately ¡ˆ1 ª N (¡1 , 0.0060) and ¡ˆ2 ª N (¡2 , 0.0060) and the
confidence intervals are
p
I¡1 = ¡ˆ1 ± ∏0.025 0.006 = 1.32 ± 0.15
p
I¡ = ¡ˆ2 ± ∏0.025 0.006 = °0.634 ± 0.15.
2
19
Problem 5.3. a) {Xt : t 2 Z} is causal if ¡(z) 6= 0 for |z| ∑ 1 so let us check for
which values of ¡ this can happen. ¡(z) = 1 ° ¡z ° ¡2 z 2 so putting this equal to
zero implies
p p
z 1 1° 5 1+ 5
z + ° 2 = 0 ) z1 = °
2
and z2 = °
¡ ¡ 2¡ 2¡
p p
Furthermore |z1 | > 1 if |¡| < ( 5 ° 1)/2 = 0.61 and |z2 | > 1 if |¡| < (1 + 5)/2 =
1.61. Hence, the process is causal if |¡| < 0.61.
b) The Yule-Walker equations are
Ω 2
æ k = 0,
∞(k) ° ¡∞(k ° 1) ° ¡ ∞(k ° 2) =
2
0 k ∏ 1.
Inserting the estimated values of ∞ˆ (0) and ∞ˆ (1) = ∞ˆ (0)Ω̂(1) gives the solutions
¡ˆ = {0.509, °1.965} and we choose the causal solution ¡ˆ = 0.509. Inserting this
value in the expression for æ 2 we get
æ̂ 2 = °¡ˆ3 ∞ˆ (1) ° ¡ˆ
ˆ∞ (1) ° ¡ˆ4 ∞ˆ (0) + ∞ˆ (0) = 2.985.
Problem 5.4.° a) Let ¢ us construct a test to see if the assumption that {Xt ° µ :
t 2 Z}
° is WN
¢ 0, æ 2
is reasonable. To this end suppose that {Xt ° µ : t 2 Z} is
WN 0, æ 2 . Then, since Ω(k) = 0 for k ∏ 1 we have that Ω̂(k) ª AN(0, 1/n). A
p
95% confidence interval for Ω(k) is then IΩ(k) = Ω̂(k) ± ∏0.025 / 200. This gives us
Clearly 0 2
/ IΩ(k) for any of the observed k = 1, 2, 3 and we conclude that it is not
reasonable to assume that {Xt ° µ : t 2 Z} is white noise.
b) We estimate the mean by µ̂ = x200 = 3.82. The Yule-Walker estimates is given
by
ˆ = R̂°1 Ωˆ , æ̂ 2 = ∞ˆ (0)(1 ° Ωˆ2 T R̂°1
¡ 2 2 2 Ωˆ2 ),
where
µ ∂ µ ∂ µ ∂
ˆ= ¡ˆ1 Ω̂(0) Ω̂(1) Ω̂(1)
¡ , R̂2 = , Ω̂2 = .
¡ˆ2 Ω̂(1) Ω̂(0) Ω̂(2)
20
Solving this system gives the estimates ¡ˆ1 = 0.2742, ¡ˆ2 = 0.3579 and æ̂ 2 = 0.8199.
c) We construct a 95% confidence interval for µ to test if we can reject the hypothesis
that µ = 0. We have that X 200 ª AN(µ, ∫/n) with
1
X
∫= ∞(h) º ∞ˆ (°3) + ∞ˆ (°2) + ∞ˆ (°1) + ∞ˆ (0) + ∞ˆ (1) + ∞ˆ (2) + ∞ˆ (3) = 3.61.
h=°1
Since 0 2
/ I we reject the hypothesis that µ = 0.
d) We have that approximately ¡ˆ ª AN(¡, æ̂ 2 Γ̂°1 /n). Inserting the observed values
2
we get
°1 µ ∂
æ̂ 2 Γ̂2 0.0050 °0.0021
= ,
n °0.0021 0.0050
and hence ¡ˆ1 ª AN(¡1 , 0.0050) and ¡ˆ2 ª AN(¡2 , 0.0050). We get the 95% confi-
dence intervals
p
I¡1 = ¡ˆ1 ± ∏0.025 0.005 = 0.274 ± 0.139
p
I¡ = ¡ˆ2 ± ∏0.025 0.005 = 0.358 ± 0.139.
2
e) If the data were generated from an AR(2) process, then the PACF would be
Æ(0) = 1, Æ̂(1) = Ω̂(1) = 0.427, Æ̂(2) = ¡ˆ2 = 0.358 and Æ̂(h) = 0 for h ∏ 3.
X1 ° X̂1 = X1 ª N (0, ∫0 ),
X2 ° X̂2 = X2 ° ¡X1 ª N (0, ∫1 ),
Here we have used that ∞(1) = æ 2 ¡/(1 ° ¡2 ). Since the distribution of the innova-
tions is normal the density for Xj ° X̂j is
µ ∂
1 x2
fXj °X̂j =p exp ° 2
2ºæ 2 rj°1 2æ rj°1
21
We maximize this by taking logarithm and then differentiate:
1 1 ° x2 (x2 ° ¡x1 )2 ¢
log L(¡, æ 2 ) = ° log(4º 2 æ 4 r0 r1 ) ° 2 1 +
2 2æ r0 r1
1 1 ° ¢
= ° log(4º 2 æ 4 /(1 ° ¡2 )) ° 2 x21 (1 ° ¡2 ) + (x2 ° ¡x1 )2
2 2æ
1 1 ° ¢
= ° log(2º) ° log(æ 2 ) + log(1 ° ¡2 ) ° 2 x21 (1 ° ¡2 ) + (x2 ° ¡x1 )2 .
2 2æ
Differentiating yields
@l(¡, æ 2 ) 1 1 ° ¢
= ° 2 + 4 x21 (1 ° ¡2 ) + (x2 ° ¡x1 )2 ,
@æ 2 æ 2æ
@l(¡, æ 2 ) 1 °2¡ x1 x2
= · + 2 .
@¡ 2 1°¡ 2 æ
° ¢
Putting these expressions equal to zero gives æ 2 = 12 x21 (1 ° ¡2 ) + (x2 ° ¡x1 )2 and
then after some computations ¡ = 2x1 x2 /(x21 + x22 ). Inserting the expression for ¡
is the equation for æ gives the maximum likelihood estimators
22
Chapter 6
Problem 6.5. The best linear predictor of Yn+1 in terms of 1, X0 , Y1 , . . . , Yn i.e.
Ŷn+1 = a0 + cX0 + a1 Y1 + · · · + an Yn ,
Cov(Yn+1 ° Ŷn+1 , 1) = 0
Cov(Yn+1 ° Ŷn+1 , X0 ) = 0
Cov(Yn+1 ° Ŷn+1 , Yj ) = 0, j = 1, . . . , n.
so we must have c = 0. This does not effect the other equations since E[Yj X0 ] = 0
for each j.
Problem 6.6. Put Yt = rXt . Then {Yt : t 2 Z} is an AR(2) process. We can
rewrite this as Xt+1 = Yt + Xt°1 . Putting t = n + h and using the linearity of the
projection operator Pn gives Pn Xn+h = Pn Yn+h + Pn Xn+h°1 . Since {Yt : t 2 Z} is
AR(2) process we have Pn Yn+1 = ¡1 Yn + ¡2 Yn°1 , Pn Yn+2 = ¡1 Pn Yn+1 + ¡2 Yn and
iterating we find Pn Yn+h = ¡1 Pn Yn+h°1 + ¡2 Pn Yn+h°2 . Let ¡§ (z) = (1 ° z)¡(z) =
1 ° ¡§1 z ° ¡§2 z 2 ° ¡§3 z 3 . Then
(1 ° z)¡(z) = 1 ° ¡1 z ° ¡2 z ° z + ¡1 z 2 + ¡2 z 3 ,
and then
Hence, we have
Ω
¡§1 g(h ° 1) + ¡§2 g(h ° 2) + ¡§3 g(h ° 3), h ∏ 1,
g(h) =
Xn+h , h ∑ 0.
We may suggest a solution of the form g(h) = a+bª1°h +cª2°h , h > °3 where ª1 and
ª2 are the solutions to ¡(z) = 0 and g(°2) = Xn°2 , g(°1) = Xn°1 and g(0) = Xn .
Let us first find the roots ª1 and ª2 .
4 1 16
¡(z) = 1 ° 0.8z + 0.25z 2 = 1 ° z + z 2 = 0 ) z 2 ° z + 4 = 0.
5 4 5
23
p
We get that z = 8/5 ± (8/5)2 ° 4 = (8 ± 6i)/5. Then ª1°1 = 5/(8 + 6i) = · · · =
0.4 ° 0.3i and ª2°1 = 0.4 + 0.3i. Next we find the constants a, b and c by solving
Note that (0.4 ° 0.3i)2 = 0.07 ° 0.24i and (0.4 + 0.3i)2 = 0.07 + 0.24i so we get the
equations
24
Chapter 7
Problem 7.1. The problem is not very well formulated; we replace the condition
ΩY (h) ! 0 as h ! 1 by the condition that ΩY (h) is strictly decreasing.
The process is stationary if µ̄t = E[(X1,t , X2,t )T ] = (µ1 , µ2 )T and Γ(t + h, t) does
not depend on t. We may assume that {Yt } has mean zero so that
E[X1,t ] = E[Yt ] = 0
E[X2,t ] = E[Yt°d ] = 0,
and the covariance function is
µ ∂
E[Yt+h Yt ] E[Yt+h Yt°d ]
Γ(t + h, t) = E[(X1,t+h , X2,t+h ) (X1,t , X2,t )] =
T
E[Yt+h°d Yt ] E[Yt+h°d Yt°d ]
µ ∂
∞Y (h) ∞Y (h + d)
= .
∞Y (h ° d) ∞Y (h)
Since neither µ̄t or Γ(t + h, t) depend on t, the process is stationary. We assume
that ΩY (h) ! 0 as h ! 1. Then we have that the cross-correlation
∞12 (h) ∞Y (h + d)
Ω12 (h) = p = = ΩY (h + d).
∞11 (0)∞22 (0) ∞Y (0)
Since {X1,t } and {X2,t } are MA(1) processes we know that their ACF’s are
Ω
1 h=0
ΩX1 (h) =
0.8/(1 + 0.82 ) h = ±1
Ω
1 h=0
ΩX2 (h) =
°0.6/(1 + 0.62 ) h = ±1
25
Hence
1
X
Ω11 (j)Ω22 (j) = Ω11 (°1)Ω22 (°1) + Ω11 (0)Ω22 (0) + Ω11 (1)Ω22 (1)
j=°1
0.8 °0.6 0.8 °0.6
= · +1+ · º 0.57.
1 + 0.8 1 + 0.6
2 2 1 + 0.8 1 + 0.62
2
For the covariance we see that Ω11 (j) 6= 0 if j = °1, 0, 1 and Ω22 (j + k ° h) 6= 0 if
j + k ° h = °1, 0, 1. Hence, the covariance is
1
X
Ω11 (j)Ω22 (j + k ° h) = Ω11 (°1)Ω22 (0) + Ω11 (0)Ω22 (1) º 0.0466, if k ° h = 1
j=°1
X1
Ω11 (j)Ω22 (j + k ° h) = Ω11 (0)Ω22 (°1) + Ω11 (1)Ω22 (0) º 0.0466, if k ° h = °1
j=°1
X1
Ω11 (j)Ω22 (j + k ° h) = Ω11 (°1)Ω22 (1) º °0.2152, if k ° h = 2
j=°1
X1
Ω11 (j)Ω22 (j + k ° h) = Ω11 (1)Ω22 (°1) º °0.2152, if k ° h = °2.
j=°1
Problem 7.5. We have {Xt : t 2 Z} is a causal process if det (Φ (z)) 6= 0 for all
|z| ∑ 1, due to Brockwell-Davis page 242. Further more we have that if {Xt : t 2 Z}
is a causal process, then
1
X
Xt = Ψj Zt°j ,
j=0
where
1
X
Ψj = Θj + Φk Ψj°k
k=1
Θ0 = I
Θj = 0 for j > q
Φj = 0 for j > p
Ψj = 0 for j < 0
and
1
X
Γ(h) = Ψh+j ΣΨTj , h = 0, ±1, ±2, . . .
j=0
26
From the last equation we get that Ψn+1 = Φn1 Ψ1 = Φn1 (ΦT1 + Φ1 ) and from the
definition of Φ1
∑ ∏ ≥ ¥2 ∑ ∏
1 1 n 1 5 4
Φn1 = n ΦT1 + Φ1 = .
2 0 1 4 4 5
We have that
(
I, ≥ ¥ h=0
Ψh =
Φh°1
1 ΦT
1 + Φ1 , h>0
27
Chapter 8
Problem 8.7. First we would like to show that
∑ ∏∑ ∏
1 µ Zt+1
Xt+1 = (8.1)
µ 0 Zt
is a solution to
∑ ∏ ∑ ∏
0 1 1
Xt+1 = Xt + Zt+1 . (8.2)
0 0 µ
Let
∑ ∏ ∑ ∏
0 1 1
A= and B = ,
0 0 µ
and hence (8.1) is a solution to equation (8.2). Next we prove that (8.1) is a unique
solution to (8.2). Let X0t+1 be another solution to equation (8.2) and consider the
difference
since A2 = 0. This implies that Xt+1 = X0t+1 , i.e. (8.1) is a unique solution to
(8.2). Moreover, Xt is stationary since
∑ ∏∑ ∏ ∑ ∏
1 µ E[Zt ] 0
µX (t) = =
µ 0 E[Zt°1 ] 0
and
∑ ∏
∞11 (t + h, t) ∞12 (t + h, t)
ΓX (t + h, t) =
∞21 (t + h, t) ∞22 (t + h, t)
∑ ∏
Cov(Zt+h + µZt+h°1 , Zt + µZt°1 ) Cov(Zt+h + µZt+h°1 , µZt )
=
Cov(µZt+h , Zt + µZt°1 ) Cov(µZt+h , µZt )
∑ ° ¢ ∏
1 + µ 1{0} (h) + µ1{°1,1} (h) µ1{0} (h) + µ2 1{1} (h)
2
= æ2 ,
µ1{0} (h) + µ2 1{°1} (h) µ2 1{0} (h)
28
Problem 8.9. Let Yt consist of Yt,1 and Yt,2 , then we can write
∑ ∏ ∑ ∏ ∑ ∏ ∑ ∏
Yt,1 G1 Xt,1 + Wt,1 G1 Xt,1 Wt,1
Yt = = = +
Yt,1 G2 Xt,2 + Wt,2 G2 Xt,2 Wt,2
∑ ∏∑ ∏ ∑ ∏
G1 0 Xt,1 Wt,1
= + .
0 G2 Xt,2 Wt,2
Set
∑ ∏ ∑ ∏ ∑ ∏
G1 0 Xt,1 Wt,1
G= , Xt = and Wt =
0 G2 Xt,1 Wt,2
then we have Yt = GXt + Wt . Similarly we have that
∑ ∏ ∑ ∏ ∑ ∏ ∑ ∏
Xt+1,1 F1 Xt,1 + Vt,1 F1 Xt,1 Vt,1
Xt+1 = = = +
Xt+1,1 F2 Xt,2 + Vt,2 F2 Xt,2 Vt,2
∑ ∏∑ ∏ ∑ ∏
F1 0 Xt,1 Vt,1
= +
0 F2 Xt,2 Vt,2
and set
∑ ∏ ∑ ∏
F1 0 Vt,1
F = and Vt = .
0 F2 Vt,2
Finally we have the state-space representation
Yt = GXt + Wt
Xt+1 = F Xt + Vt .
Problem 8.13. We have to solve
Ω2
Ω + æv2 ° =Ω
Ω + æw
2
which is equivalent to
Ω2
° æv2 = 0.
Ω + æw
2
Multiplying with Ω + æw
2
we get
Ω2 ° Ωæv2 ° æw æv = 0,
2 2
Ωt æ w
2
Ωæw2
= °
Ωt + æw 2 Ω + æw 2
µ ∂
Ωt Ω
= æw2
° .
Ωt + æw 2 Ω + æw 2
29
This implies that
µ ∂
Ωt Ω
(Ωt+1 ° Ω)(Ωt ° Ω) = æw
2
° (Ωt ° Ω).
Ωt + æw
2 Ω + æw
2
µæ 2 = °æw
2
æ 2 (1 + µ2 ) = 2æw
2
+ æv2 .
(2æw
2
+ æv2 )µ + æw
2
+ æw µ = 0.
2 2
æ2
To show that µ = ° æ2 +Ω
w
, recall the steady-state solution
w
p
æv2 + æv4 + 4æv2 æw
2
Ω= ,
2
which gives
p
2æw2
+ æv2 ° æv4 + 4æv2 æw
2
µ=°
2æw
2
≥ p ¥≥ p ¥
2æw + æv ° æv4 + 4æv2 æw
2 2 2 2æw
2
+ æv2 + æv4 + 4æv2 æw
2
=° ≥ p ¥
2æw2 2æ 2 + æ 2 +
w v æv4 + 4æv2 æw
2
4æw
4
+ 4æv2 æw2
+ æv4 ° æv4 ° 4æv2 æw
2
4æw 4 2
æw
=° = ° = ° .
2æw 2 (2æ 2 + 2Ω)
w 4æw
2 (æ 2 + Ω)
w
2 +Ω
æw
30
Chapter 10
Problem 10.5. First a remark on existence of such a process: We assume for
simplicity that p = 1. A necessary and sufficient condition for the existence of a
causal, stationary solution to the ARCH(1) equations with E[Zt4 ] < 1 is that Æ12 <
1/3. If p > 1 existence of a causal, stationary solution is much more complicated.
Let us now proceed with the solution to the problem.
We have
√ p
! √ p
! √ p
!
X X Z 2
e2 X e2 ht Z2
e2t 1 + Æi Yt°i = e2t 1 + Æi t°i = t Æ0 + 2
Æi Zt°i = t = t = Yt ,
i=1 i=1
Æ0 Æ0 i=1
Æ0 Æ0
hence Yt = Zt2 /Æ0 satisfies the given equation. Let us now compute its ACVF. We
assume h ∏ 1, then
" √ p
! #
X
E[Yt Yt°h ] = E et 1 +
2
Æi Yt°i Yt°h
i=1
" p
#
X
= E[e2t ]E Yt°h + Æi Yt°i Yt°h
i=1
p
X
= E[Yt°h ] + Æi E[Yt°i Yt°h ].
i=1
and then
p
√ p
!
X X
∞Y (h) ° Æi ∞Y (h ° i) = µY + µ2Y Æi ° 1 .
i=1 i=1
We can compute µY as
" √ p
!# p p
X X X
µY = E[Yt ] = E e2t 1+ Æi Yt°i =1+ Æi E[Yt ] = 1 + µY Æi .
i=1 i=1 i=1
Pp
From this expression we see that µY = 1/(1 ° i=1 Æi ). This means that we have
p
X Pp
1 Æ °1
∞Y (h) ° Æi ∞Y (h ° i) = Pp + Pp i
i=1
= 0.
i=1
1° i=1 Æi (1 ° i=1 Æi )
2
ΩY (0) = 1,
p
X
ΩY (h) ° Æi ΩY (h ° i) = 0, h ∏ 1,
i=1
which corresponds to the Yule-Walker equations for the ACF for an AR(p) process
Wt = Æ1 Wt°1 + · · · + Æp Wt°p + Zt .
31