9.2 Range, Quartiles, Interquartile Range (IQR), and Comparing Parallel Box Plots
Key Takeaways
The range (Maximum - Minimum) measures total spread using only the two extreme values, whereas the interquartile range (IQR = Q3 - Q1) measures the spread of the middle 50% of observations and is resistant to outliers.
A five-number summary consists of the Minimum, Lower Quartile (Q1, 25th percentile), Median (Q2, 50th percentile), Upper Quartile (Q3, 75th percentile), and Maximum.
Every box-and-whisker plot divides its cohort into four equal quarters of 25% each: bottom whisker (Min to Q1), lower box half (Q1 to Q2), upper box half (Q2 to Q3), and top whisker (Q3 to Max).
A wider half-box or longer whisker does not contain more students than a narrower section of the same plot—it still holds exactly 25% of that cohort, spread across a wider score interval (lower density).
When comparing parallel box plots, compare medians to judge typical performance, compare IQRs to judge consistency of the middle 50%, and match quartile landmarks (25%, 50%, 75%) to compare cohort proportions.
Tip
Quick Answer: A box-and-whisker plot splits an ordered dataset into four quarters of each using the five-number summary (). The central box spans from to , capturing the middle of scores with width . Never confuse visual width with student count: a wide box section or long whisker still represents exactly of that cohort, simply spread out over a wider interval of marks.
Two classes can share the exact same mean and median of on an end-of-semester exam while having completely different teaching needs: in Class A, every student scored between and , whereas in Class B, scores ranged from to . To describe how tightly clustered or widely dispersed a dataset is, educators pair a measure of centre with a measure of spread (variability).
Measuring Spread: Range vs. Interquartile Range (IQR)
1. The Range
The range is the difference between the single highest observation and the single lowest observation:
Although easy to compute, the range depends entirely on the two most extreme values. If one student in a class of leaves half the paper blank and scores while the remaining students score between and , the range jumps from marks to marks, overstating the variability of the class as a whole.
2. Quartiles and the Interquartile Range (IQR)
To measure spread without distortion from extreme tails, statisticians divide the sorted dataset into four equal-sized quarters ( each) using three quartiles:
- First (Lower) Quartile (): The percentile, found as the median of the lower half of the sorted data. Exactly of scores lie below , and lie above .
- Second Quartile (): The percentile, which is the overall median of the dataset.
- Third (Upper) Quartile (): The percentile, found as the median of the upper half of the sorted data. Exactly of scores lie below , and lie above .
The interquartile range (IQR) is the distance between the upper and lower quartiles:
Because the IQR measures the spread of the middle of observations, it ignores the lowest and highest of scores and is resistant to outliers.
Worked Example: Finding the Five-Number Summary and IQR
- Odd sample size (): Consider sorted Year 6 mathematics test scores: .
- and , so .
- The overall median () is the value: .
- Exclude the middle value to form the lower half of scores () and the upper half of scores ().
- The median of the lower half is , and the median of the upper half is .
- Therefore, .
- Even sample size (): For sorted scores , the median sits between the and scores: . The lower scores () have median , and the upper scores () have median , giving .
Anatomy of a Box-and-Whisker Plot and the Width Trap
A box-and-whisker plot (box plot) displays the five-number summary () along a number line. Vertical lines mark , , , , and , with a rectangular box drawn from to and whiskers extending to the minimum and maximum:
- Bottom/Left Whisker ( to ): Contains the lowest of students ( to percentile).
- Lower/Left Half of Box ( to ): Contains the second of students ( to percentile).
- Upper/Right Half of Box ( to ): Contains the third of students ( to percentile).
- Top/Right Whisker ( to ): Contains the highest of students ( to percentile).
The Critical Box-Plot Width Trap: Candidates frequently assume that a wider half-box or a longer whisker contains more students than a short whisker or narrow half-box. This is false. Each of the four segments on a single box plot always contains exactly of that cohort. A narrow segment (e.g., to , width ) means of students are tightly clustered within marks (high score density), whereas a wide segment (e.g., to , width ) means the same share of students is spread out across marks (low score density).
Comparing Parallel Box Plots Across Classes and Year Levels
When parallel box plots are stacked on the same scale, compare cohorts systematically using the table below.
Worked Comparison: Year 9 Numeracy Diagnostic ()
| Cohort | Student Count () | Minimum | Lower Quartile () | Median () | Upper Quartile () | Maximum | Range () | () |
|---|---|---|---|---|---|---|---|---|
| Class 9A | ||||||||
| Class 9B |
- Central tendency (Medians): Class 9A has a higher median () than Class 9B (), indicating higher typical achievement in Class 9A.
- Consistency (IQR and Range): Class 9A has a much smaller IQR ( vs. ) and smaller range ( vs. ), showing that Class 9A's middle (and overall cohort) achieved much more consistent scores than Class 9B.
- Cross-cohort landmark comparisons: Notice that Class 9A's lower quartile () equals Class 9B's median (). Therefore, of Class 9A scored or higher, whereas only of Class 9B scored or higher.
- Converting percentages to headcounts: Because the two classes have different sizes ( vs. ), always multiply the quartile percentage by that specific cohort's : the number of students scoring or higher is students in Class 9A, compared with students in Class 9B.
A group of 12 Year 7 students completed a reading comprehension assessment and achieved the following sorted scores: 44, 49, 52, 56, 60, 63, 67, 70, 74, 78, 83, 92. What are the range and the interquartile range (IQR) of this dataset?
Range = 48 and IQR = 26.0
Range = 48 and IQR = 22.0
Range = 48 and IQR = 20.0
Range = 39 and IQR = 22.0
On a box-and-whisker plot of 120 Year 8 students' science exam marks, the five-number summary is Minimum = 32, Q1 = 58, Median = 64, Q3 = 86, and Maximum = 95. Which statement comparing the interval from 58 to 64 with the interval from 64 to 86 is correct?
Both intervals contain approximately 30 students (25% of the cohort), even though scores between 58 and 64 are much more tightly clustered than scores between 64 and 86.
The interval from 58 to 64 contains 50% of the cohort, whereas the interval from 64 to 86 contains 25% of the cohort.
The interval from 32 to 58 contains the largest number of students because the bottom whisker is 26 marks long.
The interval from 64 to 86 contains more than three times as many students as the interval from 58 to 64 because its box section is 22 marks wide compared with 6 marks wide.
Parallel box plots compare a Year 5 cohort (80 students: Min = 390, Q1 = 440, Median = 480, Q3 = 520, Max = 590) and a Year 7 cohort (120 students: Min = 430, Q1 = 480, Median = 530, Q3 = 570, Max = 650) on the same numeracy scale. How many students in total across both cohorts achieved a scale score of 480 or higher?
150 students
120 students
130 students
100 students
Sections you finish are checked off in the contents.