Statistics

Moving Average

Students slide a wooden frame along a row of colored tiles.

Moving Average definition

A moving average smooths an ordered series by averaging values inside a window that slides along the series.

In Spanish
media móvil
Topic
Time series

Moving Average in a picture

Moving Average diagramA trailing window of size 3 turns 2, 4, 9, 5 into the two full-window averages 5 and 6.Values: 2, 4, 9, 5Use a window of size 3(2 + 4 + 9) ÷ 3 = 5The first full window(4 + 9 + 5) ÷ 3 = 6Slide one step and average again
A trailing window of size 3 turns 2, 4, 9, 5 into the two full-window averages 5 and 6.

How it works

A trailing moving average uses the current value and earlier ones. A centered moving average uses values on both sides of the window center. Longer windows smooth more short-term variation, but they can obscure quick changes.

Worked examples

Find the three-point averages of 1, 3, 5, 7, 9.

3, 5, and 7.

What is the moving average of a constant sequence of 8s?

Each full-window average is 8.

How many complete four-value windows fit in seven observations?

7 − 4 + 1 = 4.

Common mistake

State whether the window is centered or trailing. A centered value can depend on observations from after its label time.

Quick check

Does sorting the data preserve a time-series moving average?

Show answer

Generally no. The order matters.

What does a larger window usually do to short-term variation?

Show answer

It smooths more of it.

What does a window of length one return?

Sources

Flashcard

Moving Average

Reveal the definition

A moving average smooths an ordered series by averaging values inside a window that slides along the series.

Effortless Math. “Moving Average.” Math Dictionary.