Scatter graphs and correlation; line of best fit
Machine translation
Learn
Julie asks six friends how many hours they study each week and what mark they get in a test. Each friend gives two pieces of data at once: a pair.
Hours 1 2 4 5 7 8 Mark 1 4 6 5 8 9 Study hours and marks of six friends Each pair is a point. The hours go on the horizontal axis and the mark on the vertical axis. All the points together make a cloud of points, and the picture is called a scatter graph.
Here, the more hours, the higher the mark: the correlation is positive. The line of best fit follows the cloud of points. It does not pass through every point: it leaves roughly the same number on each side.
The points go up from left to right Tony notes down the kilometres he runs and the glasses of water he has left. When one variable goes up, the other goes down: the correlation is negative. “Negative” describes the direction of the points, not whether something is good or bad.
More kilometres, fewer glasses of water If the points do not follow any pattern, there is no correlation. The letters in a child's name have nothing to do with their mark. A horizontal line of best fit means the same thing: as one variable goes up, the other does not change.
No pattern: no correlation The closer the points are to the line, the stronger the correlation. You can use the line to estimate: at 6 hours of study, the line gives a mark of 7. A point far away from the others is an outlier. The line passes close to the mean point. Its coordinates are the mean of the hours and the mean of the marks.
A correlation is a trend: it does not hold for every pair of friends. And if you swap the axes round, the correlation stays the same.
Worked examples
Example 1
Mara records the temperature on nine mornings and the cups of hot chocolate she sells. The horizontal axis is the temperature in °C and the vertical axis is the cups. What correlation does the graph show?
- Look at which way the points go: they go down from left to right.
- When the temperature goes up, the cups sold go down: the correlation is negative.
- The points are close to a line, although not on it: the correlation is strong.
The correlation is negative and strong.
Watch out! Here many people say “there is no correlation” because the points are not all on a line.
Example 2
Gus has drawn the line of best fit for his friends' study hours and marks. According to the line, what mark does a friend who studies for 4 hours get?
- Find the 4 on the horizontal axis.
- Go up until you reach the line.
- From that point on the line, go left to the vertical axis.
- Read the mark: 5.
According to the line, a friend who studies for 4 hours gets a 5.
Watch out! Here many people read the point in the cloud at 4 hours and say 6, but the question asks for the value on the line.
Example 3
Vera records the reading hours and pages read of four children: (2, 4), (4, 5), (6, 7) and (8, 8). What is the mean point?
| Hours | 2 | 4 | 6 | 8 |
|---|---|---|---|---|
| Pages | 4 | 5 | 7 | 8 |
- Mean of the hours: (2 + 4 + 6 + 8) ÷ 4 = 5.
- Mean of the pages: (4 + 5 + 7 + 8) ÷ 4 = 6.
- The coordinates of the mean point are those two means: (5, 6).
The mean point is (5, 6).
Watch out! Here many people work out a single mean from all eight numbers and give the same value, 5.5, for both coordinates.
A challenge to think about
For a week, note down each day how many hours you spend on screens and how many hours you sleep. Make a table with the pairs and draw the scatter graph. Is the correlation positive, negative, or is there none? Draw a line of best fit by eye using a ruler.
Practise
Rounds of 10 questions. Choose a level:
Your grade in this topic:No grade yetDo a round at the Basic level to get a grade.
Next topic: Contingency tables and conditional relative frequencies →