A q-order moving average process, denoted MA(q) takes the form
Thinking of the subscripts i as representing time, we see that the value of y at time i+1 is a linear function of past errors. We assume that the error terms are independently distributed with a normal distribution with mean zero and a constant variance σ2. Thus
Observation: An MA(q) process can be expressed as
where zi = yi – μ. Thus, we can often simplify our analyses by restricting ourselves to the case where the mean is zero.
Using the lag operator, we can express a zero mean MA(q) process as
Property 1: The mean of an MA(q) process is μ.
Property 2: The variance of an MA(q) process is
Property 3: The autocorrelation function of an MA(1) process is
Property 4: The autocorrelation function of an MA(2) process is
Property 5: The autocorrelation function of an MA(q) process is
for h ≤ q and ρh = 0 for h > q
Property 6: The PACF of an MA(1) process is
where 1 ≤ j < n.
If the process is invertible (see Invertible MA(q) Processes) then
Example 1: Simulate a sample of size 199 from the MA(1) process yi = 4 + εi + .5εi-1 where εi ∼ N(0,2).
Thus μ = 4, θ1 = .5 and σ = 2. We simulate the independent by using the Excel formula =NORM.INV(RAND(),0,2) in column B of Figure 1 (only the first 20 of 199 values is shown). The yi values are calculated by placing the formula =4+B5+0.5*B4 in cell C5, highlighting the range C5:C203 and pressing Ctrl-D. The graph of the y values is shown on the right side of Figure 1. As you can see, no particular pattern in visible.
Figure 1 – Simulated MA(1) data
By Property 1 and 2, the theoretical values for the mean and variance are μ = 4 and var(yi) = σ2(1+) = 22(1+.52) = 5. These compare to the actual time series values of y̅ = AVERAGE(C6:C204) = 4.358 and s2 = VAR.P(C6:C204) = 4.401.
The ACF values are shown for lags 1 through 15 in Figure 2. These are calculated from the y values as in Example 1 of AR(p) Process Basic Concepts. Note that the ACF value at lag 1 is .301285. Based on Property 3, the population ACF value at lag 1 is
The ACF values for lags h > 1 vary from about -.18 to .16, compared to the theoretical value of ρh = 0 (per Property 3). As you can see from Figure 2, the sample values can be quite different from the theoretical values.
Figure 2 – ACF for MA(1) process
Observation: By Property 3
But note that
and so the reciprocal of θ1 yields the same ACF. Thus, if we are seeking a coefficient θ1 that yields a particular ρ1 value, we can always choose a coefficient whose absolute value is at most 1. In fact, it turns out that there is always a unique such θ1 whose absolute value is less than 1.
This is also true for any MA(q) process, and so we will restrict our MA(q) processes to those where |θj| < 1 for all j. This also ensures that the MA(q) process is invertible (see Invertible MA(q) Processes).
Example 2: Chart PACF for the data in Example 1.
The approach is as described in Example 1 of Partial Autocorrelation Function. The chart is shown in Figure 3.
Figure 3 – Graph of PACF for MA(1) Process
The theoretical PACF values are calculated using Property 6. In particular we insert the following formula in cell G5, highlight the range G5:G19 and press Ctrl-D.
=-((-0.5)^E5*(1-0.5^2)/(1-0.5^(2*E5+2)))
Note that we couldn’t use the following formula
=-(-0.5)^E5*(1-0.5^2)/(1-0.5^(2*E5+2))
This is because Excel incorrectly evaluates any expressions of the form -a^n as if they were (-a)^n. Thus –1^2 and –(–1)^2 are evaluated as 1 instead of -1.
Observation: We can see from Figure 3 that the absolute value of the PACF values tend towards zero as the lag increases. This is generally true for an MA(q) model.

















