Quartiles and box-and-whisker diagrams
Quartiles divide the ordered data into four groups with the same number of data, and the box-and-whisker diagram draws them together with the extreme values. They summarise a distribution without one odd value distorting it, something the mean cannot manage. In Paper 1 you calculate them by hand using the positions; in Paper 2 the GDC gives them to you, but you must know how to read them from a cumulative frequency graph.
Range
It is the simplest measure of spread, but it uses only two data values. A single very high or very low value makes it jump. That is why quartiles are also used: they are not pulled so much by the extremes.
Quartiles and percentiles
With the data ordered from smallest to largest, the quartiles split them into four parts with roughly the same number of data in each.
Percentiles are the same idea with any percentage. The percentile of order , , is the value that leaves of the data below it. Therefore, , and .
Interquartile range
Five-number summary and box-and-whisker diagram
The five-number summary of a distribution is the minimum, , the median, and the maximum. With these five values the box-and-whisker diagram is drawn.
The box contains the central of the data, and each whisker covers, roughly, a quarter of the data. If the median is not in the centre of the box, or one whisker is much longer than the other, the data are skewed towards one side.
Outliers
A datum far away from the rest should not stretch the whisker out to it. For that purpose, outliers are defined.
The limits are calculated from the quartiles, not from the median or from the extremes.
Quartiles from the cumulative frequency graph
With data grouped into intervals the individual data are not known, so the quartiles are estimated with the cumulative frequency graph. The upper limit of each interval is marked on the horizontal axis, and the cumulative frequency on the vertical axis. The curve starts at the point and joins the points with straight segments.
Worked examples
Waiting times at a counter
At a counter, the number of minutes that each of the 9 customers waited in the morning has been recorded. The data, unordered, are:
a) Find the range.
b) Calculate , and by hand, using the positions.
c) Calculate the interquartile range.
Solution
First we order the data: . There are data.
a) minutes.
b) The positions are , and .
- occupies the fifth place: .
- is halfway between the second datum (7) and the third (8): .
- is halfway between the seventh datum (15) and the eighth (18): .
c) minutes.
Test scores and an unusual result
A teacher has marked a test out of 50 points for 11 students. The scores are:
a) Find the five numbers that summarise the data.
b) Calculate the interquartile range.
c) Find the upper limit for outliers and state which values are outliers.
d) State how far each whisker reaches.
Solution
We order the data: . There are data.
a) The positions are , and . So is the third datum (15), the sixth (19) and the ninth (22). The minimum is and the maximum is .
The five numbers are .
b) .
c) The limits are The datum exceeds , so it is an outlier. The lies within the limits, so it is not an outlier.
d) The lower whisker reaches the minimum, . The upper whisker does not reach , because that value is an outlier: it reaches , the largest datum that is not an outlier.
Calls to the customer service
At a customer service centre, the time taken to answer each of the calls received in one afternoon has been recorded. The times, in minutes, are grouped as follows:
| Time (min) | ||||
|---|---|---|---|---|
| Calls | 6 | 10 | 20 | 4 |
The cumulative frequency graph is drawn and the quartiles are estimated by joining the points with straight segments.
a) Estimate , and .
b) Calculate the interquartile range.
c) Estimate how many calls took more than 25 minutes to be answered.
Solution
First the cumulative frequencies are completed: , , and . The points of the graph are , , , and .
a) The positions are , and .
- : the horizontal line at cuts the segment from to . On that segment the curve rises calls in minutes, that is, one call per minute. From to there are calls missing, or minutes: minutes.
- : the horizontal line at cuts the segment from to . It rises calls in minutes, two per minute. From to there are calls missing, or minutes: minutes.
- : the horizontal line at cuts the same segment. From to there are calls missing; at two per minute that is minutes: minutes.
b) minutes.
c) On the segment from to the curve rises two calls per minute. At minutes the cumulative frequency is . Therefore, calls took more than minutes.
In the exam: write the positions , and that you use, and the segment on which you read. Without that mark, the value read cannot be checked.
Common mistakes
Summary
- Range . The quartiles , (median) and split the ordered data into four parts: , and .
- is the width of the box, which contains the central of the data.
- Five-number summary: minimum, , median, and maximum. With these values the box-and-whisker diagram is drawn.
- Outliers are the data outside . Each whisker reaches the most extreme datum that is not an outlier.
- With grouped data, on the cumulative graph find , and on the vertical axis and read the quartile on the horizontal axis. These are estimated values.
Want to work on it together?
Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.
Message us on WhatsApp