top of page

3.5 Comparing Data

A-level Maths Statistics and Mechanics Year 1 (AS) · Edexcel 9MA0 · Chapter 3: Representations of Data

A free A-level Maths Stats and Mechanics Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: comparing data sets using a measure of location and a measure of spread, in context. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Compare two data sets using a measure of location and a measure of spread, in context
  • Calculate the statistics needed for a comparison from raw data or summary statistics
  • Choose between mean and standard deviation, and median and interquartile range
  • Compare data sets from diagrams, and choose or critique a suitable diagram

Key words

  • Measure of location: An average: mean, median or mode.
  • Measure of spread: Range, interquartile range or standard deviation.
  • Consistent: Having a small spread: the values are close together.
  • In context: Saying what a comparison means for the real situation, such as "Station P was warmer".
  • Robust: Not much affected by outliers. The median and IQR are robust; the mean and standard deviation are not.

What a good comparison looks like

A full comparison has two parts: compare a measure of location and compare a measure of spread. Each part needs the two values, a statement of which is bigger, and what that means in context.

Worked example: two classes

Class A: mean mark 62.4, standard deviation 8.1. Class B: mean mark 58.7, standard deviation 13.5.
Location: the mean for Class A (62.4) is higher than for Class B (58.7), so on average Class A scored higher.
Spread: the standard deviation for Class A (8.1) is lower than for Class B (13.5), so Class A’s marks were more consistent.

Answer: Class A did better on average and its marks were less spread out

Exam tip: Do not just write "A is higher than B". Say what is higher, give the values, and say what it means: "the median journey time by car is longer".

Comparing using summary statistics

Often you must work out the statistics first, using the methods of chapter 2. The example uses invented daily maximum temperatures for July at an inland station P and a coastal station Q (the kind of data in the large data set).

Worked example: two weather stations

P: n = 31, Σ x = 651, Σ x² = 13 900. Q: n = 31, Σ x = 589, Σ x² = 11 291
P: x̅ = 651/31 = 21.0, σ² = 13900/31 − 21² = 7.387..., σ = 2.72
Q: x̅ = 589/31 = 19.0, σ² = 11291/31 − 19² = 3.225..., σ = 1.80
The mean at P is higher, so P was warmer on average. The standard deviation at Q is lower, so the temperatures at Q varied less from day to day.

Answer: P warmer on average; Q more consistent

This fits the context: the sea warms and cools slowly, so coastal temperatures tend to vary less than inland temperatures.

Choosing the right measures

  • Data roughly symmetrical, no outliers; Use Mean and standard deviation (they use all the data)
  • Outliers or a very lopsided (skewed) distribution; Use Median and IQR (they are robust)
  • Data given as box plots or cumulative frequency diagrams; Use Median and IQR (that is what the diagram shows)
  • Qualitative data (colours, types); Use Mode

Worked example: journey times with an outlier

Bus (minutes): 12, 14, 15, 15, 16, 18, 19, 21, 58. Car: 10, 13, 17, 20, 22, 24, 27, 29, 31
Means: bus 188/9 = 20.9, car 193/9 = 21.4, almost the same, but the bus mean is pulled up by 58.
Medians: bus 16, car 22. IQRs: bus 19 − 15 = 4, car 27 − 17 = 10

Answer: use the medians and IQRs: the bus is usually quicker and its times are more consistent

Comparing from diagrams, and choosing a diagram

Side-by-side box plots on one scale are the clearest way to compare two data sets: read off the medians and the IQRs (or ranges). Histograms and frequency polygons show the shape; cumulative frequency diagrams give medians and quartiles for large grouped data.

Worked example: comparing box plots

Medians: A 10 knots, B 12 knots, so it was generally windier at B.
IQRs: A 13 − 7 = 6 knots, B 16 − 9 = 7 knots, so the wind speeds at B were slightly more variable.

Answer: B windier on average and slightly less consistent

  • Box plots; Good for Comparing location, spread and outliers of two or more sets; Not good for Showing the number of values or the exact shape
  • Histogram; Good for Showing the shape of grouped continuous data; Not good for Comparing two sets on one diagram
  • Cumulative frequency; Good for Medians, quartiles and percentiles of large grouped data sets; Not good for Seeing individual values or outliers

Common mistakes

  • Comparing only averages and forgetting the spread (or the other way round).
  • Making comparisons without context, such as "A is bigger than B".
  • Comparing a mean with a median, or a standard deviation with an IQR: compare like with like.
  • Saying a larger spread means "higher values": it means the values are less consistent.
  • Using one extreme value (such as the highest temperature) to decide which set is larger on average.

Revision questions

Try these, then check your answers below each one.

Question 1. Group A: mean 34.2 s, standard deviation 5.1 s. Group B: mean 29.8 s, standard deviation 7.6 s. The times are for solving a puzzle. Which is the best comparison? (Choose from: Group B were faster on average; Group A’s times were more consistent; Group A were faster on average; Group B’s times were more consistent; Group B were faster on average and more consistent; Group A is bigger than Group B.)

Answer: Group B were faster on average; Group A’s times were more consistent

Working: Mean B (29.8 s) is lower, so B were faster on average. Standard deviation A (5.1 s) is lower, so A’s times were more consistent.

Question 2. Station Q, on the same 10 days, had mean 13.9 °C and standard deviation 4.1 °C. Using your answers for station P, which statement is correct? (Choose from: P was warmer on average and its temperatures were more consistent; Q was warmer on average and more consistent; P was warmer on average but less consistent; Q was warmer on average but less consistent.)

Answer: P was warmer on average and its temperatures were more consistent

Working: P has the higher mean (15.2 > 13.9) and the lower standard deviation (2.82 < 4.1).

Question 3. Amira says: "These data contain an outlier, so the mean and standard deviation are the best measures to compare them." Is Amira correct?

Answer: No

Working: No. The mean and standard deviation are affected by outliers. The median and IQR are better.

Related lessons

Continue in the full course

This lesson is section 3.5 of our free A-level Maths Statistics and Mechanics Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Statistics and Mechanics Year 1 (AS) course.

 

 

 

 

 

 

 

bottom of page