All revision notes topics

Histograms, stem and leaf diagrams and box plotsEdexcel International A Level Maths: Revision notes

Section 1

Histograms and frequency density

A histogram displays continuous grouped data. Because class widths can differ, the area of each bar (not its height) is proportional to the frequency, so the vertical axis shows frequency density: frequency density=frequencyclass width.\text{frequency density}=\frac{\text{frequency}}{\text{class width}}. Example: 60 calls with classes 0 to 2 (12 calls), 2 to 5 (21), 5 to 10 (15), 10 to 20 (12) have frequency densities 6, 7, 3, 1.26,\ 7,\ 3,\ 1.2. To estimate the frequency in part of a class, assume data are evenly spread: calls between 5 and 8 minutes ≈3×3=9\approx3\times3=9. Bar heights are in proportion to frequency densities.

Key termshistogramfrequency densityclass width
Common mistake

Plotting frequency instead of frequency density when class widths are unequal.

Exam tip

Compare bars by height only if the vertical scale is frequency density.

Section 2

Stem and leaf diagrams

A stem and leaf diagram shows every data value. The stem is the leading digit(s) and each leaf is the last digit. Leaves are written in order and a key is always given, e.g. 4|2 means 42. Because the data are in order, the median and quartiles can be read directly. For nn values: the median is the n+12\frac{n+1}{2}th value; Q1Q_1 is at position n4\frac n4 and Q3Q_3 at 3n4\frac{3n}{4}. If the position is a whole number take the mean of that value and the next; otherwise round up. For 15 scores the median is the 8th value (42), Q1Q_1 the 4th (34) and Q3Q_3 the 12th (53).

Key termsstemleafkey
Common mistake

Leaving out the key, or writing leaves out of order.

Exam tip

Count the leaves to check that the total equals the sample size.

Section 3

Back-to-back stem and leaf diagrams

A back-to-back diagram compares two data sets on one common stem, with leaves of one set to the left (reading outwards from the stem) and the other to the right. Each side is ordered with its own key. You find the median and quartiles of each side separately. Example: 12 girls' times 38, 40, 42, 44, 45, 46, 49, 51, 53, 55, 57, 62: median 46+492=47.5\frac{46+49}{2}=47.5, Q1=42+442=43Q_1=\frac{42+44}{2}=43, Q3=53+552=54Q_3=\frac{53+55}{2}=54, IQR =11=11.

Key termsback-to-back
Exam tip

Check both keys and read each side outwards from the stem.

Section 4

Box plots and skewness

A box plot shows the five-number summary: minimum, Q1Q_1, median (Q2Q_2), Q3Q_3 and maximum. The box spans Q1Q_1 to Q3Q_3 with a line at the median, and whiskers extend to the extremes. The interquartile range is Q3−Q1Q_3-Q_1 and the range is maximum −- minimum. Outliers, where identified, are plotted separately as crosses. Skewness: if Q3−Q2>Q2−Q1Q_3-Q_2>Q_2-Q_1 the distribution is positively skewed; if Q3−Q2<Q2−Q1Q_3-Q_2<Q_2-Q_1 it is negatively skewed; if they are equal it is symmetrical. Quarter rule: roughly 25% of values lie in each of the four sections, so in a sample of 40, about 10 values are above Q3Q_3.

Key termsbox plotquartileinterquartile rangeskewness
Common mistake

Describing skewness using range or mean rather than the quartile spacing.

Section 5

Comparing distributions

To compare two distributions, make at least two comments, each in the context of the question: one about location (median) and one about spread (IQR or range). Use numbers from both distributions. Example: YY has median 47 and IQR 14; XX has median 45 and IQR 25. So YY's typical mark is slightly higher and its marks are more consistent. Finish with a conclusion if asked which performed better, and avoid vague words such as 'better' without evidence.

Key termslocationspread
Common mistake

Comparing only one measure or quoting numbers without a comment in context.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Histograms, stem and leaf diagrams and box plots

  1. The lengths of 60 phone calls are grouped as follows: 12 calls lasted from 0 to 2 minutes, 21 calls from 2 to 5 minutes, 15 calls from 5 to 10 minutes, and 12 calls from 10 to 20 minutes. A histogram is drawn with frequency density on the vertical axis.
    In the histogram, the bar for the class 2 to 5 minutes is 3.5 cm tall. Find the height of the bar for the class 10 to 20 minutes.2 marks
  2. The scores of 15 players in a game are 23, 27, 31, 34, 34, 38, 41, 42, 45, 47, 52, 53, 58, 61 and 66. They are shown in an ordered stem and leaf diagram.
    Describe the skewness of the distribution, justifying your answer using the quartiles.2 marks
  3. The times, in seconds, taken by 12 boys and 12 girls to complete an obstacle course are shown in a back-to-back stem and leaf diagram. The boys' times are 41, 43, 45, 47, 48, 52, 54, 55, 58, 61, 63 and 69. The girls' times are 38, 40, 42, 44, 45, 46, 49, 51, 53, 55, 57 and 62.
    Find the median and the interquartile range of the girls' times.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).