13. Statistics
13. About this chapter
Big idea: A typical value needs a measure of spread before a data set is described well.
This original learning chapter follows the supplied Class 11 topic sequence. Read the explanations, work through the examples, and cover the answers while attempting the checks. A graph supports the algebra; it does not replace a proof.
- Why a mean without a spread measure can hide an unstable list.
- How to compute range, mean deviation, variance and standard deviation, with every arithmetic line shown.
- How frequencies and class midpoints turn a table into grouped estimates.
- How shifts and scales change, or do not change, each measure.
- How the coefficient of variation compares relative spread.
- Dispersion: how spread out the observations are.
- Range: largest value minus smallest value.
- Mean deviation: the average of the absolute gaps from a chosen centre.
- Variance: the average of the squared gaps from the mean, dividing by N.
- Standard deviation: the square root of variance.
- Coefficient of variation: 100 times (standard deviation) / |mean|.
- Midpoint: the centre of a class interval, used when raw values are missing.
Draw the dots or the histogram before you compute.
Cover each worked example and redo every arithmetic line.
Practice sets use fresh numbers. They never copy a worked example.
After a variance, take the square root only at the end.
Name the unit in the result line when the question gives one.
If two answers differ, compare the deviation table, not the final square root.
For grouped data, write midpoints first. Do not invent missing raw values.
If a question says “about the median”, do not switch to the mean.
Neutral labels: Set P, Set Q, Device A. No names or places.
The signed deviations from the mean must sum to 0. Use that as a check.
A zero spread means every listed value is equal. Test that sentence on a constant list.
CV needs a nonzero mean. If the mean is 0, do not divide.
N − 1 is not used here. If you meet it in another book, that book is estimating from a sample.
The summary table is a map, not a replacement for a deviation table.
Have a pencil ready. Every square in a variance should appear on your page.
Copy the frequency column twice: once next to x, once next to the gap column. A skipped frequency is the usual silent error.
When a class is empty, its frequency is 0. Skip it, or write a zero row. Do not invent a midpoint with weight 1.
If two classes share a boundary, this chapter treats the table as adjacent intervals, left-closed and right-open in spirit. Follow the printed class labels and do not double-count.
A coefficient of variation is a comparison tool. Do not use it as a replacement for the standard deviation when both lists share a scale.
After you finish a variance, ask whether the size looks plausible. It cannot be larger than (range)², and it is 0 only for a constant list.
If MD is larger than the range, a sign error or a missed divide by N has occurred. Stop and rebuild the table.
Standard deviation cannot exceed the range. If it does, the square root was applied to the wrong number.
Keep the same N in the mean, the MD, and the variance. Mixing N = 4 in one line with N = 5 in the next is a common split.
13.1 Introduction
Two devices can show the same average response time.
One device is steady. The other jumps from very fast to very slow.
The mean hides that difference. You need a second number: spread.
A measure of dispersion tells how far the observations sit from a centre.
highlight Same mean does not mean same data.==
How to read the figure. Both rows have mean 8. The top row clusters. The bottom row stretches from 4 to 12.
A dot plot of two data sets that share mean 8. Green points sit at 7, 8, 8 and 9 on the lower row. Orange points sit at 4, 6, 10 and 12 on the upper row. The orange row is far more spread out.
How to read the plot. Green points are the tight set. Orange points are the wide set. The vertical gap is only a drawing lane, not a data value.
| Quantity | Tight set 7, 8, 8, 9 | Wide set 4, 6, 10, 12 |
|---|---|---|
| mean | 8 | 8 |
| range | 2 | 8 |
| mean deviation | 0.5 | 3 |
| variance | 0.5 | 10 |
| standard deviation |
How to read the table. The means match. Every spread measure is larger for the wide set. Range moves from 2 to 8. Mean deviation moves from 0.5 to 3. Variance moves from 0.5 to 10.
Read one row at a time. Do not mix a range with a variance. They are different questions.
The tight standard deviation is about 0.70711. The wide one is about 3.16228. That is more than four times as large.
A student who only quotes “both means are 8” has not described the data.
A student who only quotes the two ranges has a rough description, but has ignored the repeated 8 in the tight set.
Mean deviation and standard deviation both use every value. That is why they are the tools for the rest of the chapter.
This chapter uses the population convention. Variance divides by the total frequency N, not by N − 1.
N − 1 belongs to a different job: estimating a bigger population from a sample. We describe the listed data as a complete set.
Units matter. If the data are seconds, range, mean deviation and standard deviation are seconds. Variance is seconds squared.
You will meet five tools: range, mean deviation, variance, standard deviation, and the coefficient of variation.
Start with a picture. Then compute. Then check that a zero spread really means every value is equal.
A later section treats grouped data. There the original list is missing, so midpoints stand in for the lost values.
Keep a short checklist. Name the centre. Name the spread measure. Name the unit. Then compute.
A centre answers “typical”. A spread answers “how mixed”.
You need both. One number is not a description of a list.
Think of repeated timings of a page load. The average can look fine.
If half the loads are instant and half are slow, users still wait. Spread shows that.
The same story appears in lab repeats, scores, and sensor readings.
This chapter stays with short lists so every arithmetic line can sit on one page.
Real data sets are longer. The formulas do not change. Only N grows.
When a question gives a table, copy the table first. Then add columns for gaps and squares.
Do not jump to a calculator root before the variance is exact.
If a result is zero, interpret it. Zero spread means no variation in the listed values.
If a result is large, interpret it in the unit of the question, not as a moral score.
Set A is 7, 8, 8, 9 and set B is 4, 6, 10, 12. Both means equal 8. Which set is more spread out, and how can you see that before any formula?
Goal. Compare spread, not the shared centre.
Look. Set A sits inside 7 to 9. Set B sits inside 4 to 12.
Range check. Set A: . Set B: .
Picture. The dot plot already shows the same conclusion.
Check. Every later measure in the table agrees: B is more spread out.
Result: Set B is more spread out. The shared mean does not decide that.
Cover the answers. Try each question on paper first. If an answer differs, find the step that split.
13.2 Measures of Dispersion
Dispersion is spread. Several formulas measure it. They answer related questions.
The range uses only the two extremes. It is fast, and it ignores the middle.
Mean deviation averages the absolute distances from a centre. The usual centres are the mean and the median.
Variance averages the squared distances from the mean. Squaring makes large gaps count extra.
Standard deviation is the square root of variance. It returns to the original unit.
The coefficient of variation compares relative spread when two lists use different scales.
highlight A spread measure is never negative, and it is zero only when every value equals the chosen centre.==
| Measure | What it uses | Unit | Zero when |
|---|---|---|---|
| range | largest minus smallest | same as the data | every value is equal |
| mean deviation | average of |x − A| | same as the data | every value equals the centre A |
| variance | average of (x − mean)² | square of the data unit | every value equals the mean |
| standard deviation | square root of variance | same as the data | every value equals the mean |
| coefficient of variation | 100 × (sd / |mean|) | percent, no data unit | sd is 0 (and mean ≠ 0) |
How to read the table. Move down the rows as the chapter moves. Range is coarsest. Standard deviation is the usual exam tool. Coefficient of variation is for fair comparison across scales.
Signed deviations from the mean always sum to zero. That is why we cannot use the plain sum of (x − mean) as a spread.
Absolute values stop the cancelling. Squares also stop the cancelling, and they are smoother for algebra.
If every observation equals 12, then range, mean deviation, variance and standard deviation are all 0.
Check that claim on 4 copies of 12: range 0, variance 0, mean deviation 0.
Choose a measure that matches the question. If one typing error can wreck the story, say so, and prefer a picture plus more than one measure.
Mean deviation is easier to read in the original unit. Variance is easier to move through algebra. Both are correct tools.
For two lists with the same unit and similar means, standard deviation is a fair comparison. If the means differ a lot, use the coefficient of variation later.
A measure cannot see the shape of a list on its own. Two lists can share a variance and still look different.
That is why a figure sits next to the formula. Dots show clustering. A histogram shows classes.
Range is a first look. If the range is already huge, you know the list is not tight.
If the range is small, the list may still be lumpy inside. Then you need mean deviation or standard deviation.
Mean deviation treats every gap in a linear way. A gap of 4 counts as four times a gap of 1.
Variance treats a gap of 4 as sixteen times a gap of 1, because 4² = 16 and 1² = 1.
So variance reacts more strongly to outliers. That is a feature when rare extremes matter.
It is a drawback when one typing error should not dominate the story.
Standard deviation is the usual reported number because people can read it next to the mean.
Variance is the usual working number because squares add in a clean way.
Write both when you compute. Report the one the question asks for.
If the question does not name a measure, standard deviation is the default exam choice for spread.
Still show the mean. A spread with no centre is only half an answer.
Why is the sum of signed deviations from the mean a useless spread measure?
Goal. See the cancellation on 3, 5, 5, 7.
Mean. .
Signed deviations. , , , .
Sum. .
Check. The identity is general: the deviations from the mean always sum to zero.
Result: The signed sum is always 0, so it cannot measure spread.
Work these on paper with the answers hidden. Compare your steps with the printed working.
13.3 Range
The range is the largest value minus the smallest value.
Sort the list, or scan it twice. You only need those two ends.
highlight Range is simple, and it is fragile: one extreme value can change it completely.==
How to read the figure. The five dots include three interior points. The labelled arrow uses only −1 and 9. Range is 10.
For , compute .
Add another 4 in the middle. The extremes stay −1 and 9, so the range stays 10. The mean would change.
Add a typing error 90. The new maximum is 90, and the range jumps. That is the fragility.
Shift rule. Add a constant c to every value. Both ends move by c, so the range stays the same. Check: to still differs by 10.
Scale rule. Multiply every value by c. The range is multiplied by .
The range is a quick screen, not a full description. Two lists can share a range and still spread differently. You will meet 10 as a shared range with two different variances later.
If the question asks only for range, do not compute a standard deviation. If the question asks which list is more consistent, range is often too crude.
Asked-for quantity here is a single difference, in the original unit.
To compute a range, do not average the ends. Subtract them.
Write the minus sign in brackets when the minimum is negative. That prevents 9 − (−1) becoming 8.
If the list is not sorted, do not assume the first and last written values are the ends.
Scan once for the minimum. Scan once for the maximum. Then subtract.
Range does not use N. A list of four values and a list of forty values can share a range.
That is another reason it is crude. It does not know how many observations sit inside.
On a number line, range is just the length of the smallest interval that covers every dot.
If a new dot lands inside that interval, the length stays the same.
If a new dot lands outside, the interval grows, and the range grows by the extra gap.
Shifting every dot together slides the interval. The length does not change.
Stretching every value from 0 by a factor c stretches that length by |c|.
Use those two rules instead of recomputing from scratch when a question only changes units or origin.
Find the range of −1, 2, 4, 5, 9. Then say what happens if every value increases by 20.
Goal. Largest minus smallest, then apply the shift rule.
Scan. Smallest . Largest .
Subtract. .
Shift. New ends and . Difference .
Check. Adding 20 cannot change a difference of ends.
Result: Range is 10. After the shift it is still 10.
Try each question yourself before reading the answers. Show the rule and every arithmetic step.
13.4 Mean Deviation
Mean deviation is the average distance from a chosen centre, ignoring direction.
If the centre is A and there are N observations,
The bars are absolute value. A gap of 2 below A counts the same as a gap of 2 above A.
Exam questions usually take A as the mean or the median. Use the centre the question names.
highlight Absolute values stop left and right gaps from cancelling.==
List the values. Find the centre. Subtract, drop any minus sign, add, then divide by N.
How to read the figure. The bars are the absolute deviations of 3, 5, 5, 7 from mean 5. Heights 2, 0, 0, 2 average to 1, which is the mean deviation of that list.
If value occurs times, let . Then
Frequencies are weights. They are not extra columns to add as data values.
| x | f | |x−4| | f|x−4| |
|---|---|---|---|
| 2 | 1 | 2 | 2 |
| 4 | 3 | 0 | 0 |
| 6 | 1 | 2 | 2 |
| total | 5 | 4 |
How to read the table. N = 5. The last column sums to 4. Mean deviation about 4 is 4/5 = 0.8.
When you only have class intervals, replace each class by its midpoint.
The original individuals are unknown. The answer is an estimate from grouped data.
For a median from grouped data, locate the median class with cumulative frequency, then interpolate
Here l is the lower boundary of that class, C is the cumulative frequency before it, f is its frequency, and h is its width.
| Class | Frequency f | Midpoint x | f x | Cumulative f |
|---|---|---|---|---|
| 0–4 | 1 | 2 | 2 | 1 |
| 4–8 | 3 | 6 | 18 | 4 |
| 8–12 | 3 | 10 | 30 | 7 |
| 12–16 | 1 | 14 | 14 | 8 |
How to read the table. N = 8. N/2 = 4. The cumulative frequency first reaches 4 in class 4–8, so that is the median class.
How to read the histogram. The two tall bars are the middle classes. The dashed line is the midpoint mean 8. Mean deviation will average the horizontal distances of the midpoints from that line, each weighted by frequency.
A step histogram for classes 0–4, 4–8, 8–12 and 12–16 with frequencies 1, 3, 3 and 1. The outline rises to 1, then 3, stays at 3, then drops to 1.
How to read the plot. The step outline is the same histogram. Height is frequency. Width is class width 4.
The median minimises the total absolute deviation. That is a useful fact, not a command to always use the median.
Walk the grouped median formula with the table numbers.
N = 8, so N/2 = 4. Cumulative frequencies: 1, then 4, then 7, then 8.
The first class whose cumulative frequency is at least 4 is 4–8.
So l = 4, C = 1, f = 3, h = 4.
Then . In this symmetric table the midpoint mean is also 8.
Do not expect that match on a skewed table. Mean and median then split.
Mean deviation about 8 uses the midpoints: .
Divide by N: 24/8=3. The recorded grouped MD is 3.
Each term is frequency times a positive gap. Never leave a minus sign inside the absolute value.
If you forget the frequency, you are treating each class as a single point. That under-counts the tall bars.
If you use class width as if it were a data value, you have left the formula. Width is only for interpolation and for step-deviation scale h.
On ungrouped data, N is the count of numbers. On a frequency table, N is the sum of frequencies.
Write N at the top of your page before any division. A wrong N wrecks every later line.
Mean deviation is always in the original unit. If the data are marks, MD is marks. If the data are seconds, MD is seconds.
For 5, 7, 8, 12 find the mean and the median.
Goal. Two centres for the same list.
Sum. .
Mean. , so .
Order. Already ordered: 5, 7, 8, 12.
Median. Average of the two central values: .
Check. Mean 8 and median 7.5 match the recorded stats.
Result: Mean 8, median 7.5.
For 2, 3, 4, 11 find mean deviation about the mean and about the median.
Goal. Two mean deviations, with every absolute gap shown.
Mean. , so .
Median. Ordered list, two central values: .
About the mean. .
Divide. .
About the median. .
Divide. .
Check. The unusually large 11 pulls the mean right. Distances from the median are smaller in total.
Result: MD about the mean is 3. MD about the median is 2.5.
Values 0, 4, 8 have frequencies 1, 2, 1. Find the mean and the mean deviation about the mean.
Goal. Weighted mean, then weighted absolute deviations.
N. .
Sum of f x. .
Mean. .
Absolute gaps. , , .
Weighted sum. .
MD. .
Check. Recorded mean 4 and MD 2.
Result: Mean 4, mean deviation 2.
Use a pencil and show one operation per line. Then check yourself against the answers.
Exercise 13.1 — Mean deviation
Try each question before reading its solution. Give a reason as well as a final value.
13.5 Variance and Standard Deviation
The population variance is the mean of the squared deviations from the mean:
The standard deviation is . It uses the original unit.
A large gap is squared, so it counts extra. That is the point of variance, and also its sensitivity.
highlight Variance averages squares. Standard deviation puts the answer back in the data unit.==
How to read the figure. Data 3, 5, 5, 7. Deviations −2, 0, 0, +2. Squares 4, 0, 0, 4. Mean of the squares is 2, which is the variance.
| x | x−5 | (x−5)^2 |
|---|---|---|
| 3 | −2 | 4 |
| 5 | 0 | 0 |
| 5 | 0 | 0 |
| 7 | 2 | 4 |
| sum | 0 | 8 |
How to read the table. The middle column sums to 0, as it must. The last column sums to 8. Divide by N = 4 to get variance 2.
Then .
The shortcut expands the square:
For 3, 5, 5, 7 the squares sum to 108. Mean of squares 27. Then 27 − 5² = 2, matching the direct table.
With frequencies, For classes, is the midpoint.
Step-deviation. Put with a convenient A and class width h. Then
| x | f | u=(x−6)/4 | f u | f u^2 |
|---|---|---|---|---|
| 2 | 1 | −1 | −1 | 1 |
| 6 | 3 | 0 | 0 | 0 |
| 10 | 3 | 1 | 3 | 3 |
| 14 | 1 | 2 | 2 | 4 |
| total | 8 | 4 | 8 |
How to read the table. A = 6 and h = 4. Sum of f u is 4. Sum of f u² is 8. Mean 8. Variance 12.
Adding a constant does not change any deviation from the mean. Variance and standard deviation stay the same.
Multiplying every value by c multiplies standard deviation by and variance by .
The coefficient of variation is provided the mean is not zero. It is a percent, so two lists on different scales can be compared.
| Set | Values | Mean | s.d. | CV (%) |
|---|---|---|---|---|
| P | 8, 10, 12 | 10 | 16.32993162 | |
| Q | 48, 50, 52 | 50 | 3.26598632 |
How to read the table. Both sets have the same standard deviation about 1.63299. Set P has the smaller mean, so its CV 16.32993162 is larger than 3.26598632. Relative to its size, P is more variable.
Asked-for in a CV question is usually a percent. State that. Do not leave a raw ratio unless the question says so.
Why square at all? Because squares turn a table into algebra that factors cleanly.
The shortcut is that algebra. You do not need a new idea. You need the identity (x − mean)² = x² − 2 x mean + mean², then the middle term sums to 2 mean times the sum of x, which cancels.
Use the shortcut as a check, not as a way to hide the deviation table. In an exam, a table still earns method marks.
Step-deviation is only a scaled shortcut. Dividing by h makes the u-values small integers. Multiplying by h² puts the scale back.
Choose A near the middle of the table so that some u-values are 0. That cuts arithmetic.
If h is not the class width, the formula still works, but the u-values may not be integers. Prefer the true width.
Standard deviation is never negative. If your square root looks negative, you have not taken a square root. You have subtracted.
Variance is never negative. If a working step goes negative, a square was lost, or a minus was applied to a sum of squares.
CV is not defined when the mean is 0. A mean of 0 would make you divide by 0.
CV also misleads if the mean can change sign, or if 0 is an arbitrary origin. Use it for positive measurements such as times, lengths and counts.
When two CVs are close, do not over-claim. Rounding can swap a tight race. Keep one extra digit until the final percent.
Here the race is not tight: 16.32993162 against 3.26598632. The conclusion is stable.
If a question gives mean and standard deviation only, you can still find CV. You do not need the raw list.
If a question gives mean and mean of squares, you can still find variance from the shortcut, then CV.
For 3, 5, 5, 7 find the population variance and the standard deviation. Show a full deviation table.
Goal. Variance as mean squared deviation, then its square root.
Sum. .
Mean. .
Deviations. , , , .
Squares. , , , . Sum 8.
Variance. .
Shortcut check. Mean of squares 27. Then 27-5^2=2.
Standard deviation. .
Signed-sum check. .
Result: Variance 2, standard deviation .
Classes 0–4, 4–8, 8–12, 12–16 have frequencies 1, 3, 3, 1. Estimate the mean and the standard deviation from the midpoints.
Goal. Grouped mean and grouped variance, then square root.
Midpoints. 2, 6, 10, 14.
N. .
Sum of f x. .
Mean. .
Step u = (x − 6)/4. Values .
Sum of f u. .
Sum of f u². .
Variance. .
Standard deviation. .
Check. Direct mean of midpoints is also 8.
Result: Mean 8, variance 12, standard deviation .
Set P is 8, 10, 12 and set Q is 48, 50, 52. Compare their coefficients of variation.
Goal. CV for each set.
Set P mean. .
Set Q mean. .
Shared variance. Each has squared deviations , so and .
CV of P. .
CV of Q. .
Compare. Q has the larger mean, so the same absolute spread is smaller relative spread.
Result: CV of P is 16.32993162%. CV of Q is 3.26598632%. P is more variable relative to its mean.
Cover the answers. Try each question on paper first. If an answer differs, find the step that split.
Exercise 13.2 — Variance and standard deviation
Try each question before reading its solution. Give a reason as well as a final value.
Miscellaneous Exercise — Chapter 13
Try each question before reading its solution. Give a reason as well as a final value.
Summary and Historical Note
A centre locates a list. A spread measure tells how tightly the list sits around that centre.
Range uses two ends. Mean deviation uses absolute gaps. Variance uses squared gaps. Standard deviation is the square root of variance.
highlight Quote the unit: original unit for range, MD and s.d.; squared unit for variance; percent for CV.==
| Measure | What it uses | Unit | Zero when |
|---|---|---|---|
| range | largest minus smallest | same as the data | every value is equal |
| mean deviation | average of |x − A| | same as the data | every value equals the centre A |
| variance | average of (x − mean)² | square of the data unit | every value equals the mean |
| standard deviation | square root of variance | same as the data | every value equals the mean |
| coefficient of variation | 100 × (sd / |mean|) | percent, no data unit | sd is 0 (and mean ≠ 0) |
How to read the table. It is a map of the chapter. Match the question to a row before you compute.
- Same mean does not imply same spread. Draw the dots first.
- Signed deviations from the mean sum to zero. Use absolute values or squares.
- Weight by frequency. Use class midpoints only as grouped-data estimates.
- This chapter divides by N. Say so if a question mentions samples.
- Adding a constant leaves spread unchanged. Multiplying by c scales s.d. by |c|.
- CV compares relative spread when means differ.
People counted harvests, births and deaths long before school formulas. In the seventeenth century, John Graunt studied bills of mortality and asked how a population varies, not only how large it is.
Later workers, including Pearson and Fisher, organised variation, correlation and designed experiments. The school tools in this chapter are the first layer of that language: a centre, a spread, and a fair comparison.
The names are a reminder, not an exam list. The skill is to compute every arithmetic line and to say what the number means.
Carry this checklist into any later probability chapter. A random variable will still have a centre and a spread.
If you remember only three sentences, remember these.
Deviations from the mean sum to zero. Squares or absolute values stop that cancelling. Dividing by N describes the listed data.
Grouped work is an estimate. Say “estimate” in the result line when you used midpoints.
A plot of two lists with a shared mean is the whole idea of the chapter in one picture.
If you can explain that picture in two short sentences, you are ready for the formulas.
Work these on paper with the answers hidden. Compare your steps with the printed working.