Quartiles, Interquartile Range, and the Five-Number Summary
While the mean and standard deviation describe a distribution using arithmetic totals, they can be heavily distorted when a dataset contains extreme outliers or heavy skewness.
To get a robust, distortion-free picture of how data is distributed on paper, statisticians divide an ordered dataset into four equal quarters using quartiles. Combining these quartiles with the minimum and maximum produces the Five-Number Summary and the Interquartile Range (IQR).
Defining the Five-Number Summary
When observations are arranged in ascending order, four milestone cutoffs divide the distribution into four equal parts ( each):
The ordered set of these five milestones forms the Five-Number Summary:
Formula Box: Measures of Quartile Spread
Step-by-Step Paper Notebook Method (The Halving Method)
The standard pencil-and-paper method taught in school curricula worldwide splits the ordered dataset into a Lower Half and an Upper Half:
Step 1: Sort the Data
Arrange all raw data values in ascending order:
Record and .
Step 2: Find the Median ()
- If is odd, is the unique middle number at position .
- If is even, is the average of the two middle numbers at positions and .
Step 3: Split into Lower and Upper Halves
- If is Odd: Exclude the middle element .
- Lower half = all values strictly to the left of ( values).
- Upper half = all values strictly to the right of ( values).
- If is Even: Split the dataset directly down the center.
- Lower half = the first values.
- Upper half = the remaining values.
Step 4: Calculate and
- is simply the median of the lower half.
- is simply the median of the upper half.
Step 5: Calculate IQR
Compute the difference: .
Worked Examples
Example 1: Odd with Odd Halves ()
Problem: Seven students recorded their study hours over the weekend:
Find the Five-Number Summary and the Interquartile Range on paper.
Step-by-Step Paper Solution:
Sort the Data:
- Minimum:
- Maximum:
Find (Median):
- Position: value.
- .
Partition into Halves (excluding ):
- Lower Half ( values):
- Upper Half ( values):
Find and :
- Median of lower half : the middle value is .
- Median of upper half : the middle value is .
Compute IQR:
Five-Number Summary:
Example 2: Even with Even Halves ()
Problem: Eight daily high temperatures (in ) in early spring are recorded:
Determine the Five-Number Summary, Range, and Interquartile Range on paper.
Step-by-Step Paper Solution:
Sort the Data:
Find (Median):
- Middle positions: () and ().
Partition into Halves:
- Lower Half ( values):
- Upper Half ( values):
Find and :
- Median of Lower Half: average the two middle values ( and ):
- Median of Upper Half: average the two middle values ( and ):
Compute Range and IQR:
Five-Number Summary:
Example 3: Odd with Even Halves ()
Problem: Eleven golfers recorded their scores on a challenging par-72 course:
Determine the Five-Number Summary and IQR on paper.
Step-by-Step Paper Solution:
Sort the Data:
Find (Median):
- Position: value.
- The value is .
- .
Partition into Halves (excluding ):
- Lower Half ( values):
- Upper Half ( values):
Find and :
- Lower half has values; its middle value is the value:
- Upper half has values; its middle value is the value:
Calculate IQR:
Five-Number Summary:
Example 4: Comparing Range vs. IQR in the Presence of an Outlier
Problem: A tech startup has five junior engineers earning , and a celebrity CEO earning .
Compare the Range and IQR on paper.
Step-by-Step Paper Solution:
- Ordered List ():
- Range:
- Quartiles:
- Lower half ( values): .
- Upper half ( values): .
- .
- IQR:
- Conclusion:
- The Range () is massively inflated by the single CEO salary, giving the false impression that ordinary salaries vary by hundreds of thousands of dollars.
- The IQR () accurately conveys that the typical middle of employees have salaries clustered closely within an band.
Common Mistakes & Paper Traps
Calculating Quartiles on Unsorted Data:
- Taking the position of the raw list without sorting first. Always sort the list first!
Including the Median in Halves when is Odd:
- In standard school mathematics (the Tukey/Halving method), when is odd, the median must be excluded from both the lower half and the upper half.
Subtracting Positions Instead of Values:
- If is at position and is at position , accidentally writing .
- Fix: IQR is the difference between the values at those positions (), not the positions themselves.
Confusing IQR with Semi-IQR:
- .
- . Pay close attention to which one the exam asks for.
Pencil & Paper Practice
Practice 1
Nine runner heart rates (in beats per minute) were recorded during a warm-up:
Find the Five-Number Summary and the Interquartile Range on paper.
Practice 2
Ten students took a mathematics placement test:
Determine the Five-Number Summary, the Range, and the Semi-Interquartile Range.
Worked Solutions for Practice Problems
Solution to Practice 1
- Sorted List ():
- , .
- Median ():
- Position: value .
- Lower and Upper Halves (exclude ):
- Lower half ( values): .
- Upper half ( values): .
- IQR:
- Five-Number Summary: .
Solution to Practice 2
- Sorted List (, already in ascending order):
- , .
- Median ():
- Average of () and () values:
- Halves ( values each):
- Lower half: .
- Upper half: .
- Range, IQR, and Semi-IQR:
- Five-Number Summary: .
Test yourself
What proportion of observations in any distribution lies strictly between the first quartile and the third quartile ?
- Approximately
- Approximately
- Approximately
- Approximately
For the ordered dataset: , what is the Interquartile Range (IQR)?
A dataset has a Five-Number Summary of . What is the Semi-Interquartile Range?