253. MA

Moving average

MA(𝑞)𝑥𝑡=𝑐+𝜃(𝐵)𝜀𝑡𝜃(𝐵)=1+𝜃1𝐵+𝜃2𝐵2++𝜃𝑞𝐵𝑞

i.e.,

𝑥𝑡=𝑐+𝜀𝑡+𝜃1𝜀𝑡1++𝜃𝑞𝜀𝑡𝑞

Always stationary. Invertible if roots of 𝜃(𝐵)=0 lie outside the unit circle.

Parameters: 𝜃1,,𝜃𝑞, 𝑐, 𝜎2
Orders: 𝑞

Example: MA(1)

Given

  • Order: 𝑞=1
  • Parameters: 𝜃1=0.5, 𝑐=0
  • Initial innovation: 𝜀0=0
  • Data:
𝑡12345678910111213141516
x𝑡121081114129131614111518161317

Step 1 — formula

Substitute 𝑞=1 into the MA(𝑞) recursion:

𝑥𝑡=𝑐+𝜀𝑡+𝜃1𝜀𝑡1

Forecast (set 𝜀𝑡=0):

𝑥̂𝑡=𝑐+𝜃1𝜀𝑡1

Innovation:

𝜀𝑡=𝑥𝑡𝑥̂𝑡

Step 2 — apply at 𝑡=1

Plug in 𝑐=0, 𝜃1=0.5, and 𝜀0=0:

𝑥̂1=0+0.50=0𝜀1=𝑥1𝑥̂1=120=12

Step 3 — iterate

Each row uses the previous innovation 𝜀𝑡1. Values rounded to 4 decimal places.

𝑡𝑥𝑡𝑥̂𝑡=0.5𝜀𝑡1𝜀𝑡=𝑥𝑡𝑥̂𝑡
1120.50=0120=12
2100.512=6106=4
380.54=282=6
4110.56=3113=8
5140.58=4144=10
6120.510=5125=7
790.57=3.593.5=5.5
8130.55.5=2.75132.75=10.25
9160.510.25=5.125165.125=10.875
10140.510.875=5.4375145.4375=8.5625
11110.58.5625=4.2813114.2813=6.7188
12150.56.7188=3.3594153.3594=11.6406
13180.511.6406=5.8203185.8203=12.1797
14160.512.1797=6.0898166.0898=9.9102
15130.59.9102=4.9551134.9551=8.0449
16170.58.0449=4.0225174.0225=12.9775
170.512.9775=6.4888

Like AR(1), MA(1) cannot capture the trend or seasonality in 𝑥.