Websink Prep UKKS3 MathsYear 8 chaptersMaths textbooksReceptionYear 1Year 2Year 4Year 5Year 6Year 3Year 7Year 8Year 9GCSEBrowse allPast papersFind a tutorBecome a tutor
KS3 Maths · Year 8Chapter 13 · Averages from grouped data, scatter graphs and correlation
Year 8 · Chapter 13

Averages from grouped data, scatter graphs and correlation

By the end of this chapter you will be able to

  • Find the mean, median, mode and range of a list of values, including from a set of data in order
  • Find the midpoint of each class, and use midpoints to estimate the mean of grouped data
  • Find the modal class and the class containing the median of grouped data
  • Compare two sets of data using an average and the range
  • Plot a scatter graph, describe the correlation, and use a line of best fit to make predictions

You should already know

  • Mean, median, mode and range of small lists (Year 7)
  • Frequency tables, and tallies (Year 7)
  • Plotting coordinates and reading graphs (Year 8, Chapters 7 and 8)

Where this leads

  • Cumulative frequency, histograms and box plots (GCSE)
  • Correlation coefficient and regression lines (GCSE and A-level)
  • Sampling and the reliability of statistical conclusions (GCSE)

National Curriculum for England, Key Stage 3 mathematics, Year 8. Content: Find the modal class, the class containing the median, and an estimate of the mean from a grouped frequency table, using midpoints, Compare distributions using averages and the range, Plot a scatter graph from a table, and describe correlation as positive, negative or none, Use a line of best fit by eye to interpolate and extrapolate, and discuss when extrapolation is not reliable.

Exercise P  Do you remember?

Non-calculator
1
FWork out 3 × 4 + 5.
2
FPut these in order from smallest to largest: 5, 2, 9, 4.
3
FWork out 40 ÷ 8.
4
FWhat is the midpoint of 4 and 10?
5
FWhich number is the middle of the list 2, 6, 8, 11, 15?
13.1

Mean, median, mode and range of a list

Year 8
Find the mean, median, mode and range of a list of values
Video lesson: Mean, median, mode and range of a listComing soon
Ali records the number of goals scored by his football team in five matches: 3, 7, 4, 9, 7. He wants one number to describe a typical match, and a number to show how much the scores vary.

An average is one number that represents a set of data. There are three averages:

The range measures spread: range = biggest value − smallest value.

Key ideas

  • Mean = total ÷ number of values.
  • Median: put the values in order first, then find the middle (average the two middle values if there are an even number).
  • Mode: the most common value. There can be more than one mode.
  • Range = biggest − smallest.
Worked example 13.1.1
Find the mean of 3, 7, 4, 9, 7.

Method. The mean is the total divided by the number of values.

  1. Add the values. Find the total of all the values.
    3 + 7 + 4 + 9 + 7 = 30
  2. Count the values. There are 5 values.
    n = 5
  3. Divide. Mean = total ÷ number of values.
    30 ÷ 5 = 6
  4. Write the answer.
    6

Check. 6 × 5 = 30, the total.

Worked example 13.1.2
Find the median of 4, 9, 1, 7, 3.

Method. Put the values in order, then find the middle.

  1. Put the values in order. Write them from smallest to largest.
    1, 3, 4, 7, 9
  2. Find the middle. The middle value is the 3th value.
    n = 5
  3. Write the answer.
    4

Check. There are 2 values below and 2 above the median.

Worked example 13.1.3
Find the mode and the range of 2, 3, 3, 5, 7.

Method. Count the values for the mode, and subtract the smallest from the biggest for the range.

  1. Find the mode. The value 3 appears twice; the others appear once.
    mode = 3
  2. Find the range. The biggest value is 7 and the smallest is 2.
    7 − 2 = 5
  3. Write the answer.
    Mode 3, range 5

Check. The mode is the most common, and the range is the spread.

Watch out

Watch out: the median needs the values in order first. Finding the middle of an unordered list is a common mistake.

Exam tip

Exam tip. Write the values in order before you find the median. For an even number of values, average the two middle ones.

Exercise 13A  Mean, median, mode and range

Non-calculator
1
FFind the mean of 10, 12, 14, 16, 18.
2
FFind the mean of 3, 7, 4, 9, 7.
3
FFind the mean of 5, 8, 6, 9, 2.
4
FFind the mean of 12, 15, 9, 20, 14, 10.
5
FFind the median of 4, 9, 1, 7, 3.
6
FFind the median of 10, 2, 8, 6.
7
FFind the median of 15, 12, 20, 9, 11, 14.
8
FFind the mode of 2, 3, 3, 5, 7.
9
FFind the modes of 1, 2, 2, 3, 3, 4.
10
FFind the range of 4, 9, 1, 7, 3.
11
FFind the range of 12, 15, 9, 20, 14, 10.
12
PSFive test scores are 6, 8, 9, 10, 12. Find the mean and the range.
13
PSThe mean of four numbers is 6. Three of the numbers are 4, 7 and 5. Find the fourth number.
14
RAli says that the median of 4, 9, 1, 7 is 7, because it is the third value in the list. Is Ali right? Explain.
15
RA class has 5 pupils with the same score of 10. Explain why the mode, median and mean are all 10.
13.2

Grouped frequency tables

Year 8
Find the modal class and the class containing the median, Estimate the mean using midpoints
Video lesson: Grouped frequency tablesComing soon
A library records how many minutes each of 20 children spent reading. The data is in classes, such as 0 to 10 minutes, so the head of the library can see the pattern quickly.

When data is grouped, we do not know the exact values. We use the midpoint of each class to estimate the mean.

To estimate the mean: multiply each frequency by its midpoint, add these totals, then divide by the total frequency.

The modal class is the class with the highest frequency. The median class is the class that contains the middle position, (n + 1) ÷ 2.

Key ideas

  • The midpoint of a class is halfway between its two ends.
  • Estimated mean = (sum of f × midpoint) ÷ (sum of f).
  • Modal class = the class with the highest frequency.
  • Median class = the class where the running total reaches (n + 1) ÷ 2.
Worked example 13.2.1
A table has classes 0 < t ≤ 10, 10 < t ≤ 20, 20 < t ≤ 30, 30 < t ≤ 40, with frequencies 4, 6, 8, 2. Find the estimated mean.

Method. Estimate the mean with the midpoints: multiply each frequency by the midpoint, add, and divide by the total frequency.

  1. Find the midpoint of each class. The midpoint is the middle of the class, the mean of its two ends.
    5, 15, 25, 35
  2. Multiply each frequency by its midpoint. This gives an estimate of the total for each class.
    4 × 5 = 20, 6 × 15 = 90, 8 × 25 = 200, 2 × 35 = 70
  3. Add the totals. The total of all the frequencies is 20.
    Σfx = 380
  4. Divide. Estimated mean = Σfx ÷ Σf.
    380 ÷ 20 = 19
  5. Write the answer.
    19

Check. The estimate is close to the mean of the midpoints weighted by the frequencies.

Worked example 13.2.2
Using the same table, find the modal class.

Method. The modal class is the class with the highest frequency.

  1. Find the highest frequency. Look down the frequency column.
    highest = 8
  2. Find its class. Read across to the class.
    20 < t ≤ 30
  3. Write the answer.
    20 < t ≤ 30

Check. The modal class is the class, not the frequency.

Worked example 13.2.3
Using the same table (n = 20), find the class that contains the median.

Method. The median is in the class that contains the middle position, (n + 1) ÷ 2.

  1. Find the position of the median. n = 20, so the median is at position (20 + 1) ÷ 2 = 21/2.
    position 21/2
  2. Add the frequencies up to each class. Find the class where the running total reaches the position.
    running totals
  3. Write the answer.
    20 < t ≤ 30

Check. Check the running total before the class is below the position.

Watch out

Watch out: the estimated mean is an estimate, because the exact values are not known. Use the midpoint, not the class label, when you multiply.

Exam tip

Exam tip. Write a column for the midpoint, a column for f × midpoint, and add a total row. This layout is what examiners look for.

Exercise 13B  Grouped data: midpoints, modal and median classes

Non-calculator
1
FA grouped table has classes 0 < t ≤ 10, 10 < t ≤ 20, 20 < t ≤ 30, 30 < t ≤ 40 with frequencies 4, 6, 8, 2. Find the estimated mean.
Time (minutes)Frequency
0 < t ≤ 104
10 < t ≤ 206
20 < t ≤ 308
30 < t ≤ 402
2
FFind the modal class of the table above.
3
FFind the class that contains the median of the table above.
4
FA table has classes 0 to 4, 5 to 9, 10 to 14, 15 to 19 with frequencies 2, 2, 4, 2. Use midpoints 2, 7, 12 and 17 to estimate the mean.
ScoreFrequency
0 – 42
5 – 92
10 – 144
15 – 192
5
FFind the modal class of the table with classes 0 to 4, 5 to 9, 10 to 14, 15 to 19 and frequencies 2, 2, 4, 2.
6
FFor the table with frequencies 2, 2, 4, 2 (n = 10), find the class that contains the median.
7
RThe midpoint of the class 20 < t ≤ 30 is 25. Explain how you know, using the two ends of the class.
8
RA table has classes 0 to 10 and 10 to 20 with frequencies 5 and 15. Ali says the estimated mean must be 10. Is Ali right? Explain.
9
PSA table of heights has frequencies 3, 5, 7 and 5 for four classes with midpoints 150, 160, 170 and 180 cm. Estimate the mean height, rounding to the nearest cm.
10
RA class of 20 pupils has times in a race. The modal class has frequency 7. Explain why the modal class does not have to be the middle class.
11
RFor the first table (n = 20), find the estimated mean using midpoints 5, 15, 25, 35 with frequencies 4, 6, 8, 2. Explain why it is only an estimate.
13.3

Comparing two sets of data

Year 8
Compare distributions using averages and the range
Video lesson: Comparing two sets of dataComing soon
Two classes take the same spelling test. Mrs Lee wants to know which class did better, and which class was more consistent. She uses an average to compare the typical score, and the range to compare the spread.

When you compare two sets of data, always say something about the average (which is typical) and the spread (the range), in the context of the question.

Key ideas

  • Compare averages to say which set is higher or lower overall.
  • Compare ranges to say which set is more consistent (smaller range) or more spread out (larger range).
  • Always write your conclusion in the context of the question.
  • Use the same kind of average for both sets.
Worked example 13.3.1
Class A scores are 6, 8, 9, 10, 12. Class B scores are 7, 9, 9, 9, 11. Compare the means.

Method. The mean is the total divided by the number of values.

  1. Add the values. Find the total of all the values.
    6 + 8 + 9 + 10 + 12 = 45
  2. Count the values. There are 5 values.
    n = 5
  3. Divide. Mean = total ÷ number of values.
    45 ÷ 5 = 9
  4. Write the answer.
    9

Check. 9 × 5 = 45, the total.

Worked example 13.3.2
Using the same scores, compare the ranges.

Method. The range is the biggest value minus the smallest value.

  1. Find the biggest value. Look for the largest number.
    11
  2. Find the smallest value. Look for the smallest number.
    7
  3. Subtract. Range = biggest − smallest.
    11 − 7 = 4
  4. Write the answer.
    4

Check. 7 + 4 = 11.

Worked example 13.3.3
Use your results to say which class is more consistent.

Method. A smaller range means the scores are closer together.

  1. Compare the ranges. Class A has range 6 and class B has range 4.
    6 and 4
  2. Decide. Class B has the smaller range, so its scores are more consistent.
    B is more consistent
  3. Write the answer.
    Class B is more consistent

Check. The means are both 9, so the averages are the same; the spread is the difference.

Watch out

Watch out: equal means do not mean the same spread. Always check the range too.

Exam tip

Exam tip. Write a comparison using both the average and the spread, and add the context. For example: “On average ... but ... varies more.”

Exercise 13C  Comparing two sets of data

Non-calculator
1
FClass A scores are 6, 8, 9, 10, 12. Find the mean.
2
FClass B scores are 7, 9, 9, 9, 11. Find the mean.
3
FFind the range of Class A: 6, 8, 9, 10, 12.
4
FFind the range of Class B: 7, 9, 9, 9, 11.
5
RCompare the two classes. Which class is more consistent? Use the means and the ranges in your answer.
6
PSTwo shops sell the same item. Shop X prices: 10, 12, 14. Shop Y prices: 8, 12, 16. Compare the mean and the range for the two shops.
7
RTwo classes have the same mean of 60 but ranges of 10 and 40. Which class has more spread out marks?
8
RAli says that a class with a bigger mean must always have a bigger range. Is Ali right? Explain.
9
RA class has a mean of 14 and range 8. Another has a mean of 14 and range 2. Which class is more consistent? Explain.
10
PSFind the mean and the range of 4, 4, 6, 8, 8.
13.4

Scatter graphs and correlation

Year 8
Plot a scatter graph from a table, Describe correlation as positive, negative or none
Video lesson: Scatter graphs and correlationComing soon
Sam records how many hours he studied for each of eight tests, and the mark he got. He plots the pairs on a scatter graph to see whether more study gives higher marks.

A scatter graph plots pairs of values as points. Look at the pattern to describe the correlation:

A line of best fit is a straight line drawn by eye, close to most of the points, with about as many points above as below it.

01234567830405060708090

Key ideas

  • Each point is one pair of values (x, y).
  • Positive correlation: the points go up from left to right.
  • Negative correlation: the points go down from left to right.
  • No correlation: the points have no clear pattern.
Worked example 13.4.1
Describe the correlation in the scatter graph of hours studied and marks, if the points rise from left to right.

Method. Look at the direction of the points.

  1. Look at the pattern. The points go up as we move to the right.
    up to the right
  2. Name the correlation. When both values rise together, the correlation is positive.
    positive
  3. Write the answer.
    Positive correlation

Check. More hours tend to go with higher marks.

Worked example 13.4.2
A scatter graph shows the age of a car and its value. As age goes up, the value goes down. Describe the correlation.

Method. Look at how the two values move together.

  1. Look at the pattern. As one value goes up, the other goes down.
    down to the right
  2. Name the correlation. This is a negative correlation.
    negative
  3. Write the answer.
    Negative correlation

Check. Older cars tend to be worth less.

Worked example 13.4.3
Describe the correlation of shoe size and a test score, if the points are scattered with no pattern.

Method. If there is no pattern, there is no correlation.

  1. Look at the pattern. The points are scattered with no clear direction.
    no pattern
  2. Name the correlation. So there is no correlation.
    none
  3. Write the answer.
    No correlation

Check. Shoe size does not predict the test score here.

Watch out

Watch out: correlation does not show that one thing causes the other. Hours studied and marks may be related, but other things also affect marks.

Exam tip

Exam tip. Describe the correlation in words, and say what it means in the context of the question. Do not write only “positive”.

Exercise 13D  Scatter graphs and correlation

Non-calculator
1
FPlot the points (1, 40), (2, 45), (3, 50), (4, 58), (5, 62), (6, 70), (7, 75), (8, 80) on the grid. Describe the correlation.
01234567830405060708090
2
FA scatter graph shows temperature and ice cream sales. The points rise to the right. What type of correlation is this?
3
FA scatter graph shows the age of cars and their values. The points fall to the right. What type of correlation is this?
4
FA scatter graph has points scattered with no pattern. What type of correlation is this?
5
FPlot the points (1, 9), (2, 7), (3, 6), (4, 4), (5, 2). What type of correlation is shown?
0123456012345678910
6
RExplain why a scatter graph with points along a straight line sloping up has strong positive correlation.
7
RAli says that a scatter graph of hours studied and marks shows that studying causes higher marks. Is Ali right? Explain.
8
PSPlot the points (2, 3), (4, 5), (6, 6), (8, 9), (10, 10). Describe the correlation.
024681012024681012
9
RThe scatter graph of hours studied and marks has a positive correlation. Give one reason why the points might not lie exactly on a line.
13.5

Line of best fit, interpolation and extrapolation

Year 8
Use a line of best fit by eye to interpolate and extrapolate, Discuss when extrapolation is unreliable
Video lesson: Line of best fit, interpolation and extrapolationComing soon
Sam drew a line of best fit on his graph of hours studied and marks. He uses the line to predict the mark for 4.5 hours of study, and for 12 hours. He wants to decide which prediction is more reliable.

Interpolation means using the line to estimate a value inside the range of the data. It is usually reliable.

Extrapolation means using the line to estimate a value outside the range of the data. It is less reliable, because the pattern may not continue.

Key ideas

  • Interpolation: inside the data range, usually reliable.
  • Extrapolation: outside the data range, less reliable.
  • Use the line of best fit, not a single point, for a prediction.
  • Check the units and the meaning of the values in the answer.
Worked example 13.5.1
The line of best fit is y = 5x + 40, where x is hours and y is marks. Predict the mark for 4.5 hours.

Method. Put x = 4.5 into the line, which is inside the data range (1 to 8).

  1. Put x = 4.5 into the line. y = 5 × 4.5 + 40.
    5 × 4.5 + 40
  2. Work it out. 5 × 4.5 = 22.5, then 22.5 + 40 = 62.5.
    62.5
  3. Write the answer. 4.5 hours is inside the data range, so this is interpolation.
    62.5 marks

Check. The prediction is between the marks for 4 and 5 hours.

Worked example 13.5.2
Using the same line, predict the mark for 12 hours. Is this reliable?

Method. Put x = 12 into the line, which is outside the data range.

  1. Put x = 12 into the line. y = 5 × 12 + 40.
    5 × 12 + 40
  2. Work it out. 60 + 40 = 100.
    100
  3. Decide. 12 hours is outside the data, so this is extrapolation and is less reliable.
    extrapolation
  4. Write the answer.
    100 marks, but not reliable

Check. A mark of 100 may not be possible, and the pattern may change.

Worked example 13.5.3
Using the same line, predict the mark for 6 hours. Is this reliable?

Method. Put x = 6 into the line. The value 6 is inside the data range (1 to 8), so this is interpolation.

  1. Put x = 6 into the line. y = 5 × 6 + 40.
    5 × 6 + 40
  2. Work it out. 30 + 40 = 70.
    70
  3. Decide. 6 hours is inside the data, so this is interpolation and is usually reliable.
    interpolation
  4. Write the answer.
    70 marks, reliable

Check. 70 is between the marks for 5 and 8 hours.

Watch out

Watch out: extrapolation can give silly answers. A mark above 100 is not possible, so the prediction must be checked against the context.

Exam tip

Exam tip. Say whether your prediction is interpolation (reliable) or extrapolation (less reliable), and give a reason.

Exercise 13E  Line of best fit, interpolation and extrapolation

Non-calculator
1
FThe line of best fit is y = 5x + 40. Predict the mark for 4 hours of study.
2
FUsing y = 5x + 40, predict the mark for 4.5 hours.
3
PSUsing y = 5x + 40, predict the mark for 12 hours. Is this interpolation or extrapolation?
4
PSA line of best fit is y = 3x + 10, where x is the number of ice creams and y is the total cost in pence. Find the cost of 6 ice creams.
5
RAli says that the line y = 5x + 40 predicts that a pupil who studies for 0 hours scores 40. Is this interpolation? Explain.
6
RExplain why extrapolation may not be reliable for predicting marks after 20 hours of study. Accept any answer that says the pattern may not continue, and marks have a maximum.
7
PSA line of best fit gives y = 2x + 30. Use it to find the value of y when x = 5, and say whether this is reliable if the data is for x from 1 to 10.
8
RTwo pupils draw different lines of best fit. Explain why their predictions might be different, even if both lines are reasonable.

Chapter summary

SkillMethod
MeanTotal ÷ number of values
MedianMiddle value after ordering (average of the two middle values if needed)
Mode and rangeMost common value; biggest − smallest
Estimated mean from a grouped tableSum of (f × midpoint) ÷ sum of f
Modal and median classHighest frequency; class where the running total reaches (n + 1) ÷ 2
CorrelationPositive (rising), negative (falling), or none (no pattern)
Interpolation and extrapolationInside the data range: reliable. Outside: less reliable

Can you…?

  • I can find the mean, median, mode and range of a list
  • I can find midpoints and estimate a mean from a grouped table
  • I can find the modal class and the median class
  • I can compare two sets of data using an average and the range
  • I can plot a scatter graph and describe the correlation
  • I can use a line of best fit to interpolate and extrapolate, and say when a prediction is not reliable

Key terms

mean
the total divided by the number of values
median
the middle value when the values are in order
mode
the value that appears most often
range
the biggest value minus the smallest value
midpoint
the middle value of a class, halfway between its two ends
modal class
the class with the highest frequency
scatter graph
a graph that plots pairs of values as points
correlation
how the two values in a scatter graph are related
line of best fit
a straight line drawn by eye, close to most of the points

Exercise 13Z  Check-up

Non-calculator
1
Find the mean of 4, 6, 8, 10, 12.
2
Find the median of 9, 3, 7, 1, 5.
3
Find the mode of 2, 4, 4, 6, 6, 6, 8.
4
Find the range of 15, 3, 9, 12.
5
Find the estimated mean from the table with midpoints 5, 15, 25, 35 and frequencies 4, 6, 8, 2.
6
Find the modal class of the table with classes 0 < t ≤ 10, 10 < t ≤ 20, 20 < t ≤ 30, 30 < t ≤ 40 and frequencies 4, 6, 8, 2.
7
Describe the correlation of a scatter graph with points that fall from top left to bottom right.
8
The line of best fit is y = 4x + 20. Predict y when x = 3.
9
Compare the means of two classes: 10, 12, 14 and 11, 12, 13. Which mean is bigger, or are they equal?

Total 25 marks. Allow about 25 minutes.

Exercise 13X  Exam-style questions

Non-calculator
1
FFind the mean and the median of 3, 8, 5, 10, 4.[2 marks]
2
FEstimate the mean of the grouped data with midpoints 2, 7, 12 and 17 and frequencies 2, 2, 4, 2.[3 marks]
3
FFind the modal class and the class containing the median of the table with frequencies 2, 2, 4, 2 (n = 10).[3 marks]
4
FTwo classes have a mean of 50. Class X has a range of 30 and class Y has a range of 12. Which class has more consistent marks? Explain.[2 marks]
5
FA scatter graph shows the number of hours of sunshine and the number of ice creams sold. The points rise from left to right. Describe the correlation.[2 marks]
6
FThe line of best fit is y = 3x + 12. Predict the value of y when x = 10. Is this interpolation or extrapolation if the data is from x = 1 to 5?[3 marks]
7
FTwo scatter graphs have points with positive correlation. Explain why it is not certain that a high value of x gives a high value of y for every point.[3 marks]
8
FFind the estimated mean of the grouped data: classes 0 to 4, 5 to 9, 10 to 14, 15 to 19 with frequencies 1, 3, 4, 2 (midpoints 2, 7, 12, 17).[4 marks]
9
FA set of six values has a mean of 7 and a range of 6. The smallest value is 4. Find the largest value.[3 marks]

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings