






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Forecasting
Consider the forecasting, or prediction, of
z t
l
given
z t , z
t − 1 ,...
assuming
z t }
follows some
known
p , d , q ) model.
Let ˜
z t ( l ) be any function of
t
= (
z t , z
t −
1 ,...
). The mean square
error of forecasting
z t
l
by ˜
z t ( l ) is seen to satisfy
E [ z t + l −
˜z t ( l )]
2 = E [ z t + l − E [
z t + l | Z t
2 + E [ E [ z t + l |
t ] −
˜z t ( l )]
2
≥ E [ z t + l − E [
z t + l | Z t
2 .
Hence,
z t + l | Z t
] is the minimum mean square error forecast of
z t
l
given
t , to be denoted by ˆ
z t ( l ).
Recall the truncated MA form
z t + l = I t ( l
t ( l ), where
t ( l ) =
l −
1
ψ
j (^) a
t
l −
j
and
t ( l ) is the complimentary function at
origin
t
. It is easily seen that ˆ
z t ( l ) =
t ( l ).
t ( l ) is the forecasting
error, to be denoted by
e t ( l ).
Spring 2024
Forecasting
Consider the difference equation form of the model
z t + l = ∑ p + d
ϕ
j (^) z t
l − j + a t + l − ∑
θ j (^) a
t
l −
j (^).
Taking conditional expectations at time
t , one has
ˆz t ( l ) =
p
d
ϕ
j (^) ˆz t ( l − j ) − ∑
l θ j (^) a t
l −
j (^) ,
where ˆ
z t ( k ) =
z t
k
for
k
Based on the AR form of the model,
z t + l = ∑
π j (^) z t
l − j + a t + l ,
one has ˆ
z t ( l ) =
π j (^) ˆz t ( l −
j ), where ˆ
z t ( k ) =
z t
k
for
k
From
z t + l = ∑ l
−
1
ψ
j (^) a
t
l −
j
z t ( l ), it is easy to show that
ˆz t
l −
z t ( l ) +
ψ
l −
1 a t
As soon as
z t
becomes available, one may calculate
a t
z t
ˆz t (1) and update the forecast of
z t
l
by ˆ
z t
l −
Spring 2024
Forecasting
The forecasting error
e t ( l ) =
l −
1
ψ
j (^) a
t
l − j
has variance
l ) = (1 +
l −
1
ψ
j 2 ) σ a 2 ,
which naturally increases with
l
. The formula can be used to
calculate “prediction intervals” for
z t
l ,
ˆz t ( l ) ± 1.
l −
1
ψ
j 2 (^) ) σ a .
For the examples above, (
− 1. 8 B +. 8 B 2 ) z t = a t
(model A) and
2 z t
= (
5 B 2 ) a t
(model B),
l ) /σ
a 2
at
l = 1
(^) 6 are
calculated and listed below.
l 1 2 3 4 5 6
Spring 2024
Forecasting
For
l > q
z t ( l ) =
p
d
ϕ
j (^) ˆz t ( l −
j ), so the “eventual” forecasting
function satisfies the equation
ϕ
( B
)ˆ z t ( l ) = 0, hence are of the form
ˆz t ( l ) =
b ( t )
0
f 0 ( l ) +
b ( t )
p + d − 1 f p + d − 1 ( l
where
f j (^) ( l ) are determined by the roots of
ϕ
( B
) and
b ( t )
j
by the
initial values. Recall the form of complimentary function
t ( l ).
From ˆ
z t ( l ) =
π j (^) ˆz t ( l −
j ), one may express ˆ
z t ( l ) directly in
terms of
z t , z
t −
1 ,...
z t ( l ) =
π ( l )
j
z t −
j
ˆz t (1) =
π 1 z t + π 2 z t − 1 + π 3 z t − 2 +
ˆz t (2) =
π 1 (^) ˆz t (1) +
π 2 z t + π 3 z t − 1 +
π 1 π 1 + π 2 ) z t
π 1 π 2 + π 3 ) z t − 1 +
Spring 2024
Forecasting
Consider the model
∇ z t = a t −
θa
t −
1
. One has
ˆz t (1) =
z t −
θa
t ,
ˆz t ( l ) = ˆ
z t ( l −
z t (1)
l >
which give a constant forecast function. Since
ψ
j
= 1
θ ,
j >
the forecast function can be updated through
ˆz t
l ) = ˆ
z t
l −
z t ( l ) + (
θ ) a t
l >
The
π
weights are
π j
= (
− θ ) θ j − 1
. Note that
π j (2)
π j
ψ
1 π j
= (
θ ) θ j
− θ ) 2 θ j − 1 = π j
π so there is no surprise here. The calculation applies recursively to j (3)
, π
j (4)
(^). The variance of
e t ( l ) is easily seen to be
l ) =
σ a 2 (1 + (
l −
θ ) 2 ).
Spring 2024
Forecasting
Consider the model
∇ 2 z t = a t − θ 1 a t − 1 − θ 2 a t − 2
. One has
ˆz t (1) = 2
z t − 1 z t − 1 − θ 1 a t − θ 2 a t − 1 ,
ˆz t (2) = 2ˆ
z t (1)
− z t − θ 2 a t ,
ˆz t ( l ) = 2ˆ
z t ( l −
ˆz t ( l −
l >
Since
ψ j = λ 0 + λ 1 j
, where
λ 0
= 1 +
θ 2
and
λ 1
= 1
− θ 1 − θ 2 ,
ˆz t
l −
z t ( l ) + (
λ 0 + λ 1 ( l −
a t
l >
In the form of the complimentary function, ˆ
z t ( l ) =
b ( t )
0 + b ( t )
1
l , and
b ( t +1)
0 = b ( t )
0 + b ( t )
1 + λ 0 a t
b ( t +1)
1 = b ( t )
1 + λ 1 a t
The variance of
e t ( l ) is given by
l ) =
σ a 2 (1 + (
l −
λ 02
6 1 (^) l ( l −
l −
λ 12
Spring 2024
Forecasting
Consider the model
z t
=
φz
t − 1 + a t −
θa
t −
1
. One has
ˆz t (1) =
φz
t −
θa
t ,
ˆz t ( l ) =
φ
ˆz t ( l −
φ
l −
1 ˆz^ t (1)
l >
Since
ψ
j
= (
φ − θ ) φ j − 1 ,
j >
0, so for
l >
ˆz t
l −
z t ( l ) + (
φ − θ ) φ l
−
2 a t
In particular, one has the updating formula
ˆz t
z t (2) + (
φ − θ ) a t
φ
ˆz t (1) + (
φ − θ ) a t
The
π
weights are
π j
= (
φ − θ ) θ j − 1
, so
π ( l )
j = φ l − 1 ( φ − θ ) θ j − 1
. The
variance of
e t ( l ) is seen to be
l ) =
σ a 2 { 1 + (
φ
θ ) 2 (
φ
2(
l −
) / (
− φ 2 ) }.
Spring 2024
Forecasting
Consider the model (
−
φB
)(
− B ) z t = a t −
θa
t − 1
. One has
ˆz t (1) = (1 +
φ ) z t −
φz
t − 1
−
θa
t ,
ˆz t ( l ) = (1 +
φ )ˆ z t ( l −
−
φ
ˆz t ( l −
,
l >
1 .
Since (
−
φB
)(
−
B
)ˆ z t ( l ) = 0,
l >
1, ˆ
z t ( l ) =
b ( t )
0
b ( t )
1
φ l , where
b ( t )
0
= (
z t −
φz
t − 1
−
θa
t ) / (
−
φ ) =
z t − b ( t )
1
,
b ( t )
1
= (
θa
t − φ ( z t − z t − 1
))
/ (
−
φ ) ,
yielding ˆ
z t ( l ) =
z t
φ (^1) − φ l
1 − φ ( z t −
(^) z t − 1 ) (^) −
θ (^1) − φ l
1 − φ
a t
. As
a t (^) =
(^) z t −
∑
π j (^) z t − j (^) ,
where
π 1
= 1 +
φ (^) −
θ , π j
= (
(^) −
θ )(
θ
−
(^) φ
) θ j − 2 ,
j >
1, some algebra yields
ˆz t ( l ) = (
− α l ) z t + α l {
(
−
θ ) (^) ∑
θ j − 1 z t − j
(^) } ,
where
α
l = (
θ −
φ )(
−
φ l ) / (
−
φ ). Now
ψ j = [(
−
θ ) +
φ l ( θ − φ
)] / (
−
φ ), so
V
( l ) =
σ a 2
(
− φ ) 2 { l
(
−
θ ) 2
θ − φ ) 2 1 − φ 2 l
1
−
φ 2
−
θ )(
θ − φ ) 1 − φ l
1
−
φ
} .
Spring 2024