liveBook · Manning

Moving average model

As explained in Statistics Every Programmer Needs

A moving-average component represents a time-series observation as a function of current and past residual errors.

A moving-average (MA) component models the current time-series observation as a linear combination of current and past residual errors. It captures short-term fluctuations that autoregression and differencing do not explain, helping represent irregular variation. section 7.3.3

Use the MA component to:

  • Represent dependence between an observation and residual errors from lagged observations. section 7.3.8
  • Inspect ACF and PACF plots after differencing to determine whether residual autocorrelation remains. section 7.3.8
  • Prefer a simpler MA specification when diagnostic plots show no significant correlations beyond lag 0. section 7.3.8

Selecting MA(0)

For a differenced time series whose ACF and PACF plots show no significant spikes beyond lag 0, choose MA(0). This indicates that no residual autocorrelation remains beyond the immediate lagged values and avoids unnecessary model complexity. section 7.3.8

How Statistics Every Programmer Needs covers it

How deep it goes
Defines residual-error dependence and uses ACF/PACF diagnostics to select MA order, stopping short of implementation details.
Examples
Uses differenced-series ACF and PACF plots to justify selecting MA(0).
What it assumes
Assumes familiarity with time-series observations, residual errors, differencing, ARIMA, ACF, and PACF.
What you can do after
Evaluate/understand residual autocorrelation and select a parsimonious MA order from ACF and PACF evidence.
How it connects
Connects moving-average models with ARIMA, autoregression, differencing, stationarity, ACF, and PACF.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Every Programmer Needs. The section links point to the parts of the book it draws on.