Statistics and Mechanics Year 1, chapter 2 (Measures of location and spread), section 2.2
Quartiles and percentiles
The lower quartile has of the data below it. The median has . The upper quartile has .
A percentile divides the data into hundredths: the 10th percentile has of the data below it.
From a list of values
For , find .
- If it is not a whole number, round up and take that value.
- If it is a whole number, take the mean of that value and the next one.
The same idea works for (using ) and for percentiles.
Worked example 1
For the twelve values :
- : , so the mean of the 3rd and 4th values: .
- Median: .
- : , so the mean of the 9th and 10th: .
Grouped data and interpolation
For grouped data, the position is estimated using linear interpolation, which assumes values are spread evenly through the class.
Worked example 2
| Class | – | – | – |
|---|---|---|---|
| 5 | 8 | 7 | |
| Cumulative | 5 | 13 | 20 |
The median is the 10th value (), in the class –:
For , the 15th value is in –: (3 s.f.).
Percentiles
The 90th percentile uses position , in the same way.
Common mistake: using the wrong rule for whole-number positions. For you average the 3rd and 4th values. Also, with grouped data, use the upper boundaries for the cumulative frequency.
Exam tip: show the position calculation, the class it lies in, and the interpolation formula. Say that the answer is an estimate.
Check yourself
How do you find for ?
, so round up and take the 3rd value.
What fraction of the data is below the upper quartile?
.
Why is interpolation used for grouped data?
The exact values are unknown, so we assume they are spread evenly in each class.