Statistics and Mechanics Year 1, chapter 2 (Measures of location and spread), section 2.3
Range
It is simple, but one extreme value changes it a lot.
Interquartile range (IQR)
It measures the spread of the middle and is not affected by outliers.
Interpercentile range
The difference between two percentiles. For example, the 10th to 90th percentile range is . It contains the middle of the data and leaves out extreme values.
Worked example 1
Using and from the previous page: .
For the same data the range is .
Worked example 2: comparing
Two classes have the same median mark but IQRs of and . The class with the IQR of 8 is more consistent, because the middle half of its marks are closer together.
Which one to use
| Measure | Use when |
|---|---|
| Range | A quick idea, no outliers |
| IQR | Data with outliers or skew; paired with the median |
| Standard deviation | Symmetric data; paired with the mean (next page) |
Common mistake: quoting the quartiles instead of their difference. The IQR is , a single number. Also, the range uses the extreme values, so it is sensitive to outliers.
Exam tip: when comparing data sets, state the measure of spread ("the IQR is smaller, so it is less spread out") along with the measure of location, in context.
Check yourself
Find the IQR if and .
.
Why is the IQR better than the range for data with an outlier?
It uses only the middle , so an outlier does not affect it.
What fraction of data lies between the 10th and 90th percentiles?
.