Two classes can have the same average mark but be very different. In one class, everyone scores close to the average. In the other, some score very high and some very low. An average alone cannot show this. Measures of dispersion tell us how spread out the data is. This lesson covers the range, quartiles, mean deviation, variance, standard deviation and the coefficient of variation.
In this lesson you will learn
- Why spread matters as much as the average
- Range, quartiles and the interquartile range
- Mean deviation
- Variance and standard deviation for lists and frequency tables
- The coefficient of variation for comparing consistency
You should know mean, median and mode and statistical graphs.
Why Spread Matters
Set A: 48, 50, 50, 52 mean = 50
Set B: 20, 40, 60, 80 mean = 50
Both sets have mean 50. But set A is tightly packed, and set B is widely spread.
Range and Interquartile Range
The range is largest − smallest. It is easy to find, but one extreme value can change it a lot.
The quartiles split ordered data into four equal parts. Q1 is the lower quartile, Q2 is the median, and Q3 is the upper quartile. The interquartile range (IQR) is Q3 − Q1. It measures the spread of the middle half and ignores extreme values.
Data: 3, 5, 7, 8, 10, 12, 15
Range = 15 − 3 = 12
Median = 8 (middle value)
Q1 = 5 (middle of 3, 5, 7)
Q3 = 12 (middle of 10, 12, 15)
IQR = 12 − 5 = 7
Mean Deviation
The deviation of a value is how far it is from the mean, x − x̄. The deviations always add up to zero, so we use their sizes. The mean deviation is Σ|x − x̄| / n.
Variance and Standard Deviation
Another way to remove the signs is to square the deviations. Their mean is the variance, σ². Its square root is the standard deviation, σ. The standard deviation has the same units as the data.
Formulas
σ² = Σ(x − x̄)² / n = Σx²/n − x̄²
Data: 2, 4, 4, 4, 5, 5, 7, 9 n = 8, x̄ = 40/8 = 5
x 2 4 4 4 5 5 7 9
x − x̄ −3 −1 −1 −1 0 0 2 4
(x − x̄)² 9 1 1 1 0 0 4 16 total = 32
Mean deviation = (3+1+1+1+0+0+2+4)/8 = 12/8 = 1.5
Variance σ² = 32/8 = 4
Std deviation σ = √4 = 2
The second formula, Σx²/n − x̄², is quicker when the mean is not a whole number.
Frequency Tables and Grouped Data
With a frequency table, multiply by f. Use σ² = Σfx²/n − x̄², where n = Σf. For grouped data, use the midpoint of each class as x.
Class Mid x f fx fx²
0–10 5 3 15 75
10–20 15 7 105 1575
20–30 25 6 150 3750
30–40 35 4 140 4900
Total 20 410 10300
x̄ = 410/20 = 20.5
σ² = 10300/20 − 20.5² = 515 − 420.25 = 94.75
σ = √94.75 ≈ 9.73
Coefficient of Variation
To compare spread when the means are different, use the coefficient of variation: CV = (σ / x̄) × 100%. A smaller CV means more consistent data.
Batsman A: mean 40 runs, σ = 12 → CV = 30%
Batsman B: mean 30 runs, σ = 6 → CV = 20%
A scores more on average, but B is more consistent.
Effect of Changing the Data
- Adding the same number to every value moves the mean but leaves σ unchanged.
- Multiplying every value by k multiplies σ by |k| and the variance by k².
Common Mistakes
- Forgetting the square root and giving the variance as the standard deviation.
- Using (Σx)² instead of Σx². Square each value first, then add.
- Using class limits instead of midpoints for grouped data.
- Dividing by the number of classes instead of the total frequency.
Practice Exercises
Exercise 1. Find the standard deviation of 1, 3, 5, 7, 9.
Show answer
The mean is 5. The squared deviations are 16, 4, 0, 4, 16, which add to 40. Variance = 40/5 = 8, so σ = √8 ≈ 2.83.
Exercise 2. Every student’s mark goes up by 5. What happens to the mean and the standard deviation?
Show answer
The mean goes up by 5. The standard deviation does not change, because the spread is the same.
Exercise 3. A set of data has mean 50 and standard deviation 5. Find the coefficient of variation.
Show answer
CV = 5/50 × 100% = 10%.
Frequently Asked Questions
Why do some books divide by n − 1?
When the data is a sample taken from a bigger population, dividing by n − 1 gives a better estimate of the population variance. For a whole set of data, as in most school exercises, divide by n.
Which measure of spread is best?
The standard deviation uses every value and is the most widely used. The IQR is better when the data has extreme values, because it ignores them.
Summary
- Range = largest − smallest; IQR = Q3 − Q1 measures the middle half.
- Mean deviation = Σ|x − x̄|/n.
- Variance σ² = Σ(x − x̄)²/n = Σx²/n − x̄²; σ is its square root.
- CV = σ/x̄ × 100% compares consistency.
Next: Correlation and Regression.
