Measures of Dispersion
Two classes can score the same average and still look completely different: one clusters tightly around the mean, the other is spread from top to bottom. Averages describe the centre; dispersion describes the spread, and a full answer needs both. This lesson compares the four dispersion measures the syllabus requires, explains why squaring the deviations is preferred over ignoring their signs, derives the shortcut formula for variance that saves time in the exam, and works through four data sets from start to finish.
What You'll Learn
- 1Compute range, mean deviation, variance and standard deviation for a raw data set
- 2Explain why the mean deviation discards signs and what variance does instead
- 3Apply the shortcut formula for variance and confirm it against the definition
- 4Predict how a change of origin and scale affects measures of dispersion
Range: The Cheapest and Least Reliable Measure
Because only the two extremes matter, the range ignores the entire interior of the distribution. Two data sets with identical ranges can have completely different spreads in the middle, which is why the range is used for a quick first impression and for continuous monitoring rather than for comparing distributions. For the data the maximum is and the minimum is , giving a range of .
Mean Deviation: Averaging the Gaps
The absolute value is the whole point. Deviations above the mean are positive and deviations below are negative, and simply averaging them would always give zero â the positive and negative parts cancel exactly. Taking absolute values removes the signs so that the size of each gap survives. The same measure can be taken about the median instead of the mean, and the mean deviation about the median is never larger than the mean deviation about the mean, a fact some objective questions exploit.
Variance and Standard Deviation
The standard deviation is the square root of the variance, which matters because squaring has changed the units: if the data are heights in centimetres then the variance is in square centimetres, while the standard deviation is back in centimetres and can be compared directly with the mean.
Expanding the square inside the sum yields the shortcut formula, which is far quicker by hand because it avoids computing every deviation separately:
| Measure | Formula | Uses every observation? | Units | Main weakness |
|---|---|---|---|---|
| Range | max minus min | only the two extremes | same as data | one outlier distorts it |
| Mean deviation | mean of | yes | same as data | absolute value blocks further algebra |
| Variance | mean of | yes | square of data units | hard to interpret on its own |
| Standard deviation | root of the variance | yes | same as data | needs the mean first |
Four Worked Problems
Computing Dispersion in Python
Python's statistics module computes each measure directly, and re-implementing them from the definitions makes the shortcut formula easy to confirm.
import statistics as st
data = [2, 4, 4, 4, 5, 5, 7, 9]
print("mean =", st.mean(data)) # 5.0
print("range =", max(data) - min(data)) # 7
print("var =", st.pvariance(data)) # 4.0 (divide by n)
print("stdev =", st.pstdev(data)) # 2.0
print("mean dev =", st.mean(abs(x - st.mean(data)) for x in data))
The second block derives the shortcut independently and checks that change of origin leaves the spread untouched.
def variance_shortcut(xs):
n = len(xs)
return sum(x * x for x in xs) / n - (sum(xs) / n) ** 2
def variance_definition(xs):
m = sum(xs) / len(xs)
return sum((x - m) ** 2 for x in xs) / len(xs)
data = [2, 4, 4, 4, 5, 5, 7, 9]
assert abs(variance_shortcut(data) - variance_definition(data)) < 1e-12
print("both formulas agree:", variance_shortcut(data)) # 4.0
shifted = [x + 100 for x in data] # change of origin
scaled = [3 * x for x in data] # change of scale
print("shifted variance:", variance_shortcut(shifted)) # 4.0
print("scaled variance :", variance_shortcut(scaled)) # 36.0
What CBSE Asks on This Topic
The recurring three-mark question gives a small raw data set and asks for the mean deviation or the standard deviation, with the method marks attached to the intermediate column of deviations â so tabulate them rather than jumping to the answer. A frequent objective item asks what happens to the variance when every observation is increased by a constant: the answer is that nothing changes, because adding a constant moves the mean by the same amount and leaves every deviation untouched. Multiplying every observation by , by contrast, multiplies the standard deviation by and the variance by . One-markers also test the vocabulary: variance has squared units, the standard deviation shares the units of the data, and the mean deviation about the median never exceeds the mean deviation about the mean.
Common Mistakes
Dividing the squared deviations by n minus one when the question says variance
Fix: Class 11 statistics divides by n; the n minus one version is the sample variance used later in inferential statistics.
Forgetting the absolute value in the mean deviation
Fix: Signed deviations always cancel to zero around the mean, so take absolute values before averaging.
Leaving the answer in squared units
Fix: Report the standard deviation alongside the variance, since only the standard deviation carries the original units.
Key Takeaways
- Range uses only the two extreme values and is therefore the most easily disturbed measure
- Mean deviation averages absolute gaps, while variance averages squared gaps and so allows further algebra
- Standard deviation is the square root of variance and restores the units of the original data
- Adding a constant shifts the centre and leaves dispersion unchanged, while multiplying by k scales the standard deviation by the magnitude of k
Practice Problems
- Find the range of .
- Find the mean deviation about the mean for .
- Find the variance of using both the definition and the shortcut formula.
- Find the standard deviation of .
- State the effect on the standard deviation if every observation of a data set is multiplied by .