Practice
Quartiles, IQR and outliers
Find quartiles by the median-of-halves method and test for outliers with the 1.5 IQR rule.
The skill
Sort the data and split it at the median. is the median of the lower half and is the median of the upper half; when is odd, the median itself goes in neither half. The interquartile range, , is the spread of the middle half of the data. A value is an outlier when it sits more than below or above . Students who skip the sort get quartiles that mean nothing.
A worked example
The ages of the people waiting in line at a coffee shop were:
46, 62, 19, 49, 54, 19, 59, 64, 32, 136, 37, 44 years.
Find the upper fence for outliers, Q3 + 1.5(IQR). Round to two decimal places if needed.
Solution
- Sort: 19, 19, 32, 37, 44, 46, 49, 54, 59, 62, 64, 136. The median is 47.50.
- Lower half: 19, 19, 32, 37, 44, 46, so Q1 = 34.50. Upper half: 49, 54, 59, 62, 64, 136, so Q3 = 60.50.
- IQR = Q3 − Q1 = 26.00. Fences: Q1 − 1.5(IQR) = −4.50 and Q3 + 1.5(IQR) = 99.50.
- Values outside the fences: 136. That is 1 outlier.
Answer: 99.5