Maths4U · Learning together
Range, quartiles and raw-data variance
Notes
Objective
Use a centre and a spread together, distinguishing the middle half from squared deviations about the mean.
Before you start
Use exact totals, order raw observations, and distinguish a frequency from a measurement. Review Measures of central tendency if you need to recover a mean or decode an origin.
Key ideas
A centre alone does not describe a distribution
Two samples can have the same mean and very different variation. The range is maximum minus minimum and uses only the two extremes. The interquartile range is , measuring the span of the middle half. It is less affected by the size of an extreme value than the range.
State the raw-data quartile convention
Order every observation, including repetitions. Here, take the medians of the lower and upper halves, excluding the overall median for an odd count. This is the chapter convention, not a claim that every software package uses identical quartile positions.
Variance uses all deviations from the mean
Use divisor n for descriptive spread here. Variance has squared units; SD has the same units as the observations. A negative calculated variance signals an error or inconsistent summaries. SD is zero exactly when all observations are equal.
Changing the reference value does not erase spread
The square-total about a reference is smallest at the mean. A sum of squared deviations and the square of a sum are different quantities.
Method
- Identify whether the observations are raw, grouped or coded.
- Recover the count, first total and square-total on one consistent scale.
- Find the requested spread without premature rounding.
- Restore all original conditions and give every valid result.
Common mistakes
- Do not report a quartile position as a data value.
- Use n, not n−1, for these descriptive summaries.
- Take the non-negative square root for SD.
- Equal means do not imply equal spreads.
Worked examples
Same mean, different consistency
Compare A: 4, 6, 8, 10, 12 and B: 0, 4, 8, 12, 16. Find their means, ranges and variances.
Follow the solutionBoth means are 8. Their ranges are 8 and 16.
A has less variation. This is a comparison of spread, not a claim that its centre is smaller.
Range and IQR use different parts of the data
Find the range and IQR of 2, 3, 4, 6, 6, 7, 10, 30, using medians of halves.
Follow the solutionThe large final observation stretches the range; its exact size does not enter either quartile here.
Moments recover the centred square-total
Five observations have , . Find their mean, centred square-total and SD.
Follow the solutionDivide the centred total by the count before taking the square root.
The best reference for squared deviations
For 3, 7, 9, 13, find the real a minimising , and its minimum.
Follow the solutionThe mean is 8 and the centred square-total is 52.
The minimum is 52, attained only at a=8. The variance is ; it is not zero.