Scatter graphs and correlationIB MYP Maths Standard: Revision notes
Section 1
Scatter graphs
A scatter graph shows two variables for the same people or objects, with one point for each pair of values. Put the variable you think causes or controls the other (the independent variable) on the horizontal axis, and the other on the vertical axis. Example: temperature and drinks sold give points such as and . Choose scales that fit all the data, label both axes with units, and plot each point as a small cross.
Check that every pair of values becomes exactly one point. Count your points against the table.
Section 2
Types of correlation
Correlation describes the relationship between the two variables.
- Positive correlation: as increases, increases (points slope up to the right).
- Negative correlation: as increases, decreases (points slope down to the right).
- No correlation: no pattern, the points are scattered. The correlation is strong when the points lie close to a straight line, and weak when they are more spread out. Always describe it in context, for example 'the hotter the day, the more drinks are sold'.
Saying 'positive' just because the numbers are positive. Positive correlation means both variables increase together.
Section 3
Drawing a line of best fit
A line of best fit is a straight line that follows the trend of the points. Draw it with a ruler so that:
- it passes through the middle of the points, with about the same number above and below the line
- it is a single straight line, not joined dot to dot
- it goes through the mean point (mean of , mean of ) if you have worked it out. Example: for the speeds and braking distances the mean point is . The line does not have to go through the origin, and an outlier (a point far from the pattern) can be ignored when drawing the line.
Section 4
Using the line to predict
To predict for a given , go up from to the line, then across to the -axis and read the value. You can also use the equation of the line, . Example: the line passes through and . Gradient , so each extra 1 °C gives about 5.5 more drinks. At 26 °C: drinks. A prediction inside the range of the data (interpolation) is usually reliable. A prediction outside the range (extrapolation) is unreliable because the trend may not continue.
Using the line to predict far outside the data. Say the prediction is unreliable and give the reason.
Section 5
Correlation and cause
Correlation shows that two variables are related, but it does not prove that one causes the other. Ice cream sales and sunburn cases are positively correlated because both rise in hot weather, not because ice cream causes sunburn. A small sample and an outlier can also make a relationship look stronger or weaker than it is. When you evaluate a claim, mention causation, the range of the data and the sample size.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Scatter graphs and correlation
- A café in Cape Town records the maximum temperature (in °C) and the number of cold drinks sold on six days: , , , , , . A line of best fit for the data passes through and .Find the gradient of the line of best fit and explain what it means in this context.2 marks
- Eight students record the hours of revision they did before a test and the number of mistakes they made: , , , , , , , . A line of best fit for the data passes through and .Use the line of best fit to estimate the number of mistakes made by a student who revises for 5.5 hours.2 marks
- A road-safety team in Dubai records the speed (in km/h) and the braking distance (in metres) of a car in six trials: , , , , , . A line of best fit for the data passes through and .Find the mean speed and the mean braking distance, and write down the coordinates of the mean point, through which a line of best fit should pass.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).