3.2 Correlation
Correlation (noun)
In Statistics, an interdependence of two or more variable quantities such that a change in the value of one is associated with a change in the value or the expectation of the others. (OED, 2025)
If the change involves an increase in both variables, the relationship is described as a positive correlation; This can certainly be said of scatter graph 2 shown again below. An increase in the maximum temperature is associated with an increase in the minimum temperature therefore potentially we could make a prediction for the maximum temperature in Stornoway, using the value of the minimum temperature.
Figure 16 A scatter graph showing monthly minimum and maximum temperatures for Stornoway, 2023While the maximum temperatures are increasing with increasing minimum temperatures, there isn’t a single line that goes through all the points. Statistics provides methods for determining a single line that best approximates such data, a ‘line of best fit’. This straight line would have a positive gradient (increasing in height from left to right) and should best fit the pattern of the points across the data range. At school level this line tends to be fitted ‘by eye’ but computer graphing programs fit a linear model that minimises the vertical distances of the points from the line.
(Message for the BOC team) Could you create an interactive where students can place a line on a copy of the graph above and then click to reveal the line of best fit as shown below?Figure 17 A scatter graph with line of best fit added showing temperature for Stornoway, 2023Source: Historic station data - Met OfficeIn school mathematics up to GCSE the lines of best fit used to model bivariate data are usually straight, i.e. they provide a linear model, and do not necessarily go through the origin, (0, 0). However, it is worth noting that in science up to GCSE level, learners may be required to fit curved lines of best fit and that often in science, due to the nature of the variables that are plotted, it is appropriate to join the line of best fit to the origin.
One variable decreasing as the other increases gives rise to a relationship known as a negative correlation; a ‘line of best fit’ could be drawn through the points and this line would have a negative gradient (decreasing in height from left to right).
ACTIVITY 8
Take a few minutes to think about paired data that might produce a negative correlation pattern when plotted on a scatter graph. Remember you are looking for one variable to decrease as the other increases. Staying with the weather theme, here is an example to get you started:
In a particular town, the number of winter coats sold on the high street each week against weekly maximum temperature in degrees Celsius – you would expect that as the temperate increases, winter coat sales will likely decrease.
Comment
There are many possible options you may have thought about, here are some suggestions.
- Amount of power left in an electric vehicle in kilowatt hours (kWh) against the distance travelled in miles without recharging.
- For a particular location, the amount of sunshine in hours per day against the daily cloud cover in oktas (the unit used to measure how much of the sky is obscured by clouds).
- In a large supermarket chain, weekly average price (in pence) of a particular chocolate bar against weekly sales (in thousands of pounds) for that same chocolate bar.
Here is a scatter graph for some data mentioned in the previous activity. The data points follow a negative correlation, demonstrated by the line of best fit. The data points, however, are quite widely scattered around the line so this could be described as a weak negative correlation.
Figure 18 A scatter graph with line of best fit added showing daily cloud cover against sunshine hours for Heathrow in the month of June, 1987Source: Pearson Edexcel GCE AS and AL Mathematics data set - Issue 1 (1).xlsACTIVITY 9
Here are the scatter graphs from Activity 7 again. Having established scatter graph 2 shows a positive correlation, do you think any of the graphs show a negative correlation? Explain your reasoning.
Possible to have the graphs ‘clickable’ so they flip over and reveal discussion on the back?Comment
Scatter graph 1 shows a possible (weak) negative correlation.
Scatter graph 2 shows a positive correlation.
In Activity 7 we suggested that Scatter graph 3 does not show a relationship, but a possible (very weak) negative correlation could be suggested.
Scatter graph 4 shows a possible (weak) positive correlation.
While a ‘line of best fit’ could mathematically be determined for all four scatter graphs in the last activity (with positive gradients for scatter graphs 2 and 4, and negative gradients for scatter graphs 1 and 3), the weaker correlation in scatter graphs 3 and 4 would make it a less meaningful approximation to the datasets shown. In scatter graphs 3 and 4, the points would be more distant from – above or below – the approximating line, so not quite a line of best fit!
For the line to ‘best fit’ the points, there needs to appear to be a relationship between them. If a relationship is not evident, it is appropriate to say there is no correlation.
Here is scatter graph 1 again with the variable labels and a trend line fitted.
Figure 19 A scatter graph with line of best fit added showing total monthly sunshine hours against monthly rainfall in millimetres for Stornoway in 2023Source: Historic station data - Met OfficeCompared to the scatter graph 2 representing minimum and maximum monthly temperature in Stornoway for the same year, the points in scatter graph 1 are much more scattered although generally follow a rough downward pattern. The amount of scatter around the line of best fit shown in the points tells you about the strength of the relationship between the data variables plotted. You could say scatter graph 1 shows a weak negative correlation whilst scatter graph 2 shows a strong positive correlation. The use of these additional words for strength is somewhat subjective, and you will sometimes see ‘very strong’ or ‘very weak’ used as descriptions. There is a related statistic that can be calculated to help determine the strength of any relationship identified, this is called the correlation coefficient. The correlation coefficient is beyond the scope of this course, but you will find a short explanatory video here (The Correlation Coefficient - Explained in Three Steps [Tip: hold Ctrl and click a link to open it in a new tab. (Hide tip)] ) if you would like to know more.
ACTIVITY 10
Match the correlation description to the scatter graph. Descriptions may be used more than once.
Image to become a drag and crop ? Drag and drop activity - add the description to graph.Descriptions:
- No correlation
- Negative correlation
- Positive correlation
- Perfect negative correlation
- Perfect positive correlation
| Scatter graph | Relationship |
| A | No correlation
|
| B | Positive correlation
|
| C | Perfect negative correlation
|
| D | Positive correlation
|
| E | Perfect positive correlation
|
| F | Negative correlation
|
In the previous activity you may have noticed the idea of there being perfect correlation. If a straight line can be drawn that perfectly fits all the points, then this may be called a perfect correlation.
Classroom Activity
Creating a matching activity, such as that in Activity 10, is a good way to check learners’ understanding of what graphs show.
To extend the task, you could ask learners to suggest possible variables that would produce graphs like these. To do this they would need to consider both the relationship and the numerical values of the variables shown on the axes.
You could also include some cards that do not have a match and ask learners to ‘complete the blanks’.