Range and Interquartile Range
Simple Explanation
The range is the simplest measure of spread: the highest value minus the lowest. The interquartile range (IQR) is more robust: it measures the spread of just the middle 50% of the data, Qβ β Qβ, ignoring extreme values at either end.
Why Do We Need It?
A single extreme outlier can massively distort the range, but barely affects the IQR β knowing both, and when each is more appropriate, is essential for honestly describing a dataset's spread.
Formula
Range and Interquartile Range
Range = maximum β minimum. IQR = Qβ β Qβ
Two simple measures of how spread out a dataset is. The range uses only the two extreme values; the interquartile range (IQR) uses the middle 50% of the data, making it far less sensitive to outliers.
- Qβ
- β the first quartile β the value 25% of the way through the ordered data
- Qβ
- β the third quartile β the value 75% of the way through the ordered data
When to use it: Whenever you need a quick measure of spread β the range for a rough idea, the IQR for a measure resistant to extreme outliers.
Worked Example
Find the range and IQR of a dataset
Find the range and IQR of: 4, 7, 9, 12, 15, 18, 21, 25, 30.
Why Does This Work?
The range only looks at the two most extreme values, so a single unusually high or low value dominates it entirely β the IQR instead brackets the "typical" middle half of the data, so a handful of extreme outliers barely move Qβ or Qβ at all.
Real-Life Example
Comparing household income spread
A city's household incomes include a small number of extremely high earners alongside a large middle-income group.
The range would be dominated by the highest earner, but the IQR gives a much more honest picture of the spread among typical households.
Practice
Find the range of: 12, 5, 19, 8, 23, 3.
MediumCommon mistake
Computing the IQR using the overall median as one of the boundaries instead of properly splitting the data into lower and upper halves first β always find Qβ and Qβ from each half separately.
Quick Review
- Range = max β min. Simple, but sensitive to outliers.
- IQR = Qβ β Qβ. More robust, describing the middle 50% of the data.
- Qβ = median of the lower half; Qβ = median of the upper half.