Deviation from the mean

A deviation tells you how far a data value is above or below the mean. It is positive if the value is above the mean, negative if it is below, and 0 if it equals the mean. The amounts above and below the mean balance out, so the deviations always add up to 0.

Chalcack concept card · Reviewed by the Chalcack team ·

Measured from the mean of 8, values to the right have a + deviation and values to the left have a − deviation.

Formulas

  • deviation=data value−mean\text{deviation} = \text{data value} - \text{mean}
  • sum of deviations=0\text{sum of deviations} = 0

When to use it

Use it when you need how much each data value is above or below the mean, or as the first step before finding variance and standard deviation.

Worked example

Quiz scores are 5, 7, 8, and 12 points. The mean is (5+7+8+12)÷4=32÷4=8(5+7+8+12) \div 4 = 32 \div 4 = 8 points. The deviations are 5−8=−35-8=-3, 7−8=−17-8=-1, 8−8=08-8=0, and 12−8=412-8=4. Check: (−3)+(−1)+0+4=0(-3)+(-1)+0+4=0.

Common mistake

A common mistake is subtracting the data value from the mean, which flips every sign. Always compute (data value) − (mean), and check that the deviations add up to 0.

Related concepts

All 181 math concepts