How do you use a scattergraph and a line of best fit to describe correlation and make predictions?
Drawing and interpreting scattergraphs, describing correlation, drawing a line of best fit, finding its equation and using it to estimate values.
A focused answer to the SQA National 5 Mathematics scattergraph content, covering plotting and interpreting scattergraphs, describing positive, negative and no correlation, drawing a line of best fit, finding its equation, and using it to estimate values.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
The SQA wants you to plot and read a scattergraph, describe the correlation it shows, draw a line of best fit, find the equation of that line, and use the equation to estimate a value. The link to the straight line is direct.
Reading a scattergraph
A scattergraph (scatter diagram) plots each pair of values as a single point. The overall shape of the cloud of points shows whether and how the two quantities are related. If the points lie close to a straight-line trend, the relationship is strong; if they are widely scattered, it is weak.
Describing correlation
Correlation describes the direction of the trend, and you should state it in context, not just as a label.
The strength matters too: points hugging a line show strong correlation, while a loose cloud shows weak correlation. Remember that correlation does not prove that one quantity causes the other.
The line of best fit
A line of best fit is a single straight line drawn to follow the trend of the points, with roughly as many points above as below. It should pass through the general middle of the data, not necessarily through the origin or any particular point.
Using the line to estimate
Once you have the equation, you can estimate the value of one quantity for a given value of the other by substituting into .
Finding the equation from the graph
In the exam you usually read two clear points off the line of best fit, then build its equation exactly as in the straight-line topic: find the gradient from the two points, and read the y-intercept where the line crosses the y-axis. Choosing two points that lie neatly on the gridlines makes the gradient easier to calculate accurately.
Examples in context
Scattergraphs reveal real-world relationships. A shop plotting temperature against ice-cream sales sees a positive correlation and uses the line of best fit to forecast sales for a hot day. A study plotting a car's age against its value shows negative correlation, helping estimate a fair price. Scientists use lines of best fit to read a trend from experimental data despite measurement scatter.
Try this
Q1. Points fall from upper left to lower right. What correlation is this? [1 mark]
- Cue. Negative correlation.
Q2. A line of best fit passes through and . Find its equation. [2 marks]
- Cue. Gradient , so .
Q3. Use to estimate when . [1 mark]
- Cue. .
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SQA National 5 20194 marksA line of best fit passes through and . Find its equation, and use it to estimate when .Show worked answer →
Find the gradient: (1 mark). The line crosses the y-axis at , so and the equation is (1 mark). Substitute : (2 marks). Markers reward the gradient, the equation in form, and the estimate.
SQA National 5 20222 marksA scattergraph shows hours studied against test score, with points rising from lower left to upper right. Describe the correlation and what it suggests.Show worked answer →
The points rise from lower left to upper right, so there is a positive correlation between hours studied and test score (1 mark). This suggests that, in general, students who study for longer tend to achieve higher test scores (1 mark). Markers reward naming the positive correlation and interpreting it in context. Correlation does not by itself prove that studying causes the higher scores.
Related dot points
- Calculating the five-figure summary (minimum, lower quartile, median, upper quartile, maximum), the range and interquartile range, drawing boxplots, and comparing two data sets.
A focused answer to the SQA National 5 Mathematics statistics content, covering the five-figure summary, the median and quartiles, the range and interquartile range, drawing and reading boxplots, and comparing two data sets by their average and spread.
- Calculating the standard deviation of a data set using the standard formula, and using the mean and standard deviation to compare two data sets.
A focused answer to the SQA National 5 Mathematics standard deviation content, covering how to calculate the standard deviation with the National 5 formula, what it measures, and how to compare two data sets using the mean and standard deviation together.
- Calculating percentage increase and decrease, finding the original amount in reverse percentage problems, and using a multiplier for repeated percentage change including appreciation, depreciation and compound interest.
A focused answer to the SQA National 5 Mathematics percentages content, covering percentage increase and decrease using a multiplier, reverse percentage problems to find an original amount, and repeated percentage change such as compound interest, appreciation and depreciation.
- Calculating with fractions: adding, subtracting, multiplying and dividing fractions and mixed numbers, and finding a fraction of a quantity.
A focused answer to the SQA National 5 Mathematics fractions content, covering adding and subtracting fractions with a common denominator, multiplying and dividing fractions, working with mixed numbers, and finding a fraction of a quantity, all for non-calculator work.
- Working with vectors in two and three dimensions: vector components, adding and subtracting vectors, multiplying by a scalar, and calculating the magnitude of a vector.
A focused answer to the SQA National 5 Mathematics vectors content, covering vectors in component form, adding and subtracting vectors, multiplying a vector by a scalar, and finding the magnitude of a vector in two and three dimensions.
Sources & how we know this
- SQA National 5 Mathematics Course Specification — SQA (2018)