GCSE Mathematics · Chapter 34 · Statistics
Statistics turns a set of data into a few numbers and pictures that show what the data says.
This chapter covers the three averages and the range, from lists, frequency tables and grouped data. It then covers bar charts, pie charts and scatter graphs, including how far to trust a line of best fit.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- find the mean, median, mode and range of a list, and use them to compare two sets of data
- find averages from a frequency table
- estimate the mean of grouped data and find the modal class
- draw and read bar charts and pie charts
- describe correlation on a scatter graph and use a line of best fit sensibly
Time: two sessions, about 2 hours. Session 1 covers sections 1 to 3. Session 2 covers sections 4 and 5 and the practice ladder.
Before you start, check you can do three things. Put a list of numbers in order. Find a fraction of 360. Plot points from a table of values.
Two interactive figures sit inside the teaching. Figure 34.1 shows averages and range in section 1. Figure 34.2 is a scatter graph in section 5.
Section 1
Mean, median, mode and range
An average is one number that represents a whole set of data. There are three averages, and each tells you something slightly different. The range measures how spread out the data is.
Data comes in different types. Discrete data can only take certain values, such as the number of goals. Continuous data can take any value in a range, such as a time or a height. The type of data affects which charts and averages make sense.
The mean is the total of the values divided by how many values there are. For the quiz scores 2, 9, 6, 8, 5, 8 and 4, the total is 42. There are 7 scores, so the mean is .
The median is the middle value once the data is in order. In order, the scores are 2, 4, 5, 6, 8, 8 and 9. The middle one is the 4th, which is 6. With an even number of values, the median is halfway between the two middle values.
The mode is the value that appears most often. Here it is 8, which appears twice. A set of data can have more than one mode, or no mode at all if every value appears once.
The range is the largest value minus the smallest. For the scores, it is . A small range means the data is consistent. A large range means it is spread out.
Figure 34.1 calculates all four for three lists. Move the slider to change the last value and watch which averages move. The button shows what happens if the list is not put in order first.
Averages and range
In order: 2, 4, 5, [6], 8, 8, 9
Mean 6 · Median 6 · Mode 8 · Range 7
Taking the middle of the list as written is finding the median without ordering. The scores as written are 2, 9, 6, 8, 5, 8, 4, and the middle one is 8. But the data was not in order. The true median is 6.
An extreme value, called an outlier, affects the mean much more than the median. If one pocket money amount jumps to £40, the mean rises a lot but the median hardly moves. The median is often the better average when there are outliers.
Each average has strengths. The mean uses every value, which makes it sensitive. The median ignores extreme values. The mode is the only average that works for data that is not numbers, such as favourite colours.
You can also work backwards from the mean. If 5 values have a mean of 8, their total must be . This is useful when a question asks for a missing value.
To compare two sets of data, compare an average and the range. Say which set is higher on average, and which is more consistent. Always write the comparison in the context of the question.
Worked example 1: averages and range of a list
Find the mean, median, mode and range of the quiz scores 2, 9, 6, 8, 5, 8, 4.
| Working | Reason |
|---|---|
| Mean | Add the seven scores and divide by how many there are. |
| In order: 2, 4, 5, 6, 8, 8, 9, so median | Order the list first, then take the middle value. |
| Mode | The score 8 appears twice, more often than any other. |
| Range | Subtract the smallest score from the largest score. |
Check yourself. Find the median of the values 3, 1, 4 and 2.
Show the answer
In order the values are 1, 2, 3 and 4. There is an even number of them, so the median is halfway between 2 and 3, which is 2.5.
Common mistake: finding the median without ordering. A student gives the median of 7, 2, 9, 4, 5 as 9, the middle value as written. In order the list is 2, 4, 5, 7, 9. The median is 5.
Section 2
Averages from a frequency table
A frequency table shows how many times each value occurs. It saves writing out a long list. The averages can still be found, but the method needs care.
Think of a frequency table as a long list written in shorthand. A row saying 2 goals with frequency 7 means the value 2 appears seven times in the list. Every method for a list still works.
For the mean, multiply each value by its frequency. This gives the total for that row. Add these totals to get the grand total, then divide by the total frequency.
For example, a football team's goals in 20 matches are shown below. The team scored 0 goals in 3 matches and 1 goal in 5 matches. It scored 2 goals in 7, 3 goals in 3 and 4 goals in 2.
| Goals, x | Matches, f | f × x |
|---|---|---|
| 0 | 3 | 0 |
| 1 | 5 | 5 |
| 2 | 7 | 14 |
| 3 | 3 | 9 |
| 4 | 2 | 8 |
| Total | 20 | 36 |
The mean is goals per match. The mode is 2 goals, because that row has the highest frequency. Notice that the mode is the value, 2, not the frequency, 7.
Dividing the grand total by 5 is dividing by the number of rows. A student gets goals per match. That is impossible, as no match had more than 4 goals. There were 20 matches, so divide by 20.
For the median, find its position first. With 20 values, the median is halfway between the 10th and 11th. Count down the frequencies: 3, then 8, then 15. Both the 10th and 11th values are in the row for 2 goals, so the median is 2.
Some frequency tables have a large number of rows. Adding an extra column for f × x keeps the working organised. The total of that column, divided by the total frequency, always gives the mean.
A quick sense check catches many errors. The mean must lie between the smallest and largest values. For the goals, it must be between 0 and 4.
Worked example 2: mean, median and mode from a table
Use the goals table above to find the mean, the median and the mode.
| Working | Reason |
|---|---|
| Total of f × x | Multiply each number of goals by its frequency, then add. |
| Mean goals | Divide by the total frequency, which is the number of matches. |
| Median: the 10th and 11th values are both 2 | Count down the frequencies 3, 8, 15 to find the middle values. |
| Mode goals | The row for 2 goals has the highest frequency. |
Check yourself. In a frequency table, the value 3 has frequency 4 and the value 5 has frequency 6. Find the mean.
Show the answer
The total is , and the total frequency is . So the mean is .
Common mistake: dividing by the number of rows. A table has 4 rows and a total frequency of 50, with f × x totalling 150. A student gives the mean as . Dividing by the frequency, 50, gives 3.
Section 3
Grouped data
Sometimes data is put into groups, called classes. A class such as holds every time greater than 10 and up to 20 minutes. Grouping makes large data sets easier to handle.
Once data is grouped, the exact values are lost. You cannot find the exact mean. Instead, you estimate it by assuming every value in a class sits at the midpoint of the class.
The inequality signs matter. In , a time of exactly 10 minutes is not included, but a time of exactly 20 minutes is. This makes sure every value belongs to exactly one class.
The midpoint of is . Multiply each midpoint by its frequency, add the results, and divide by the total frequency. This works just like the frequency table in section 2.
For example, 20 pupils recorded their journey times. 4 took up to 10 minutes and 9 took over 10 and up to 20 minutes. Another 5 took over 20 and up to 30 minutes, and 2 took over 30 and up to 40 minutes.
Using the top of each class is using the end of each class instead of the midpoint. A student multiplies by 10, 20, 30 and 40 and gets an estimate of 22.5 minutes. That assumes every pupil took as long as possible. The midpoints give 17.5 minutes.
The modal class is the class with the highest frequency. Here it is . The class containing the median is found by counting, as in section 2. With 20 pupils, the 10th and 11th are both in .
The answer is called an estimate for a reason. Some pupils in the class took 11 minutes and some took 19. The midpoint assumes these balance out, which is usually close to the truth.
The range cannot be found exactly from grouped data either. You can only say the largest possible range. Questions usually ask for the modal class, the median class and an estimate of the mean.
Worked example 3: estimated mean from grouped data
Estimate the mean journey time for the 20 pupils, and state the modal class.
| Working | Reason |
|---|---|
| Midpoints 5, 15, 25 and 35 | Each class is represented by the value halfway across it. |
| Multiply each midpoint by its frequency, then add. | |
| Estimate minutes | Divide by the total frequency of 20 pupils. |
| Modal class | This class has the highest frequency, 9. |
Check yourself. What is the midpoint of the class ?
Show the answer
The midpoint is halfway between the two ends of the class. So it is .
Common mistake: using the end of each class instead of the midpoint. A student estimates the mean using 10, 20, 30 and 40 for classes of width 10. Every estimate comes out too large. The midpoints 5, 15, 25 and 35 should be used.
Section 4
Bar charts and pie charts
A bar chart shows the frequency of each category as the height of a bar. The bars should be the same width with gaps between them. Both axes need labels, and the frequency axis needs a scale.
A pie chart shows how a whole is split into parts. Each category gets a sector, and the angle of the sector shows its share. The angles at the centre add up to 360°.
To find each angle, divide the frequency by the total and multiply by 360. For 60 people, each person is worth degrees. So 24 people choosing apples need a sector of degrees.
For the fruit survey, 24 chose apples, 15 bananas, 12 grapes and 9 something else. The angles are 144°, 90°, 72° and 54°. Check that they add up to 360°.
Using the frequencies as the angles is using frequencies as angles. The sectors would be 24°, 15°, 12° and 9°, which add up to only 60°. Most of the circle would be empty. Each person must be worth 6°, not 1°.
When you draw a pie chart, start from a radius and use a protractor for each angle in turn. Label every sector, or give a key. A neat chart with clear labels earns the marks for presentation.
To read a pie chart, work backwards. If a sector of 90° represents bananas out of 60 people, then bananas are a quarter of the pie. A quarter of 60 is 15 people.
Bar charts can show two sets of data side by side. A dual bar chart puts the bars for each group next to each other, so they are easy to compare. A key shows which bar is which.
A stem and leaf diagram keeps every value while showing the shape of the data. The tens digits form the stem, and the units digits are the leaves. It must have a key, such as 3 | 4 means 34.
Pie charts show proportions, not actual numbers. Two pie charts of the same size can represent very different totals. Be careful when comparing them, and look for the total of each.
Worked example 4: drawing a pie chart
In a survey of 60 people, 24 chose apples, 15 bananas, 12 grapes and 9 something else. Work out the angles for a pie chart.
| Working | Reason |
|---|---|
| degrees per person | Share the full turn of 360 degrees between the 60 people. |
| Apples °, bananas ° | Multiply each frequency by the angle for one person. |
| Grapes °, other ° | Do the same for the remaining two categories. |
| The angles of a complete pie chart add up to 360 degrees. |
Check yourself. A sector of 90° appears in a pie chart showing 60 people. How many people does it represent?
Show the answer
A 90 degree sector is one quarter of the full 360 degrees. One quarter of 60 people is 15 people.
Common mistake: using frequencies as angles. For a survey of 120 people, a student draws a sector of 30° for 30 people. Each person is worth degrees. The sector should be 90°.
Section 5
Scatter graphs and lines of best fit
A scatter graph shows pairs of data as points, such as hours of revision and test scores. It shows whether the two quantities are related. This relationship is called correlation.
If one quantity tends to rise as the other rises, there is positive correlation. If one tends to fall as the other rises, there is negative correlation. If there is no clear pattern, there is no correlation.
A line of best fit is a straight line that follows the trend. Draw it with a ruler so that roughly the same number of points lie on each side. It should pass through the mean point, the mean of the x-values and the mean of the y-values.
Figure 34.2 shows three data sets with their lines of best fit. Move the slider to make a prediction. The shaded band shows the range of the data.
Scatter graph and line of best fit
The points show positive correlation. The line passes through the mean point (4.5, 54.75). The shaded band is the range of the data.
Estimate at 4.5: about 55. This is inside the data, so it is a reasonable estimate.
You can use the line to estimate a value. Read up from the x-value to the line, then across to the y-axis. An estimate inside the range of the data is called interpolation, and it is usually reasonable.
Going beyond the data is trusting a prediction outside the data. Extending the revision line to 20 hours predicts a score of 138%, which is impossible. The trend was only seen between 1 and 8 hours. This is called extrapolation, and it is unreliable.
Correlation can be strong or weak. If the points lie close to a straight line, the correlation is strong. If they are loosely scattered around a trend, it is weak. Describe both the type and the strength when asked.
Correlation does not prove that one thing causes the other. Ice cream sales and sunburn cases both rise in summer. They are correlated, but both are caused by sunny weather, not by each other.
Always describe correlation in context. Instead of just saying positive correlation, say that pupils who revise for longer tend to get higher scores. The word "tend" matters, because not every pupil follows the pattern.
An outlier on a scatter graph is a point far from the trend. It may be a mistake in the data, or a genuine unusual case. Ignore it when drawing the line of best fit, but mention it if asked.
Worked example 5: using a line of best fit
Eight pupils' revision hours and test scores give a line of best fit through the mean point (4.5, 54.75). Describe the correlation and estimate the score for 4.5 hours. Comment on a prediction for 20 hours.
| Working | Reason |
|---|---|
| Positive correlation | Scores tend to rise as the hours of revision rise. |
| The line passes through (4.5, 54.75) | A line of best fit should pass through the mean point. |
| Estimate for 4.5 hours is about 55% | Read up to the line and across, inside the range of the data. |
| A prediction for 20 hours is not reliable | It is far outside the data from 1 to 8 hours, and gives over 100%. |
Check yourself. A café sells fewer hot drinks on warmer days. What type of correlation is this?
Show the answer
One quantity falls as the other rises. That is negative correlation between temperature and hot drink sales.
Common mistake: trusting a prediction outside the data. Data on children aged 2 to 10 shows height rising with age. A student uses the line to predict the height of a 40-year-old as 3 metres. People stop growing, so the trend does not continue.
Practice
Practice ladder
Work down the ladder. Try each question before you open its solution.
Rung 1: Fluency
Q1. Find the mean of 4, 7, 7, 10 and 12.
Worked solution to Q1
The total of the five values is . Dividing by the 5 values gives a mean of .
Q2. Find the median of 7, 2, 9, 4 and 5.
Worked solution to Q2
Put the values in order first: 2, 4, 5, 7, 9. There are five values, so the median is the third one, which is 5.
Q3. Find the range of the values 15, 8, 22, 11 and 19.
Worked solution to Q3
The largest value is 22 and the smallest is 8. The range is the difference between them, .
Q4. A survey of 60 people is shown in a pie chart. What angle represents one person?
Worked solution to Q4
The whole pie chart is a full turn of 360 degrees, shared equally between the 60 people. So each person is worth degrees.
Rung 2: Reasoning
Q5. Four people scored 3 and six people scored 5. Find the median score.
Worked solution to Q5
There are 10 values, so the median is halfway between the 5th and 6th. The first 4 values are 3, so the 5th and 6th are both 5, and the median is 5.
Q6. Journey times for 20 pupils are grouped into classes of 10 minutes from 0 to 40. The frequencies are 4, 9, 5 and 2. Which class contains the median?
Worked solution to Q6
The median of 20 values is halfway between the 10th and 11th. Counting down, 4 pupils are in the first class and 13 are in the first two. So both lie in the class from 10 to 20 minutes.
Q7. A sector of a pie chart has an angle of 54°. The pie chart shows 60 people. How many people does the sector represent?
Worked solution to Q7
Each person is worth 6 degrees, because 360 divided by 60 is 6. So a 54 degree sector shows people.
Q8. Data on hours of sunshine and umbrella sales shows that fewer umbrellas are sold on sunnier days. Describe the correlation and explain what it means.
Worked solution to Q8
This is negative correlation, because one quantity falls as the other rises. On days with more sunshine, fewer umbrellas tend to be sold.
Rung 3: Problem solving
Q9. Two teams' scores have the same mean. Team A has a range of 4 and team B has a range of 15. Which team is more consistent? Explain.
Worked solution to Q9
Team A is more consistent, because its range is smaller. Its scores are closer together, while team B's scores are much more spread out.
Q10. A line of best fit uses revision data from 1 to 8 hours. Explain why it should not predict a score for 20 hours.
Worked solution to Q10
Twenty hours is far outside the range of the data, so this is extrapolation. The trend may not continue, and the line here even predicts a score above 100%, which is impossible.
Exam practice
Exam technique and worked answer workshop
Statistics questions often ask you to calculate and then interpret. A number on its own rarely earns every mark.
- Order the data before finding the median.
- Divide by the total frequency, not the number of rows.
- Use midpoints to estimate the mean of grouped data.
- Check pie chart angles add up to 360°.
- Compare in context, using an average and the range.
In the mark guidance, M marks are for method, A marks are for accuracy and B marks are independent of method.
Exam question 1 (3 marks · non-calculator · about 3 minutes)
Here are the scores of 7 pupils in a quiz: 2, 9, 6, 8, 5, 8, 4. Work out the median, the mode and the range of the scores.
Mark guidance for exam question 1
- B1 for the median, 6.
- B1 for the mode, 8.
- B1 for the range, 7.
Exam question 2 (3 marks · calculator allowed · about 3 minutes)
A team played 20 matches. It scored 0 goals in 3 matches, 1 goal in 5, 2 goals in 7, 3 goals in 3 and 4 goals in 2. Work out the mean number of goals per match.
Mark guidance for exam question 2
- M1 for at least three correct products of goals and frequency.
- M1 for dividing the total of 36 by 20.
- A1 for 1.8.
Annotated model answer: exam question 2
| Working | What the marker sees |
|---|---|
| Each value multiplied by its frequency. First method mark. | |
| goals in total | The total number of goals scored. |
| Divided by the total frequency, not the number of rows. Second method mark. | |
| The mean, which lies sensibly between 0 and 4. Accuracy mark. |
Exam question 3 (3 marks · calculator allowed · about 3 minutes)
Twenty pupils recorded their journey times. Of these, 4 took up to 10 minutes and 9 took over 10 and up to 20 minutes. Another 5 took over 20 and up to 30, and 2 took over 30 and up to 40 minutes. Work out an estimate for the mean journey time.
Mark guidance for exam question 3
- M1 for using the midpoints 5, 15, 25 and 35.
- M1 for the total of 350 divided by 20.
- A1 for 17.5 minutes.
Exam question 4 (3 marks · non-calculator · about 3 minutes)
In a survey of 60 people, 24 chose apples, 15 chose bananas, 12 chose grapes and 9 chose other fruit. Work out the angle for each sector of a pie chart.
Mark guidance for exam question 4
- M1 for , or one correct angle.
- A1 for at least two correct angles.
- A1 for all four angles: 144°, 90°, 72° and 54°.
Recap
Recap and next step
- The mean is the total over the number of values, and the median is the middle value of the ordered list.
- For a frequency table, divide the total of f × x by the total frequency.
- Estimate the mean of grouped data using the midpoint of each class.
- In a pie chart, each angle is the frequency over the total, multiplied by 360.
- A line of best fit passes through the mean point, and predictions outside the data are unreliable.
Next chapter: 35, which shows more ways to display and compare grouped data.
For your exam board
Averages, charts and scatter graphs are examined by every board at both tiers.
- Pearson Edexcel 1MA1: specification references S2, S4 and S6.
- AQA 8300: specification references S2, S4 and S6.
- OCR J560: specification sections 12.02, interpreting and representing data, and 12.03, analysing data.
Everything in this chapter is Foundation content, so it is also assumed knowledge on Higher papers.