Statistics

Exponential Moving Average

Students compare pale older notes with brightly colored recent notes.

Exponential Moving Average definition

An exponential moving average smooths a series by giving greater weight to more recent observations.

In Spanish
media móvil exponencial
Topic
Time series

Exponential Moving Average in a picture

Exponential Moving Average diagramWith α = 0.25, the new observation 14 and previous average 10 produce 11.Newest value: 14Give it weight 0.25Previous average: 10Give it weight 0.750.25(14) + 0.75(10) = 11Combine the weighted values
With α = 0.25, the new observation 14 and previous average 10 produce 11.

How it works

Let α be a smoothing factor from 0 to 1. Multiply the newest observation by α and add 1 − α times the previous smoothed value. Repeating this step gives older observations geometrically decreasing weights when 0 < α < 1. The chosen starting value influences the first few results.

Worked examples

With previous average 20, new value 30 and α = 0.2, find the update.

0.2(30) + 0.8(20) = 22.

What happens when α = 1?

The smoothed value equals the newest observation.

What happens when α = 0?

The smoothed value stays at its starting value.

Common mistake

A small α gives the newest value less weight. It changes more slowly in response to a new spike.

Quick check

What weight multiplies the previous average?

Does the method need a starting value?

Show answer

Yes.

Which reacts faster to a new observation, α = 0.8 or α = 0.1?

Show answer

α = 0.8.

Sources

Flashcard

Exponential Moving Average

Reveal the definition

An exponential moving average smooths a series by giving greater weight to more recent observations.

Effortless Math. “Exponential Moving Average.” Math Dictionary.