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.
Formulas
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 points. The deviations are , , , and . Check: .
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.