Draw and describe scatter diagrams, find and interpret Pearson's r, draw a line of best fit through the mean point, and use the regression line of y on x to make and judge predictions in context.
Each is in the Maths AI glossary, with every other term in the subject.
Data in which two variables are measured or observed for each individual, so that each individual gives an ordered pair of values .
A relationship in which a change in one variable directly produces a change in the other variable.
A variable, not included in the analysis, that affects both of the variables being studied and so creates or strengthens a correlation between them.
A relationship between two variables in which one tends to change as the other changes, described by its direction (positive or negative) and its strength.
A straight line drawn by eye on a scatter diagram through the mean point, following the trend of the points so that they are balanced on either side of it.
A relationship between two variables in which the points of a scatter diagram lie close to a straight line, so that equal increases in
Plot bivariate data on a scatter diagram and describe the correlation by its direction and strength.
Calculate Pearson's product-moment correlation coefficient with technology, and interpret its value, including by comparison with a given critical value.
Explain why only measures linear relationships, and why correlation does not imply causation.
Find the mean point
65 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
Maya runs a café at a beach. For ten days in summer she records the maximum temperature, °C, and the number of iced drinks sold, .
(°C) | 24 | 27 | 29 | 31 | 22 | 33 | 26 | 2.9 | 30 | 28 |
|---|---|---|---|---|---|---|---|---|---|---|
With a free account, Augment remembers where you stopped and what you have practiced.
The point whose coordinates are the mean of the -values and the mean of the -values of a set of bivariate data.
A relationship in which larger values of one variable tend to go with smaller values of the other, so the points of a scatter diagram fall from left to right.
A number with that measures the strength and direction of the linear relationship between two variables; and mean that all the points lie exactly on a straight line with positive or negative gradient, and means no linear correlation.
A relationship in which larger values of one variable tend to go with larger values of the other, so the points of a scatter diagram rise from left to right.
The straight line that makes the sum of the squares of the vertical distances from the data points to the line as small as possible; it is used to predict values of from values of .
A graph of bivariate data in which each pair of values is plotted as a single point, with the independent variable on the horizontal axis and the dependent variable on the vertical axis.
A correlation between two variables that have no direct causal connection, arising from coincidence or from a confounding variable that affects both.
Find the equation of the regression line of on with technology, using the variables of the context.
Interpret the parameters and of a regression line in context, with units.
Estimate values of from the regression line, and justify whether a prediction is reliable.
Many questions in science, economics and everyday life are about two quantities at once: whether taller people have longer arms, whether rainfall drops further from the sea, whether winning times in a race keep falling. Data of this kind are pairs of measurements, and the tools of correlation and regression describe how the two measurements move together. A scatter diagram shows the pattern, a single number, Pearson's , measures how close the pattern is to a straight line, and a regression line turns the pattern into an equation that can predict one quantity from the other.
These tools are among the most widely used in applied mathematics, from medicine to economics, and they are also easy to misuse. A strong correlation does not show that one variable causes the other, a straight line does not fit a curved pattern, and a prediction far outside the data can be absurd. Using correlation and regression well therefore means knowing the conditions under which their results can be trusted, as well as the methods themselves.
Most data sets met so far record one quantity for each individual: a height, a time, a score. When two quantities are measured on each individual, the data come in pairs, and the interest shifts from each variable on its own to the relationship between them.
One variable is usually chosen to explain or predict the other. The variable used to predict is the independent variable, written and plotted on the horizontal axis. The variable being predicted is the dependent variable, written and plotted on the vertical axis. In a study of how a car's fuel use depends on its speed, speed is independent and fuel use is dependent. The choice is part of the modelling: it depends on which quantity is known and which one is wanted.
The points are never joined. Each point is a separate individual, and the order of the individuals has no meaning, so a line from one point to the next would suggest a connection that does not exist. Scales should cover the data without wasting space, and they need not start at zero: if every height lies between 150 cm and 190 cm, an axis from 0 to 190 squeezes all the points into a thin strip.
A scatter diagram drawn on paper follows the same rules as any accurate graph.
Choose which variable is and which is , and label each axis with the variable's name and units.
Choose a scale for each axis that covers the smallest and largest values, with equal steps. Where an axis does not start at zero, it is common to show a small zig-zag break near the origin.
Plot each pair as a small cross or dot, reading both coordinates carefully.
Count the plotted points to check that none has been missed.
A scatter diagram is described by the pattern its points make. Three features matter: whether the points follow a straight line or a curve, which way the trend goes, and how tightly the points cluster around it.
Unless stated otherwise, the word correlation refers to a linear pattern, in which the points cluster around a straight line.
The direction of the trend is the first thing to describe.
The opposite trend, with one variable tending to fall as the other rises, is negative correlation.
If the points show no upward or downward trend, there is no correlation (or zero correlation): knowing gives no information about whether is likely to be large or small.
Strength describes how closely the points follow the line. When the points lie close to a straight line, the correlation is strong. When they are spread widely around it, with only a general tendency to rise or fall, it is weak. The scatter diagrams of six data sets show the main patterns side by side.

The last diagram in the set has a clear pattern: the points fall and then rise along a smooth U-shaped curve. The relationship is strong, but it is not linear, and a measure of linear correlation gives a value of about 0. Describing the shape (linear or curved) comes before describing the strength.
Words such as "strong" and "weak" are imprecise. A single number that measures linear correlation makes descriptions comparable between data sets.
The sign of gives the direction and its size gives the strength. A value of shows a stronger linear relationship than , because is closer to 1; the minus sign only shows that the trend is downward.
The idea behind can be seen by dividing a scatter diagram into four regions with a vertical line at the mean and a horizontal line at the mean . For each point, the deviations and measure how far it lies to the right of and above .

For a point in the top-right region both deviations are positive, so their product is positive. Both deviations are negative in the bottom-left region, and the product is again positive. The other two regions give deviations with opposite signs, and so a negative product. Data with positive correlation put most points in the "positive" regions, so the sum of the products is large and positive; negative correlation gives a large negative sum; no correlation scatters the points over all four regions and the positive and negative products roughly cancel.
The sum of products depends on the units (centimetres give larger values than metres) and on how many points there are. Dividing by a quantity built from the spreads of and removes both effects and keeps the result between and . Writing , and for the sums of squared deviations and of products:
The GDC calculates directly, so the formula is not needed in practice. Working through it once on a small data set shows what the number measures.
The GDC finds as part of its linear regression function.
Enter the -values in one list and the matching -values in a second list, in the same order. Each pair must stay together.
Run the linear regression function on the two lists. On a TI-84 Plus CE: STAT → CALC → LinReg(ax+b), with statistics diagnostics switched on in the MODE screen so that is shown. On a Casio fx-CG50: MENU → Statistics, then CALC → REG → X → ax+b. On a TI-Nspire: in a Lists & Spreadsheet page, Menu → Statistics → Stat Calculations → Linear Regression (mx+b).
Read from the output screen. The same screen gives the gradient, the intercept and .
The screen also shows , which is a different quantity (HL students meet it as the coefficient of determination in subtopic 4.13). The correlation coefficient is , with its sign.
YouTubeThe StatQuest video shows how changes as the points spread out from a line. To turn a value into words, many textbooks use a scale like the one in the table. The boundaries are a convention, and when a different scale is supplied with a problem, that scale is the one to use.
Value of | Description of the linear correlation |
|---|---|
very weak (or no correlation) | |
weak | |
moderate | |
strong |
A full description gives both features and the context: ", so there is a strong negative linear correlation between distance travelled and range: scooters that have travelled further tend to have a shorter range." The context sentence states what the number means for the scooters themselves.
Changing the units of either variable does not change . Measuring heights in metres instead of centimetres multiplies every deviation by the same factor, and that factor cancels in the formula. Swapping and does not change either, since the formula is symmetric in the two variables.
A value of comes from the data that happened to be collected, usually a sample. With very few points, a fairly large can appear by chance even when the two variables are unrelated: any two points with different - and -values lie exactly on a line, so they always give , and three or four points can easily line up by chance. A larger sample makes a large harder to produce by chance.
A critical value of is the threshold for a given number of pairs and a given significance level. If is greater than the critical value, the linear correlation is unlikely to be due to chance alone and is called significant. Critical values come from tables; the table shows how the critical value falls as grows (at the 5% level, for a correlation in either direction).
Number of pairs, | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 15 |
|---|---|---|---|---|---|---|---|---|
Critical value of | 0.878 | 0.811 | 0.754 | 0.707 | 0.666 | 0.632 | 0.576 | 0.514 |
With five students, would not be enough to rule out chance, because it is less than 0.878. With fifteen students, would be enough. The comparison uses , so a negative is compared through its size: for the eight scooters, , and the negative correlation is significant.
Pearson's measures linear correlation only. A strong curved relationship can have close to 0, as the U-shaped data set in the scatter diagrams of six patterns shows, and a moderately curved one can still give a large even though a straight line is the wrong model. The value of should never be interpreted without first looking at the scatter diagram.
A single unusual point can also change dramatically. An outlier far from the trend pulls towards 0; an isolated point far from the others in the -direction can create a large on its own. Checking the scatter diagram for points like these, and asking whether they are recording errors, is part of every correlation analysis. Anscombe's quartet, four data sets that share the same and the same regression line, shows all of these effects.
A strong correlation shows that two variables tend to change together, but it gives no information about why they do. The change in one variable may cause the change in the other, or there may be another explanation, and correlation alone cannot separate these possibilities.
Three situations produce a strong correlation without causing .
The cause runs the other way. Towns with more fires tend to own more fire engines, because a town that has many fires buys more engines to deal with them; the direction of cause is from fires to engines.
A third variable drives both. Ice-cream sales and the number of drownings at beaches rise and fall together, because both increase in hot weather. Hot weather is a confounding variable.
Coincidence. Two quantities that both drift steadily over the same years are strongly correlated simply because both change with time.
The third situation is the hardest to spot. Tyler Vigen's collection of spurious correlations pairs unrelated data sets that happen to move together. In one of them, the consumption of margarine per person in the United States and the divorce rate in the US state of Maine, recorded for each year from 2000 to 2009, have . Both quantities fell over the decade for unconnected reasons, so the high value of reflects two downward trends over the same years and no link between margarine and marriage.
Source: Tyler Vigen, Spurious Correlations (tylervigen.com), using US Department of Agriculture and CDC National Vital Statistics data, accessed 2026.
Establishing causation needs more than a correlation coefficient: a controlled experiment in which one variable is changed deliberately while everything else is kept the same, or a body of evidence that rules out the other explanations. The link between smoking and lung cancer is the classic example. The British Doctors' Study recorded the smoking habits of male British doctors from 1951 and followed their causes of death until 2001; its analysis covered 34,439 men. Its 1956 report by Richard Doll and Austin Bradford Hill gave convincing statistical evidence that smoking increases the risk of lung cancer. The case for causation rested on far more than one correlation: a dose–response pattern (heavier smokers were at higher risk), a time order (smoking came before the disease), many independent studies agreeing, and a biological mechanism found by laboratory science.
Source: Doll and Hill, British Medical Journal, 1956; Doll, Peto, Boreham and Sutherland, BMJ, 2004.
When a scatter diagram shows a linear pattern, a straight line drawn through the middle of the points summarises it. Every sensible line should pass through the centre of the data.
The mean point is often labelled on a scatter diagram. It need not be one of the data points. Both coordinates come from the GDC's two-variable statistics, or from adding each list and dividing by the number of pairs.
Calculate and , plot the mean point and label it .
Place a ruler through and turn it until it follows the direction of the points, with the points spread evenly on the two sides of the line along its whole length.
Draw the line across the range of the data.
To estimate for a value of , draw a vertical line from up to the line of best fit and a horizontal line across to the -axis, and read the value.
Two people drawing by eye will produce slightly different lines, so estimates from them differ slightly too. Making every line pass through removes much of that disagreement and anchors each line at the centre of the data.
A line drawn by eye is quick but not unique. The regression line is the one line that fits best by a precise rule, so everyone who uses the same data gets the same equation.
For each data point, the vertical distance to the line is the difference between the actual -value and the value the line predicts. Some points lie above the line and some below, so the distances have both signs and would cancel if simply added. Squaring them makes every one positive and penalises large misses more than small ones. Of all possible straight lines, the regression line has the smallest total of squared vertical distances, which is why it is also called the least-squares regression line.

The distances in the least-squares diagram are vertical, measured in the -direction, because the line is built to predict . Its errors are errors in , and the line makes them as small as possible.
The gradient and intercept that minimise the sum can be found with calculus. The result uses the same sums as Pearson's :
Two consequences follow. Rearranging the second line gives , so the point satisfies the equation: the regression line always passes through the mean point, just as a line of best fit by eye should. Also, has the same sign as , and therefore the same sign as : positive correlation gives a line with positive gradient, negative correlation a line with negative gradient.
In practice the equation always comes from the GDC.
Enter the -values and -values in two lists.
Run the linear regression function (the same function that gives ). Some models, such as the TI-Nspire, write the line as ; the gradient is then .
Read and , and write the equation using the variables of the context, with the coefficients to 3 significant figures: for the scooter data, .
Keep the full values stored in the GDC for any later calculation.
A regression line can be drawn on a scatter diagram from its equation. Two points are enough: the mean point, which lies on the line, and one other point found by substituting a value of , preferably one near the edge of the data so the two points are well separated.
YouTubeIn , the two numbers have meanings in the context, and stating them is part of using a regression line as a mathematical model.
The gradient is the change in for each increase of 1 unit in , as in subtopic 2.1. In a regression line it is an average rate: the predicted change in per unit increase in . Its units are the units of per unit of . For the scooters, means that the range falls by about 3.64 km for every additional thousand kilometres travelled.
The y-intercept is the predicted value of when . Whether it means anything depends on whether is sensible and close to the data. For the scooters, is the predicted range of a new scooter that has travelled 0 km, which makes sense, although lies just outside the data (the smallest is 1). In many contexts is impossible or far from every data point, and then only fixes the position of the line and has no meaning on its own.
The main use of a regression line is to estimate a value of for a value of that was not in the data. The method is to substitute the value of into the equation, keeping the GDC's full values of and .
How much an estimate can be trusted depends on two things, and both must hold.
The correlation must be strong. If the points are widely scattered about the line, the actual value of could be far from the line's prediction. A prediction from a weak correlation is unreliable however carefully it is calculated.
The value of must lie within the range of the data. Estimating inside the range of the data is interpolation. Estimating outside it is extrapolation, and it assumes that the linear pattern continues beyond the observed values, an assumption that often fails, particularly far into the future or near a physical limit.
When both conditions hold, the prediction is reliable (or valid). When either fails, it should be treated with caution or not used at all.
The regression line of on minimises the vertical distances, the errors in . It is designed to predict from . Rearranging it to find from a given uses the line for a job it was not built for. A line built to predict from would minimise the horizontal distances instead, and it is a different line.
For the revision data, the regression line of on is . The line built to predict hours from score is , which rearranges to about . Both lines pass through the mean point , but they have different gradients.
For a target score of 70, rearranging gives hours, while the line built for predicting hours gives hours. The weaker the correlation, the further apart the two lines are; only when do they coincide. The regression line of on is therefore used only to predict , and a value of found by rearranging it is at best a rough estimate.
Data collected over time invite extrapolation into the future, and a linear trend in time is especially easy to extend too far. The winning times of the men's 100 m Olympic final from 1972 to Paris 2024, all measured by fully automatic electronic timing, show a clear downward trend.
Year | Winning time (s) | Year | Winning time (s) |
|---|---|---|---|
1972 | 10.14 | 2000 | 9.87 |
1976 | 10.06 | 2004 | 9.85 |
1980 | 10.25 | 2008 | 9.69 |
1984 | 9.99 | 2012 | 9.63 |
1988 | 9.92 | 2016 | 9.81 |
1992 | 9.96 | 2020 | 9.80 |
1996 | 9.84 | 2024 | 9.79 |
Source: Wikipedia, "100 metres at the Olympics" (finishing times data, Wikimedia Commons), accessed 2026. The 2020 Games were held in 2021.
In 1973 the statistician Francis Anscombe published four small data sets to show why data must be plotted before they are summarised. Each set has eleven points. The first three share the same -values; the fourth uses for every point but one.
, sets I–III | , set I | , set II | , set III | , set IV | , set IV |
|---|---|---|---|---|---|
10 | 8.04 | 9.14 | 7.46 | 8 | 6.58 |
8 | 6.95 | 8.14 | 6.77 | 8 | 5.76 |
13 | 7.58 | 8.74 | 12.74 | 8 | 7.71 |
9 | 8.81 | 8.77 | 7.11 | 8 | 8.84 |
11 | 8.33 | 9.26 | 7.81 | 8 | 8.47 |
14 | 9.96 | 8.10 | 8.84 | 8 | 7.04 |
6 | 7.24 | 6.13 | 6.08 | 8 | 5.25 |
4 | 4.26 | 3.10 | 5.39 | 19 | 12.50 |
12 | 10.84 | 9.13 | 8.15 | 8 | 5.56 |
7 | 4.82 | 7.26 | 6.42 | 8 | 7.91 |
5 | 5.68 | 4.74 | 5.73 | 8 | 6.89 |
Source: F. J. Anscombe, "Graphs in Statistical Analysis", The American Statistician, 1973 (data as tabulated in Wikipedia, "Anscombe's quartet").
Running linear regression on each set gives almost identical results. Every set has mean point , correlation coefficient and regression line , all to 3 significant figures. On the numbers alone, the four data sets are indistinguishable: each would be described as a strong positive linear correlation with the same prediction rule.
Set | Regression line | |||
|---|---|---|---|---|
I | 9 | 7.50 | 0.816 | |
II | 9 | 7.50 | 0.816 | |
III | 9 | 7.50 | 0.816 | |
IV | 9 | 7.50 | 0.817 |
The scatter diagrams of the four sets show four very different patterns.

Set I is the situation the methods are designed for: a linear trend with random scatter. Here and the line are a fair summary.
Set II lies on a smooth curve that rises and then falls. The relationship is almost perfect, but it is not linear, so understates it and the straight line is the wrong model. Predictions near are too high and get worse beyond it.
Set III lies exactly on a straight line except for one point, . Without that point, (to 3 s.f.) and the line is . A single outlier has lowered and tilted the line. Before any analysis, that point should be checked: if it is a recording error it should be corrected or removed.
Set IV has no relationship at all among the ten points at : they vary in with the same . The single point creates the entire correlation. Removing it leaves no linear trend to measure.
Anscombe's quartet leads to a rule for every correlation and regression analysis: plot the scatter diagram first. A value of and an equation summarise a pattern only after the diagram has confirmed that the pattern is linear, with no outliers or isolated points controlling the result.
Correlation and regression appear in almost every session, on Paper 1 as a short question of 5–8 marks and on Paper 2 as part of a longer statistics question, often combined with outliers and sampling (subtopic 4.1) or Spearman's rank correlation (subtopic 4.10). The skills are the same each time: write down or find and the regression line from a GDC, describe or interpret the correlation, estimate a value from the line, and justify or comment on whether the estimate is valid. Questions on paper may also ask you to plot and label the mean point and draw a line of best fit or the regression line.
The usual mark pattern is consistent. The value of often earns two marks, with one lost for a missing sign or wrong rounding. A regression line earns one mark for the gradient term and one for the intercept, but at most one if the answer is not written as an equation in the question's variables. A prediction earns a method mark for substituting the given value and an answer mark. A validity question needs a decision and a reason, and a decision with no reason earns nothing.
The validity question in part (g) is the most often mishandled. Two reasons can make a prediction reliable or unreliable, and markschemes often want the one that applies: strength of correlation and position within the data.
Questions also test the language of correlation itself. A description of needs both the strength and the direction, and comments must be specific.
Describe the linear correlation shown by each value of : (a) ; (b) ; (c) . [3]
For the data , , , : (a) write down the mean point; (b) calculate , and , and hence , showing your working. [4]
A household records the daily maximum temperature, °C, and the electricity used for cooling, kWh, on eight days.
(a) Find . [2] (b) Find the equation of the regression line of on . [2] (c) Estimate the electricity used on a day with a maximum temperature of 28 °C. [2] (d) Comment on using the line for a day with a maximum of 45 °C. [2]
The cost, dollars, of a taxi journey of km is modelled by . Interpret the values 1.85 and 3.50 in context. [2]
In a sample of 10 office workers, the correlation between daily commuting time and hours of sleep is . The critical value at the 5% level for 10 pairs is 0.632. State, with a reason, whether the correlation is significant. [2]
A survey of 200 households finds a strong positive correlation between the number of cars a household owns and the number of overseas holidays it takes each year. Explain why this does not show that buying another car leads to more holidays. [2]
A biologist uses the regression line , where cm is the length and g the mass of a fish, to estimate the mass of a fish that is 12 cm long. Explain why this is not appropriate. [1]
A student records the hours of sleep, , and the reaction time, milliseconds, of ten classmates.
(a) Find for all ten pairs. [2] (b) Suggest what has happened to the last pair, and find and the regression line of on without it. [4] (c) Hence estimate the reaction time of a classmate who slept 7.2 hours. [2]
(a) Strong positive. (b) Moderate negative. (c) Very weak (almost no) linear correlation.
(a) . (b) Deviations in : −3, −1, 1, 3; in : −4, 0, 1, 3. , , ; .
(a) (0.994705…). (b) (
1.85: the cost increases by $1.85 for each additional kilometre. 3.50: the fixed charge, $3.50, the cost of a journey of 0 km (the starting fee).
, so the negative linear correlation is significant at the 5% level.
Household income is a confounding variable: richer households can afford both more cars and more holidays. Correlation does not imply causation.
The line of on predicts length from mass; it should not be used to predict mass from length.
(a) (−0.267579…). (b) The time 31 ms is almost certainly a recording error (for example 310 ms with a digit missing), an outlier far below every other time. Without it, and (
Bivariate data are pairs , shown on a scatter diagram with the independent variable on the horizontal axis; the points are never joined.
Correlation is described by its shape (linear or not), direction (positive, negative, none) and strength (strong, moderate, weak).
Pearson's , found with a GDC, measures linear correlation: , the sign gives the direction and the strength; it is .
If exceeds a given critical value, the linear correlation is significant (unlikely to be chance).
Correlation does not imply causation: reverse cause, confounding variables and coincidence all produce correlation.
The mean point lies on every line of best fit by eye and on the regression line.
The regression line of on , , minimises the sum of squared vertical distances; find it with a GDC and write it in the variables of the context.
is the change in per unit increase in (with units); is the value of when
A prediction is reliable only when the correlation is strong and the value of is within the data; extrapolation is unreliable, and a on line should not predict .
Always plot the data first: Anscombe's quartet shows four data sets with the same and line but different patterns.
I can choose the independent and dependent variables and plot a scatter diagram with labelled axes and sensible scales.
I can describe a scatter diagram by its shape, direction and strength, in context.
I can enter paired data into my GDC and find , copying (not ) with its sign.
I can explain what measures using the products , and calculate it by hand for a small data set.
I can compare with a given critical value and state whether the correlation is significant.
I can explain why is only meaningful for linear relationships and how an outlier affects it.
I can explain why correlation does not imply causation and suggest a confounding variable.
I can calculate the mean point, plot it labelled , and draw a line of best fit by eye through it.
I can find the regression line of on with my GDC and write it as an equation in the question's variables, to 3 s.f.
I can draw a regression line on a scatter diagram using the mean point and one other point.
I can interpret the gradient and the intercept of a regression line in context with units, and say when the intercept is meaningless.
I can estimate from the line using the full stored values of and .
I can justify whether a prediction is reliable using both the strength of correlation and the range of the data.
I can explain why a regression line of on should not be used to predict .
129 |
138 |
179 |
176 |
107 |
198 |
150 |
168 |
164 |
162 |
One of the temperatures has been recorded in error. Identify this value and suggest what the temperature probably was.
2 marks
2.9 °C (a summer day with 168 iced drinks sold) A1
the decimal point is misplaced; the temperature was probably 29 °C R1
[2 marks]
If the error is not noticed, the value of Pearson's product-moment correlation coefficient for all ten days is . Maya removes the day with the error.
Find the value of for the remaining nine days.
2 marks
⇒ A2
[2 marks]
Comment on the effect of the error on the correlation coefficient.
1 mark
a single incorrect value changed a strong positive correlation into what appears to be a weak one R1
[1 mark]
For the nine days, find the equation of the regression line of on .
2 marks
(
Interpret, in context, the gradient of the regression line.
1 mark
for each increase of 1 °C in the maximum temperature, about 7.75 more iced drinks are sold A1
[1 mark]
Use your regression equation to estimate the number of iced drinks Maya sells on a day when the maximum temperature is 25 °C.
2 marks
(M1)
⇒ 134 (drinks) A1
Note: Accept or
Maya wants to use the equation to estimate sales on a winter day with a maximum temperature of 12 °C. Explain why this estimate may not be reliable.
2 marks
12 °C is outside the range of the recorded temperatures (22 °C to 33 °C) R1
so this is extrapolation, and the linear relationship may not continue (the model gives about 34 drinks) R1
[2 marks]
Maya says the café was closed on one day during the ten-day period, so no data were recorded. She suggests recording 0 drinks for that day. Explain why this would be inappropriate.
1 mark
0 drinks was caused by the café being closed, not by the temperature, so it would distort the relationship (it is missing data, not a real observation) R1
[1 mark]
A weather station beside Lake Bled records the mean July temperature, °C, every second year. The data are shown in the following table, where is the number of years after 2010.
(years after 2010) | 0 | 2 | 4 | 6 | 8 | 10 | 12 |
|---|---|---|---|---|---|---|---|
(°C) | 18.2 | 18.5 | 18.4 | 19.0 | 19.1 | 19.6 | 19.8 |
Matej models the data with the straight line that passes through the first and last data points.
Find the gradient of Matej's line.
2 marks
Interpret the gradient in the context of the question, stating its units.
2 marks
Write down the equation of Matej's line in the form .
1 mark
Use Matej's line to estimate the mean July temperature in 2025.
2 marks
Use your graphic display calculator to find
(i) Pearson's product-moment correlation coefficient,
The table shows the number of visitors, thousand, to the Marlow Museum of Science in each year from 2017 to 2024, where is the number of years after 2016.
Year | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 |
|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
(thousands) | 41.2 | 44.0 | 46.5 | 49.6 | 52.1 | 54.4 | 57.6 | 59.8 |
The museum's manager, Abebe, models the number of visitors with an arithmetic sequence.
Calculate the mean of the yearly increases in the number of visitors from 2017 to 2024.
2 marks
Use your answer to part (a) as the common difference, and the number of visitors in 2024, to estimate the number of visitors in 2028.
2 marks
Find the value of Pearson's product-moment correlation coefficient, .
2 marks
Find the equation of the regression line of on .
2 marks
The points fall from left to right and lie close to a straight line. Scooters that have travelled further tend to have a shorter range, and the pattern is linear, so there is strong negative linear correlation.
1 | 45 | −3 | −13 | 9 | 169 | 39 |
2 | 50 | −2 | −8 | 4 | 64 | 16 |
4 | 62 | 0 | 4 | 0 | 16 | 0 |
5 | 58 | 1 | 0 | 1 | 0 | 0 |
8 | 75 | 4 | 17 | 16 | 289 | 68 |
Total | 30 | 538 | 123 |
Every product is positive or zero, which already suggests positive correlation.
Entering the hours in one list and the scores in another and running linear regression on a GDC gives , the same value. There is a strong positive linear correlation between hours of revision and test score for these five students.
(b) The line is drawn through following the direction of the points, with points close to it on both sides along its whole length. One such line passes through and close to .
Reading up from to the line and across to the vertical axis gives cm. (M1)A1 Any answer from about 160 cm to 163 cm is reasonable, since each line by eye is slightly different.
and the intercept is
so the regression line is . A GDC's linear regression on the two lists gives and , the same values.
At : , which is . The line passes through the mean point .
A1A1 for the gradient term and the intercept, written as an equation in and .
(b) The winning time falls by about 0.00843 seconds per year on average, which is about 0.034 seconds from one Games to the next. A1
(c) 2028 is :
The estimate is 9.65 s. (M1)A1 The correlation is strong () and 2028 is only four years beyond the data, but it is still extrapolation, and the times since 2008 have levelled off at about 9.6–9.8 s, so the estimate is a rough guide only. R1
(d) Solving gives , so about the year 3173. A1 A time of 0 s is impossible, and the model also predicts that the Olympic winner will beat Usain Bolt's world record of 9.58 s (Berlin, 2009) by about 2036. Human speed has physical limits, so winning times must level off: the linear trend describes 1972–2024 well but cannot be extended far beyond it. R1
Award A1 for 0.949 (sign omitted) or for −0.950 (incorrect rounding).
(c) R1
so there is significant (strong) negative linear correlation between distance from the coast and rainfall. A1
Do not award R0A1.
(d) A1A1
Award A1 for and A1 for 1470. Award at most A1A0 if the answer is not an equation, or is written in and .
(e) The mean annual rainfall decreases by about 4.80 mm for every extra kilometre from the coast. A1
(f) (M1)
mm A1
(g) No, the line should not be used. A1
250 km is outside the range of the data (5 km to 120 km), so this would be extrapolation. R1
Do not award A1R0.
(h) The line of on is for predicting from a given , not from a given . R1
(i) Correlation does not imply causation: the decrease may be caused by other factors, such as height above sea level or mountains blocking moist air. R1
Total [15]
Note: Award for , for . Award at most if the answer is not an equation.
[2 marks]
[2 marks]
(ii) the equation of the regression line of on .
4 marks
Use the regression line to estimate the mean July temperature in 2017.
2 marks
Matej's sister claims that the regression line can be used to predict the mean July temperature in 2060. Comment on her claim.
2 marks
Use your regression equation to estimate the number of visitors in 2028.
2 marks
Interpret, in context, the gradient of the regression line.
1 mark
Abebe uses the regression line to predict that the museum will have about 103 000 visitors in 2040.
Comment on the reliability of this prediction.
1 mark