Professional Documents
Culture Documents
MA (Moving Average,移動平均) Model
MA (Moving Average,移動平均) Model
4 MA Model
1. MA( q)
yt = t + θ1 t−1 + θ2 t−2 + · · · + θq t−q ,
where
θ(L) = 1 + θ1 L + θ2 L2 + · · · + θq Lq .
111
2. Invertibility (反転可能性):
112
γ(1) = E(yt yt−1 ) = E((t + θ1 t−1 )(t−1 + θ1 t−2 )) = θ1 σ2
Let x be ρ(1).
θ1
= x, i.e., xθ12 − θ + x = 0.
1 + θ12
θ1 should be a real number.
1 1
1 − 4x2 > 0, i.e., − ≤ ρ(1) ≤ .
2 2
113
4. Invertibility Condition of MA(1) Process:
t = −θ1 t−1 + yt
When (−θ1 ) s t−s −→ 0, the MA(1) model is written as the AR(∞) model, i.e.,
The autocovariance functions are: γ(0) = (1+θ12 )σ2 , γ(1) = θ1 σ2 , and γ(τ) = 0
for τ = 2, 3, · · ·.
114
The joint distribution of y1 , y2 , · · · , yT is:
( )
1 −1/2 1 0 −1
f (y1 , y2 , · · · , yT ) = |V| exp − Y V Y
(2π)T/2 2
where
1 + θ2 θ1 ···
y 1 0 0
1 ... ..
θ1 1 + θ12 θ1 .
y2
2 ... ...
Y = . , V = σ 0 θ1 0 .
.. . .. ..
.. . . 1 + θ12 θ1
yT
0 ··· 0 θ1 1 + θ1
2
115
6. MA(1) +drift: yt = µ + t + θ1 t−1
where θ(L) = 1 + θ1 L.
E(yt ) = µ + θ(L)E(t ) = µ.
116
Example: MA(2) Model: yt = t + θ1 t−1 + θ2 t−2
For invertibility condition, both β1 and β2 should be less than one in absolute
value.
yt = t + θ1 t−1 + θ2 t−2
117
= (1 + θ1 L + θ2 L2 )t
= (1 + β1 L)(1 + β2 L)t
1
t = yt
(1 + β1 L)(1 + β2 L)
( )
β1 /(β1 − β2 ) −β2 /(β1 − β2 )
= + yt
1 + β1 L 1 + β2 L
118
3. Likelihood Function:
( )
1 −1/2 1 0 −1
f (y1 , y2 , · · · , yT ) = |V| exp − Y V Y
(2π)T/2 2
where
1 + θ2 + θ2 θ1 + θ1 θ2 θ2
y 1 2 0
1 ...
θ1 + θ1 θ2 1 + θ12 + θ22 θ1 + θ1 θ2
y2
2 ... ...
Y = . , V = σ θ2 θ1 + θ1 θ2 θ2
.. .. ..
. . 1 + θ12 + θ22 θ1 + θ1 θ2
yT
0 θ2 θ1 + θ1 θ2 1 + θ1 + θ2
2 2
119
4. MA(2) +drift: yt = µ + t + θ1 t−1 + θ2 t−2
Mean:
yt = µ + θ(L)t ,
where θ(L) = 1 + θ1 L + θ2 L2 .
Therefore,
E(yt ) = µ + θ(L)E(t ) = µ
120
Example: MA(q) Model: yt = t + θ1 t−1 + θ2 t−2 + · · · + θq t−q
where θ0 = 1.
121
Mean:
yt = µ + θ(L)t ,
where θ(L) = 1 + θ1 L + θ2 L2 + · · · + θq Lq .
Therefore, we have:
E(yt ) = µ + θ(L)E(t ) = µ.
122
6.5 ARMA Model
1. ARMA(p, q)
2. Likelihood Function:
123
Example: ARMA(1,1) Process: yt = φ1 yt−1 + t + θ1 t−1
Obtain the autocorrelation coefficient.
The mean of yt is to take the expectation on both sides.
124
(φ1 + θ1 )σ2 , τ = 0,
σ , τ = 0,
2
2
E(t yt−τ ) =
E(t−1 yt−τ ) =
σ , τ = 1,
0, τ = 1, 2, · · · ,
0, τ = 2, 3, · · · .
Therefore, we obtain;
From the first two equations, γ(0) and γ(1) are computed by:
( 1 −φ1 ) ( γ(0) ) ( 1 + φ θ + θ2 )
1 1 1
= σ
2
−φ1 1 γ(1) θ1
125
(1 φ1 ) ( 1 + φ1 θ1 + θ12 ) ( 1 + 2φ θ + θ2 )
σ2 σ2 1 1 1
= = .
1 − φ21 φ1 1 θ1 1 − φ1 (1 + φ1 θ1 )(φ1 + θ1 )
2
(1 + φ1 θ1 )(φ1 + θ1 )
ρ(1) = .
1 + 2φ1 θ1 + θ12
We have:
ρ(τ) = φ1 ρ(τ − 1).
126
ARMA(p, q) +drift:
yt = µ + φ1 yt−1 + φ2 yt−2 + · · · φ p yt−p + t + θ1 t−1 + θ2 t−2 + · · · + θq t−q .
Therefore,
µ
E(yt ) = φ(L)−1 µ + φ(L)−1 θ(L)E(t ) = φ(1)−1 µ = .
1 − φ1 − φ2 − · · · − φ p
127