O Level Maths 4024 · Area 9 · Statistics

Scatter Diagrams

A scatter diagram puts two measurements of the same person or object on one pair of axes, so you can see whether the two quantities move together. You describe that pattern as positive, negative or zero correlation, then draw a single straight line of best fit by eye and use it to estimate a value you were not given. The marks sit in the plotting, in the wording of the description, and in the line itself: one ruled line, right across the data, with points roughly evenly spread either side.

Not started

Syllabus coverage

  • Draw and interpret scatter diagrams
  • Understand what is meant by positive, negative and zero correlation
  • Draw by eye, interpret and use a straight line of best fit
  • Plotted points should be clearly marked, for example as small crosses

Part of the O Level Maths syllabus 4024.

Positive correlation00224466881010yxZero correlation00224466881010yxoutlierA line of best fit describes the trend; the circled point is an outlier because it does not follow it.
Two scatter diagrams of the same size: positive correlation with a single ruled line of best fit and one outlier below the line at the right, and a shapeless cloud showing zero correlation with no line drawn.

Two measurements, one pair of axes

A scatter diagram shows two variables measured on the same individuals. Each individual contributes one pair of numbers, and that pair becomes one point. If you record the height and the mass of twelve students, each student is a single point: height across, mass up. Twelve students give twelve points, never twenty-four.

The variable you think explains the other goes on the horizontal axis and is usually called x. The variable that responds goes on the vertical axis and is called y. In an exam the labels are usually given to you, but the reason for the choice is worth knowing: hours of revision might explain a test mark, so revision goes on the x-axis and the mark on the y-axis. The reverse would still plot, but every question about the trend would then be worded awkwardly.

Both axes need a scale that covers the whole data set with a little room to spare, and both need a label with its unit. Nothing on a scatter diagram is a frequency, so there is no need for a third dimension: the diagram is a picture of pairs, not of counts.

  • One point per individual, never one point per measurement
  • Explanatory variable on the horizontal axis, response on the vertical
  • Scale each axis to cover the full range of the data, with a little space beyond the extreme points
  • Label both axes with the quantity and its unit
A table of ten pairs gives ten points. If your diagram has twenty, you have plotted each measurement separately and the pattern you read off it will be meaningless.

Plotting the points: small crosses, accurately placed

Cambridge marks plotted points clearly, for example as small crosses. A cross has a centre you can see, so an examiner can tell exactly where you meant the point to be. A filled dot or a blob does not, and a point drawn a whole square out is a plotting error even when the arithmetic in the table was right.

Read each coordinate from its own axis. A common slip is to plot the pair the wrong way round, which turns a rising pattern into a falling one and loses every mark that follows. Check the first point against the table before you plot the rest: if (35,12) has landed above and to the right of (20,8), the axes are the right way round.

If a value is exactly halfway between two grid lines, place the cross halfway. Do not round it to the nearest line to make the drawing tidy: the whole point of the diagram is to show how close the pairs lie to a pattern, and deliberate rounding destroys that information.

  • Small cross, sharp pencil, centre on the exact coordinate
  • Check the order of the pair before plotting the first point
  • Halfway values go halfway between the grid lines
  • A point that seems impossible usually means a misread table, so re-read it rather than moving the cross

Positive, negative and zero correlation

Correlation describes the direction of the pattern. Positive correlation means that as one variable increases the other tends to increase too, so the cloud of points rises from left to right. Negative correlation means that as one increases the other tends to decrease, so the cloud falls from left to right. Zero correlation means there is no overall trend: the points sit in a shapeless cloud with no direction at all.

The words describe direction, not strength, although examiners usually want both. A pattern can be strongly positive, with points packed tightly along a rising band, or weakly positive, with a wide rising scatter. Saying only 'positive' when the question asks you to describe the correlation often costs the second mark.

The labels are about the pattern, not about the numbers being positive or negative. A scatter diagram of temperature below zero against heating cost can show strong positive correlation even though every temperature is negative.

PatternNameTypical example
points rise from left to rightpositive correlationthe age of a plant and its height
points fall from left to rightnegative correlationthe age of a machine and its value
no direction, a shapeless cloudzero correlationshoe size and test mark in the same class
points close to a straight rising bandstrong positive correlationthe mass of a bag of potatoes and the number of potatoes in it
Zero correlation does not mean the two quantities are unrelated in every possible way. It means there is no straight-line trend in this data set. A curved relationship can still produce a shapeless scatter.

Describing what you see, in the words the mark scheme wants

A description question wants three things: the direction, the strength, and a sentence that says what that means in the context of the question. 'Positive correlation' on its own is a label; 'as the number of hours of sunshine increases, the amount of water used by the plants increases' is an answer that shows you have read the axes.

Strength is judged by how tightly the points hug an imaginary straight band. If the band could be drawn with almost every point within a pencil's width of it, the correlation is strong. If the points are spread across half the paper but still trending upwards, it is weak. Words such as 'moderate' are accepted when the pattern is genuinely in between, but they must be justified by what is on the page.

Keep outliers out of the description until you have described the main pattern. A single point far from the rest does not turn a strong positive correlation into zero correlation; it is one unusual individual, and the exam wording for it is an outlier, or an anomalous value.

  • Name the direction: positive, negative or no correlation
  • Name the strength: strong, moderate or weak
  • Say it in context: 'as ... increases, ... tends to increase'
  • Mention any point that does not fit the pattern, and call it an outlier

Drawing the line of best fit by eye

The line of best fit is a single straight line that summarises the trend. It is drawn by inspection, which means you look at the whole cloud and judge where a ruler would sit so that the points are roughly evenly balanced above and below it. It does not have to pass through any of the points, and it usually will not pass through many.

The line must extend across the full data set, from the smallest x to the largest, not just across the crowded middle. A short stub of a line in the centre cannot be used to read off values near the ends, and examiners mark down a line that stops short of the extreme points.

Do not join the dots. Joining consecutive points produces a zigzag, which is not a line of best fit at all. Equally, do not force the line through the first and last points: if those two happen to be unusual, the line will tilt away from the trend that the other ten points agree on.

  • One straight line, drawn with a ruler, by inspection
  • Extends across the full width of the data, from the lowest to the highest x
  • Roughly the same number of points above the line as below it, along the whole length
  • Does not need to pass through any plotted point
  • Never a zigzag joining consecutive points, and never two short lines
The rule to remember: a single ruled line, across the whole data set, with a roughly even distribution of points either side of it over its entire length.

Using the line of best fit to estimate a value

Once the line is drawn, you can estimate a y value for an x inside the data range, or an x value for a y. Go up from the given x to the line, then across to the y-axis; or across from the given y to the line, then down to the x-axis. Read the value from the axis, not from the nearest plotted point.

An estimate read from a line inside the range of the data is called interpolation and is reliable: you are reading between points that the data actually supports. Reading beyond the smallest or largest plotted x is extrapolation, and it is much less reliable. A trend that holds between ages 5 and 15 need not still hold at age 40.

When the line is described by two points on it rather than drawn for you, work out the gradient first and then the equation. A line through (4,10) and (12,26) has gradient 26−1012−4=2, so y=2x+2, and at x=9 the estimate is y=20.

Read from the lineMethodReliability
estimate y for a given xup from x to the line, then across to the y-axisgood, if x lies inside the data range
estimate x for a given yacross from y to the line, then down to the x-axisgood, if y lies inside the data range
a value beyond the last plotted pointextend the line and readunreliable: the trend may not continue
Write 'about' or 'approximately' when you read from a line you drew by eye. An estimate of 20 from a hand-drawn line is not a claim that the true value is exactly 20.

Outliers: the point that does not belong

An outlier is a point that lies well away from the pattern the other points make. It might be a recording error, or it might be a genuine but unusual case. Either way it is identified the same way: by its distance from the trend, not by any rule about how many points are allowed to be unusual.

An outlier pulls the line of best fit towards itself, because the line is balancing points on both sides. A single point far below the trend at the right-hand end tips that end of the line down, making the whole line less steep than the rest of the data suggests. Removing it and redrawing gives a line that describes the other points better.

In an answer, say what you would do and why: 'the point at (9,21) is an outlier, because it lies well below the trend of the other points; it should be ignored when drawing the line of best fit'. That sentence earns more than circling the point with no explanation.

  • An outlier is far from the pattern of the other points, not simply the largest or smallest value
  • It pulls the line of best fit towards itself and can change the gradient noticeably
  • If a question says to ignore it, leave it out of the line and say so
  • A real outlier is still a real measurement unless the question tells you it is an error

Correlation is not cause

Two quantities can be correlated without one causing the other. Ice-cream sales and the number of drownings both rise in hot weather, so they are positively correlated, but buying ice cream does not cause drowning. The hidden third quantity, the temperature, drives both.

The reverse can also happen: a genuine cause may produce only weak correlation in a small sample, because other factors blur the pattern. So correlation is evidence of a relationship, never proof of one.

Exam questions ask you to explain this, not to name it. The answer needs two parts: the correlation may be caused by a third factor, and correlation on its own does not show that a change in one quantity produces a change in the other.

If a question asks whether a line of best fit proves that one variable causes the other, the answer is no: the line shows a trend in the data, and a third factor may explain both.

Key terms you must be able to define

Scatter diagram
A graph of paired measurements, one point for each individual, used to show whether two variables are related.
Bivariate data
Data in which two measurements are recorded for each individual, so that every individual gives a pair of values.
Correlation
The way two variables move together: positive, negative or none.
Positive correlation
As one variable increases the other tends to increase, so the points rise from left to right.
Negative correlation
As one variable increases the other tends to decrease, so the points fall from left to right.
Zero correlation
No overall straight-line trend: the points form a shapeless cloud.
Line of best fit
A single straight ruled line drawn by inspection through the middle of the points, with roughly as many points above it as below, extending across the whole data set.
Outlier
A point that lies well away from the pattern made by the other points.
Interpolation
Estimating a value from the line of best fit at a point inside the range of the data, which is reliable.
Extrapolation
Estimating a value from the line beyond the range of the plotted data, which is unreliable because the trend may not continue.
Explanatory variable
The variable plotted on the horizontal axis, thought to explain or predict the other one.

In context

Cambridge sets 4024 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

Reading a table into points

Ten students record the hours they revised and the mark they scored: (2,34), (4,41), (5,48), (6,52), (7,58), (8,63), (9,71) and (10,74). Each pair is one point, plotted as a small cross with revision on the horizontal axis. The points rise steadily from left to right, so the correlation is positive; they lie close to a straight band, so it is fairly strong. One student revised for 9 hours and scored 71, another revised for 8 and scored 63, so the pattern is consistent rather than exact.

Describing correlation in context

A garage records the age of each second-hand car and its selling price. The points fall from left to right, tightly at first and then more loosely, with one very old car selling for far more than the trend suggests. The description is: negative correlation, fairly strong, because as the age of a car increases its selling price tends to fall; there is one outlier, the old car that sold well above the trend, perhaps because of low mileage.

Drawing and using a line of best fit

A line of best fit for a set of twelve points passes through (3,11) and (13,41), extending from x=3 to x=13. Its gradient is 41−1113−3=3, so the line is y=3x+2. To estimate y when x=8, go up from 8 to the line and across: y=3×8+2=26. Because 8 lies between 3 and 13 this is interpolation, and the estimate is reliable.

Estimating the other way round

Using the same line y=3x+2, a question asks for the value of x when y=35. Read across from 35 to the line and down: 3x+2=35, so 3x=33 and x=11. The answer lies inside the data range, so the reading is sound. Had the question asked for y when x=30, the answer y=92 would be an extrapolation far beyond the last point, and should be described as unreliable.

The effect of an outlier

Fifteen points rise steadily, but one point at (14,18) sits far below the others, which at x=14 are near y=46. Drawn through all sixteen points, the line of best fit tilts down at the right-hand end and its gradient falls. Ignoring the outlier and redrawing gives a steeper line that follows the fifteen consistent points. The outlier should be identified, described as not following the trend, and left out of the line if the question allows it.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1What is a scatter diagram used for?
To show whether two measurements taken on the same individuals are related, with one point per individual.
Q2What does positive correlation look like?
The points rise from left to right: as one variable increases, the other tends to increase.
Q3What does negative correlation look like?
The points fall from left to right: as one variable increases, the other tends to decrease.
Q4What does zero correlation look like?
A shapeless cloud with no overall direction, so no straight-line trend.
Q5How should plotted points be marked?
Clearly, as small crosses, with the centre of the cross on the exact coordinate.
Q6Three rules for a line of best fit?
A single ruled line drawn by inspection, extending across the full data set, with points roughly evenly distributed either side over its whole length.
Q7Does the line of best fit have to pass through any of the points?
No. It balances the points either side of it; it rarely passes through more than one or two.
Q8What is an outlier?
A point that lies well away from the pattern of the other points.
Q9What effect does an outlier have on the line of best fit?
It pulls the line towards itself, which can change the gradient and make the line a poorer summary of the rest of the data.
Q10What is the difference between interpolation and extrapolation?
Interpolation reads a value inside the data range and is reliable; extrapolation reads beyond it and is unreliable.
Q11Why does correlation not prove causation?
A third quantity may drive both variables, so a trend in the data does not show that changing one causes the other to change.
Q12How do you find a value of y from a line of best fit?
Go up from the given x to the line, then across to the y-axis and read the value, including the unit.
0 of 12 marked as known

Exam-style questions

7 questions, 17 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.

DescribeAO21 mark
A scatter diagram shows the number of hours fifteen students spent revising on the horizontal axis and their test marks on the vertical axis. The points rise from left to right with no obvious outliers. Describe the correlation.

Mark scheme — tick each point you actually made

  • B1
Examiner tip: One mark, so the direction plus the context is enough. Naming the axes shows the correlation is positive rather than simply that the numbers are large.
Work outAO22 marks
A line of best fit passes through (4,12) and (12,32). Work out the value of y when x=9.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1y=2.5×9+2=24.5not checked yet
Examiner tip: Find the gradient from the two points first, then substitute x=9. Reading 9 off a sketch will not give an exact value, and the mark is for the calculated estimate.
Work outAO23 marks
A line of best fit is drawn through (5,8) and (15,28). Work out the value of x when y=24.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1x=13not checked yet
Examiner tip: The intercept is −2 because at x=5 the line gives y=8. Substituting one of the given points into y=2x+c finds it in one line.
ExplainAO22 marks
Explain why a line of best fit does not need to pass through any of the plotted points.

Mark scheme — tick each point you actually made

  • B1
  • B1
Examiner tip: Two separate ideas earn the two marks: what the line is for, and how its position is decided. 'It is a line of best fit' explains nothing.
Work outAO23 marks
A line of best fit for 20 pairs of values passes through (10,22) and (30,58). Work out the value of y when x=25.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1y=1.8×25+4=49not checked yet
Examiner tip: 25 lies between 10 and 30, so this is interpolation and the estimate is sound. Show the gradient and the intercept separately so both method marks are visible.
ExplainAO22 marks
A survey finds that towns which sell more ice cream also record more swimming accidents. Explain why this does not show that buying ice cream causes swimming accidents.

Mark scheme — tick each point you actually made

  • B1
  • B1
Examiner tip: Name the hidden variable and then state the general point. The second mark is for saying that correlation alone is not evidence of cause.
Work outAO24 marks
A line of best fit is drawn through (6,20) and (18,56). Work out the value of x when y=38.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A1x=12not checked yet
Examiner tip: The answer 12 is exactly halfway between 6 and 18, and 38 is exactly halfway between 20 and 56, so the values agree. Use the halfway check to confirm a straight-line answer.

Exam technique for this topic

  • Plot with a small cross, not a dot, and make sure the centre of the cross is on the coordinate. A cross that is a whole square out is a plotting error and can cost the marks for the description that follows.
  • When asked to describe correlation, give direction and strength and then a sentence in context. 'Positive' alone is half an answer; 'as the temperature increases the number of cold drinks sold increases' shows you read both axes.
  • Draw the line of best fit with a ruler, in one stroke, across the full width of the data. A line that stops short of the end points, or that joins the first and last points, is not a line of best fit.
  • Check balance before you commit: count the points above and below your line at the left, the middle and the right. If three points sit above and none below at one end, the line needs tilting.
  • Say 'about' when you read a value from a hand-drawn line, and keep the unit from the axis with the number.

Why students lose marks here

A student wroteJoining the plotted points with straight lines, dot to dot
Why it loses marksA line of best fit is a single straight line showing the trend. A zigzag through every point shows the individual values and hides the pattern.
The answer that scoresDraw one ruled line by inspection, with the points roughly evenly balanced either side of it, across the full data set.
A student wroteDrawing the line through the first and last points only
Why it loses marksTwo points, especially extreme ones, may both be unusual. The line is decided by the whole cloud, not by its two ends.
The answer that scoresPosition the line so that points are evenly distributed above and below it over its entire length, then extend it to the smallest and largest x.
A student wroteDescribing a scatter as 'positive' because both variables happen to be positive numbers
Why it loses marksCorrelation is about direction of the pattern, not the sign of the values. A set of entirely negative temperatures can still show positive correlation.
The answer that scoresPositive correlation means that as one variable increases, the other tends to increase, so the points rise from left to right.
A student wroteWriting 'zero correlation' because one point lies far from the rest
Why it loses marksA single outlier does not remove the trend of the other points. The correlation is still strong or moderate; there is simply one unusual value.
The answer that scoresDescribe the main pattern first, then mention the outlier separately as a point that does not follow the trend.
A student wroteUsing the line of best fit to predict far beyond the plotted data and treating the answer as certain
Why it loses marksThat is extrapolation. The relationship may change outside the range that was measured.
The answer that scoresRead only inside the data range where possible; if you must go beyond it, say the estimate is unreliable because it lies outside the data.

Where this fits in O Level Maths 4024

This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.