Docsity

Minimum Mean Square Error Forecasts, Lecture notes of Fourier Transform and Series

Toggle sidebar
bg1
STAT 520 Forecasting 1
✬
✫
✩
✪
Minimum Mean Square Error Forecasts
Consider the forecasting, or prediction, of zt+lgiven zt, zt−1,...,
assuming {zt}follows some known ARIMA(p,d,q) model.
Let ˜zt(l) be any function of Zt= (zt, zt−1,...). The mean square
error of forecasting zt+lby ˜zt(l) is seen to satisfy
E[zt+l−˜zt(l)]2=E[zt+l−E[zt+l|Zt]]2+E[E[zt+l|Zt]−˜zt(l)]2
≥E[zt+l−E[zt+l|Zt]]2.
Hence, E[zt+l|Zt] is the minimum mean square error forecast of
zt+lgiven Zt, to be denoted by ˆzt(l).
Recall the truncated MA form zt+l=It(l) + Ct(l), where
It(l) = Pl−1
j=0 ψjat+l−jand Ct(l) is the complimentary function at
origin t. It is easily seen that ˆzt(l) = Ct(l). It(l) is the forecasting
error, to be denoted by et(l).
C. Gu Spring 2024
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Minimum Mean Square Error Forecasts and more Lecture notes Fourier Transform and Series in PDF only on Docsity!

Forecasting

Minimum Mean Square Error Forecasts

Consider the forecasting, or prediction, of

z t

l

given

z t , z

t − 1 ,...

assuming

z t }

follows some

known

ARIMA(

p , d , q ) model.

Let ˜

z t ( l ) be any function of

Z

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 |

Z

t ] −

˜z t ( l )]

2

≥ E [ z t + l − E [

z t + l | Z t

]]

2 .

Hence,

E

[

z t + l | Z t

] is the minimum mean square error forecast of

z t

l

given

Z

t , to be denoted by ˆ

z t ( l ).

Recall the truncated MA form

z t + l = I t ( l

C

t ( l ), where

I

t ( l ) =

l −

1

j

ψ

j (^) a

t

l −

j

and

C

t ( l ) is the complimentary function at

origin

t

. It is easily seen that ˆ

z t ( l ) =

C

t ( l ).

I

t ( l ) is the forecasting

error, to be denoted by

e t ( l ).

Spring 2024

Forecasting

Other Forms of Forecasts, Updating

Consider the difference equation form of the model

z t + l = ∑ p + d

j

ϕ

j (^) z t

l − j + a t + l − ∑

j q

θ j (^) a

t

l −

j (^).

Taking conditional expectations at time

t , one has

ˆz t ( l ) =

p

d

j

ϕ

j (^) ˆz t ( l − j ) − ∑

j q

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 ∞

π j (^) z t

l − j + a t + l ,

one has ˆ

z t ( l ) =

j ∞

π j (^) ˆz t ( l −

j ), where ˆ

z t ( k ) =

z t

k

for

k

From

z t + l = ∑ l

−

1

j

ψ

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

Probability Limits of Forecasts

The forecasting error

e t ( l ) =

l −

1

j

ψ

j (^) a

t

l − j

has variance

V

l ) = (1 +

l −

1

j

ψ

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

ψ

j 2 (^) ) σ a .

For the examples above, (

− 1. 8 B +. 8 B 2 ) z t = a t

(model A) and

2 z t

= (

B

5 B 2 ) a t

(model B),

V

l ) /σ

a 2

at

l = 1

(^) 6 are

calculated and listed below.

l 1 2 3 4 5 6

A

B

Spring 2024

Forecasting

Forecast Function and Weights

For

l > q

z t ( l ) =

p

d

j

ϕ

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

C

t ( l ).

From ˆ

z t ( l ) =

j ∞

π j (^) ˆz t ( l −

j ), one may express ˆ

z t ( l ) directly in

terms of

z t , z

t −

1 ,...

z t ( l ) =

j ∞

π ( 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

Example: IMA(0,1,1)

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

V

l ) =

σ a 2 (1 + (

l −

θ ) 2 ).

Spring 2024

Forecasting

Example: IMA(0,2,2)

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

V

l ) =

σ a 2 (1 + (

l −

λ 02

6 1 (^) l ( l −

l −

λ 12

  • λ 0 λ 1 l ( l −

Spring 2024

Forecasting

Example: ARMA(1,1)

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

V

l ) =

σ a 2 { 1 + (

φ

θ ) 2 (

φ

2(

l −

) / (

− φ 2 ) }.

Spring 2024

Forecasting

Example: ARIMA(1,1,1)

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 ∞

π j (^) z t − j (^) ,

where

π 1

= 1 +

φ (^) −

θ , π j

= (

(^) −

θ )(

θ

−

(^) φ

) θ j − 2 ,

j >

1, some algebra yields

ˆz t ( l ) = (

− α l ) z t + α l {

(

−

θ ) (^) ∑

j ∞

θ 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

  • 2(

−

θ )(

θ − φ ) 1 − φ l

1

−

φ

} .

Spring 2024