Cumulative Frequency Diagrams and Box Plots | Edexcel A Level Maths notes

Free preview: Cumulative Frequency Diagrams and Box Plots

Cumulative Frequency Diagrams

Year 1 (AS)

In the last notes you found the median of grouped data by calculation. That works, but every new question (the 30th value, the 90th percentile, how many under 15 cm?) needs a new calculation. What if one graph could answer them all? Let's build it.

  • Cumulative frequency is a running total of the frequencies.
  • It tells you how many values are less than a given value.
  • A cumulative frequency diagram plots these running totals. From it you can read the median, quartiles and percentiles of grouped data.

Example. The lengths of 80 leaves were measured.

Length, l (cm)0⩽l<44⩽l<88⩽l<1212⩽l<1616⩽l<20
Frequency614282210
Cumulative frequency620487080
Plot at l =48121620

Recipe: drawing the diagram

  1. Add a cumulative frequency row: keep adding the frequencies. Why: each total is how many values lie below the end of that class.
  2. Plot each total at the upper class boundary. Why: 6 leaves are shorter than 4 cm, and we only know that once we reach 4 cm. So plot (4, 6).
  3. Start at (lower boundary, 0): here (0, 0), since no leaf is shorter than 0 cm.
  4. Join the points with straight lines (or a smooth curve). Straight lines give the same answers as linear interpolation.

Cumulative frequency graph for 80 leaf lengths, with lines read across at 20, 40 and 60 to give Q1 = 8, median about 10.9 and Q3 about 14.2

Following the graph

  1. Each cumulative frequency is plotted at the upper class boundary: (4, 6), (8, 20), (12, 48), (16, 70), (20, 80), after starting at (0, 0).
  2. n = 80, so read across at 80 ÷ 4 = 20, 80 ÷ 2 = 40 and 3 × 80 ÷ 4 = 60, then down to the length axis.
  3. Q1=8.0 cm, median ≈ 10.9 cm, Q3≈14.2 cm. So the IQR ≈ 14.2 − 8.0 = 6.2 cm.

Diagram: On the right, the points sit at the upper ends of the classes, starting with (4, 6). The median reads as 10.9 cm.

What the picture shows

  1. On the right, the points sit at the upper ends of the classes, starting with (4, 6). The median reads as 10.9 cm.
  2. On the left, the same totals are plotted at the midpoints, so the curve sits 2 cm too far left and the median comes out at 8.9 cm.
  3. A running total is only complete at the end of its class, so always plot at the upper class boundary.

👀 Watch me do it: check the graph's median by calculation

What I writeWhy I do it
Median position: 802=40.n ÷ 2 for grouped data.
40 lies between 20 (at 8 cm) and 48 (at 12 cm).So the median is in 8⩽l<12.
8+40−2028×4=8+2.857=10.9 cmThe straight line between the points does exactly this calculation.
Matches the graph.A quick check like this catches a misread scale.

📝 Common mistakes

Plotting at the midpoint instead of the upper boundary is the most common error. Also, read the question: "how many leaves are longer than 15 cm?" means read the graph at 15 cm and then subtract from 80.

✏️ YOUR TURN 1

Try this first:

The heights of 50 plants are grouped: 0–10 cm: 4, 10–20: 11, 20–30: 20, 30–40: 10, 40–50: 5 (classes a⩽h<b). (a) List the points to plot. (b) Estimate the median and quartiles using straight lines between the points.

Answer:

  • (a) Cumulative: 4, 15, 35, 45, 50. Points (0, 0), (10, 4), (20, 15), (30, 35), (40, 45), (50, 50).
  • (b) Median: position 25, between 15 and 35: 20+25−1520×10=25 cm.
  • Q1: position 12.5: 10+12.5−411×10=17.7 cm. Q3: position 37.5: 30+37.5−3510×10=32.5 cm.

Box Plots

A cumulative frequency graph holds a lot of information. Often we only want five key numbers, drawn so we can see the shape at a glance. That's a box plot.

  • A box plot (box-and-whisker diagram) is a picture of the five-number summary: smallest value, Q1, median, Q3 and largest value.
  • It is drawn against a scale, like a number line.
  • The box runs from Q1 to Q3, with a line at the median.
  • So the box holds the middle 50% of the data, and its length is the IQR.
  • The whiskers run from the box out to the smallest and largest values that are not outliers.
  • Any outlier (an unusually extreme value) is marked separately with a cross.
  • The rule for outliers is given in the question or set by your board. A common one: more than 1.5 × IQR beyond the nearer quartile (see the outliers note).

Recipe: drawing a box plot

  1. Find the median and quartiles. Why: they make the box.
  2. Work out the outlier limits: Q1−1.5×IQR and Q3+1.5×IQR (or the rule in the question). Why: outliers must be found before you can draw the whiskers.
  3. Draw the box from Q1 to Q3 with a line at the median, on a labelled scale.
  4. Draw the whiskers to the furthest values inside the limits, and a cross at each outlier.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Data Presentation and Interpretation

  1. Types of Data and the Mean, Median and Mode
  2. Coding Data: Linear Changes to the Mean and Standard Deviation
  3. The Weather Large Data Set: Met Office Data for 1987 and 2015
  4. Grouped Data: Estimating the Mean, Median, Quartiles and Percentiles
  5. Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation
  6. Cumulative Frequency Diagrams and Box Plots
  7. Histograms, Frequency Density and the Shape of a Distribution
  8. Scatter Diagrams, Correlation and Regression Lines
  9. Outliers, Cleaning Data and Choosing How to Present It
  10. Move Up a Grade: A Level Maths Data Presentation and Interpretation
  11. Tricky Bits: A Level Maths Data Presentation and Interpretation

What's inside for this topic

11 teacher notes, 201 practice questions, 69 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation Next note: Histograms, Frequency Density and the Shape of a Distribution

Cumulative Frequency Diagrams and Box Plots on other exam boards

All Edexcel A Level Maths topics · A Level Maths