Introduction
MA(1)
MA(q)
Application
Introduction
The AR processes have infinite non-zero autocorrelation
coefficients that decay with the lag. The AR have a relative
long memory, with decreasing coefficients
A family of processes that have very short memory
property are the Moving Average (MA). MA processes are a
function of a finite and generally small, number of its past
innovations.
Later, we will combine the properties of the AR and MA
processes to define the ARMA process, which give us a very
broad and flexible family of stationary stochastic processes
useful in representing many time series.
xt zt zt 1
where xt xt , zt WN (0, z2 ) with being the
mean of the process.
The MA(1) can be written with the operator notation:
xt (1 B) zt
MA(1): assumption
x t i x t i t z 0 zt
i 1
Expectation:
Variance:
E ( xt ) 0, implies E xt
Var (x t ) x2 (1 2 ) z2
1 E ( xt xt 1 ) z2
1
, k 0, for k>1
2
1
| 1 |
| |
1
1 2 2
Notice that
MA(1) example
Consider MA(1):
x t 10 zt 0.7 zt 1 where zt
ACF
IID(0,1)
0.7
0.4698, and h 0 for h>1
2
1 0.7
MA(1) example
xt zt 1 zt 1 2 zt 2
= (1- 1 B 2 B 2 )z t
is stationary for all 1 , 2
The MA(2) is invertible only if the roots of the
characteristic equation:
1 1 B 2 B 2 0
lie outside the unit circle, that is
2 1 1
2 1 1
1 2 1
MA(2): ACF
Var (x t ) 0 z2 (1 12 22 )
10
MA(2) example 1
IID(0,1)
0.5 0.5*0.3
0.4851
2
2
1 0.5 0.3
0.3
2
0.2239
2
2
1 0.5 0.3
and h 0 for h>1
11
MA(2) example 1
12
MA(2): Example
13
MA(2) example 2
14
MA(2) example 2
15
X t Z t 1Z t 1 ... q Z t q
WN (0, 2 )
Where
X is a linear combination of q+1 white noise variables and
t
we
say that it is q-correlated.
Operator notation:
X t (B) Zt
(B) 1 1 B 2 B 2 ... q B q
16
Auto-covariance:
0 (1 12 ... q2 ) 2
k ( k 1 k 1 ... q k q ) 2 for k=1,...,q
k 0
for k>q
Auto-correlation:
q
i k i
i 0
i 0
k 0
for k=1,...,q
2
i
for k>q
Trang Nguyen, ISE-IU, Fall 2016
17
lags=0:10
#creates a variable named lags that ranges from 0 to 10.
plot(lags,acfma1,xlim=c(1,10), ylab="r",type="h", main = "ACF for
MA(1) with theta1 = 0.7")
abline (h=0)
18