Quiz-5 Answers and Solutions: Coursera. Stochastic Processes December 30, 2020
Quiz-5 Answers and Solutions: Coursera. Stochastic Processes December 30, 2020
Quiz-5 Answers and Solutions: Coursera. Stochastic Processes December 30, 2020
(
0, if t>s+h
=
cov(Wt+h − Ws+h + Ws+h − Wt , Ws+h − Ws ), if t≤s+h
(
0, if t>s+h
=
cov(Ws+h − Wt , Ws+h − Wt + Wt − Ws ), if t≤s+h
(
0, if t>s+h
=
Var(Ws+h − Wt ), if t≤s+h
(
0, if t>s+h
=
s + h − t, if t≤s+h
1
K(t, s) = Cov(Yt ; Ys )
= Cov(αt−1 X0 + · · · + α0 Xt−1 ; αs−1 X0 + · · · + α0 Xs−1 )
= αt−1 αs−1 + αt−2 αs−2 + · · · + αt−s+1 α + αt−s α
= αt−s (α2s−2 + α2s−4 + · · · + 1)
1 − α2s
= αt−s .
1 − α2
4. Consider the process Xt = cos ξt + sin ξt−1 , where ξt ∼ U nif ([0, 2π]) for
all t ∈ N. Choose the correct statements about this process.
Answer: EXt = 0 and Xt is weakly stationary
Solution:
Since
1
E sin ξt cos ξt = E[sin 2ξt ] = 0
2
and E cos2 ξt + E sin2 ξt−1 = 1, we get that K(t, s) = 1 · I{t = s}, and the
process is weakly stationary.
5. Consider the process
Find the mean and the covariance function of this process and determine
whether it is weakly stationary.
Answer: Xt is weakly stationary.
E[Xt ] = 0,
3, t = s,
−2, |t − s| = 1,
K(t, s) =
1, |t − s| = 2,
0, |t − s| > 2.
Solution:
2
cov(Xt , Xs ) = cov(ξt+2 − ξt+1 + ξt , ξs+2 − ξs+1 + ξs )
= (1 + 1 + 1)I{t = s} + (−1 − 1)I{|t − s| = 1} + I{|t − s| = 2}
3, t = s,
−2, |t − s| = 1,
=
1, |t − s| = 2,
0, |t − s| > 2.
Since E[Xt ] = const and K(t, s) depends only on the difference t − s, the
process is weakly stationary.
Yt = Xt + Xt−1 + Xt−2 ,
where
1
Answer: gY (u) = 2π 9 + 12 cos 2u − 16 cos2 u + 4 cos2 2u .
Solution: Since Yt is the linear filter for the process Xt , its spectral
density can be calculated as
gY (u) = gX (u)|F[ρ](u)|2 ,
3
and
|F[ρ](u)|2 = F F̄(u)
= (1 + eiu + e2iu )(1 + e−iu + e−2iu ) = 3 + 2(eiu + e−iu ) + (e2iu + e−2iu )
= 3 + 4 cos u + 2 cos 2u
and
1
gY (u) = (3 − 4 cos u + 2 cos 2u) (3 + 4 cos u + 2 cos 2u)
2π
1
9 + 12 cos 2u − 16 cos2 u + 4 cos2 2u .
=
2π