Sub topic 12
Quartiles and the Interquartile Range
Quartiles describe the position of values in an ordered data set. They divide the data into four parts. This chapter assumes that you can calculate a median and sort numbers from least to greatest.
Finding the quartiles
The three important points are:
- Q1, the first quartile, is the median of the lower half.
- Q2 is the median of the entire data set.
- Q3, the third quartile, is the median of the upper half.
The interquartile range, or IQR, measures the spread of the middle half of the data:
IQR = Q3 − Q1
Start by sorting the values. Then find the median. If the data set has an odd number of values, leave the overall median out when finding Q1 and Q3.
Consider this ordered data set:
3, 5, 6, 7, 8, 10, 12, 13, 15, 18, 21
There are 11 values, so the sixth value is the median:
- Q2 = 10
- Lower half: 3, 5, 6, 7, 8
- Upper half: 12, 13, 15, 18, 21
- Q1 = 6
- Q3 = 15
- IQR = 15 − 6 = 9
The IQR tells us that the middle 50% of the values occupy an interval from 6 to 15, with a width of 9.
For an even number of values, split the data into two equal halves. Find the median of each half. For example:
2, 4, 5, 7, 9, 11, 14, 20
The lower half is 2, 4, 5, 7, so Q1 is (4 + 5) / 2 = 4.5. The upper half is 9, 11, 14, 20, so Q3 is (11 + 14) / 2 = 12.5. Therefore:
IQR = 12.5 − 4.5 = 8
| Statistic | Meaning | Effect of an extreme high value |
|---|---|---|
| Q1 | Median of the lower half | Usually little or no effect |
| Q2 | Median of all values | Usually little effect |
| Q3 | Median of the upper half | May increase |
| IQR | Q3 minus Q1 | May increase, but less than the range |
Common GRE errors
Do not calculate quartiles from an unsorted list. Quartiles depend on position, so sorting is essential.
Do not confuse Q3 with the third value. Q3 is a median, not a location counted from the beginning.
Do not use the largest value minus the smallest value for the IQR. That calculation is the range. The IQR uses Q3 and Q1, so it ignores the outer quarters of the data.
The IQR is useful when outliers could distort the range or standard deviation. A data set can have a large range but a relatively small IQR if only one or two values are far from the rest.
Exercise
For the data set 4, 6, 7, 9, 10, 12, 15, 18, find Q1, Q2, Q3, and the IQR.
Show answer
Q1 = (6 + 7) / 2 = 6.5, Q2 = (9 + 10) / 2 = 9.5, Q3 = (12 + 15) / 2 = 13.5, and IQR = 13.5 − 6.5 = 7.