5.1.2 Stem and Leaf Diagrams
In this topic we will learn how to:
- draw and interpret stem and leaf diagrams
A stem and leaf diagram is used to represent discrete data. It consists of a stem, which defines the scale for the data, and a leaf on which the data is plotted. It also consists of a key which explains how to read the data.
We can calculate the median from a stem and leaf plot. To do that we use the formula,
The formula above, gives us the position of the median, which is denoted by and represents the sample size.
We can calculate the lower quartile from a stem and leaf plot. To do that we use the formula,
Where represents the lower quartile.
We can calculate the upper quartile from a stem and leaf plot. To do that we use the formula,
Where represents the upper quartile.
We can calculate the interquartile range from a stem and leaf plot. To do that we use the formula,
Where represents the interquartile range, represents the upper quartile, represents the lower quartile.
Let’s look at some past paper questions.
1. The following table gives the weekly snowfall, in centimetres, for weeks in at two ski resorts, Dados and Linva.
Dados | 6 | 8 | 12 | 15 | 10 | 36 | 42 | 28 | 10 | 22 | 16 |
Linva | 2 | 11 | 15 | 16 | 0 | 32 | 36 | 40 | 10 | 12 | 9 |
(9709/52/O/N/20 number 5)
(a) Represent the information in a back-to-back stem-and-leaf diagram.
To determine the scale in the stem, look at the lowest and highest values in the dataset. In our case, that is and respectively. This means our scale should range from to to encompass all the data, hence the reason for the scale above. Then plot the data, for Davos on the left hand side, from right to left i.e numbers increase from right to left. Plot data for Linva on the right hand side, from left hand side to right hand side i.e numbers increase going to the right. Don’t forget to insert a key to help read your stem-and-leaf diagram.
(b) Find the median and interquartile range for the weekly snowfall in Dados.
To find the median we use the formula,
Substitute into the formula,
Note: Remember that this formula gives us the position of the median.
Find the data point in position number for Dados, remember to count from right to left,
To find the interquartile range we use the formula,
Let’s find ,
Find the data point in position ,
Let’s find ,
Find the data point in position ,
Let’s substitute into the formula for ,
Therefore, the final answer is,
(c) The median, lower quartile and upper quartile of the weekly snowfall for Linva are , , and cm, respectively. Use this information and your answers to part to compare the central tendency and the spread of the weekly snowfall in Dados and Linva.
The median of Dados, , is higher than that of Linva, . This means that on average, the snowfall in Dados is higher than in Linva.
Let’s calculate, for Linva,
The interquartile range of Dados, , is lower than that of Linva, . This means that the amount of snowfall in Linva varies more than that of Dados.
2. The weights, in kg, of rugby players in the Rebels club and soccer players in the Sharks Club are shown below
Rebels | 75 | 78 | 79 | 80 | 82 | 82 | 83 | 84 | 85 | 86 | 89 | 93 | 95 | 99 | 102 |
Sharks | 66 | 68 | 71 | 72 | 74 | 75 | 75 | 76 | 78 | 83 | 83 | 84 | 85 | 86 | 92 |
(9709/51/O/N/21 number 6)
(a) Represent the data by drawing a back-to-back stem-and-leaf diagram with Rebels on the left-hand side of the diagram.
To determine the scale in the stem, look at the lowest and highest values in the dataset. In our case, that is and respectively. This means our scale should range from to to encompass all the data, hence the reason for the scale above. Then plot the data, for Rebels on the left hand side, from right to left i.e numbers increase from right to left. Plot data for Sharks on the right hand side, from left hand side to right hand side i.e numbers increase going to the right. Don’t forget to insert a key to help read your stem-and-leaf diagram.
(b) Find the median and interquartile range for the Rebels.
To find the median we use the formula,
Substitute into the formula,
Note: Remember that this formula gives us the position of the median.
Find the data point in position number for Rebels, remember to count from right to left,
To find the interquartile range we use the formula,
Let’s find ,
Find the data point in position ,
Let’s find ,
Find the data point in position ,
Let’s substitute into the formula for ,
Therefore, the final answer is,