Regression finds the straight line that best fits a scatter plot, and the correlation coefficient measures how strong that straight-line relationship is. Calculator skills are essential here, but so is explaining what the numbers mean in context.
Least squares regression line by calculator
The least squares regression line is the line that minimises the sum of the squared vertical distances from the points to the line.
Use your calculator's STAT mode (A+BX): enter the - and -values, then read off and .
Example. Hours studied () and test mark () for 8 learners:
- : 1, 2, 3, 4, 5, 6, 7, 8
- : 42, 48, 51, 57, 60, 66, 68, 75
The calculator gives and :
Interpreting : each extra hour of study is linked to about 4,51 more marks.
The regression line always passes through .
The correlation coefficient
The correlation coefficient is between and .
- close to : strong positive linear relationship
- close to : strong negative linear relationship
- close to : weak or no linear relationship
There are no fixed cut-offs in the syllabus. Describe the strength by how close is to 1 (very strong, strong, moderate, weak, no linear relationship) and support it with the scatter plot and the context.
Example. For the study data, : a very strong positive correlation.
Correlation does not prove that one variable causes the other.
Outliers on a scatter plot are points far from the general trend. One outlier can lower sharply. Outliers are identified by looking at the scatter plot.
Predictions and interpolation
Substitute an -value into the regression equation to predict .
- Interpolation: predicting within the range of the data. Usually reliable.
- Extrapolation: predicting outside the range. Less reliable, because the trend may not continue.
Example. For 5,5 hours: marks. This is interpolation.
For 12 hours, the equation predicts about 92,2 marks, but this is extrapolation: nobody in the data studied that long, and marks cannot rise forever.
The strength of also affects reliability: predictions from a weak correlation are less trustworthy.
Key terms
Scatter plot
A graph of paired data shown as points.
Regression line
The line of best fit, .
Correlation coefficient
A number from to measuring the strength of a linear relationship.
Interpolation
Predicting within the range of the data.
Extrapolation
Predicting outside the range of the data.
Common mistakes
Swapping and when writing the equation from the calculator.
Entering the - and -values the wrong way round.
Saying a strong correlation proves cause and effect.
Trusting extrapolated predictions without comment.
Practice questions
Reveal steps one at a time, then tick the marks you earned.
Question 1
3 marks total
Hours studied () and test marks () for 8 learners are:
- : 1 ; 2 ; 3 ; 4 ; 5 ; 6 ; 7 ; 8
- : 42 ; 48 ; 51 ; 57 ; 60 ; 66 ; 68 ; 75
Determine the equation of the least squares regression line.
Worked solution
Hidden - try the question first
Question 2
4 marks total
For the same data:
(a) Write down the correlation coefficient. (1)
(b) Describe the correlation. (1)
(c) Interpret the value of in this context. (2)
Worked solution
Hidden - try the question first
Question 3
6 marks total
Use the regression line for the study data.
(a) Predict the mark of a learner who studies for 5,5 hours. (2)
(b) Predict the mark of a learner who studies for 12 hours. (2)
(c) Which prediction is more reliable? Explain. (2)
Worked solution
Hidden - try the question first
Question 4
8 marks total
A ninth learner studied for 2 hours and scored 85.
(a) Is this point an outlier? Explain by referring to the scatter plot. (2)
(b) With all nine points, the correlation coefficient is . Describe the effect of the new point on the correlation. (2)
(c) Explain why the regression line from the original 8 points is more useful for predicting marks. (2)
(d) Give one other factor, apart from hours studied, that could explain the ninth learner's result. (2)
Worked solution
Hidden - try the question first
FAQs
Do I calculate the regression line by hand in the IEB exam?
No. Use your calculator's regression mode. You must still write the equation correctly and interpret it.
What is a strong correlation?
The closer is to 1, the stronger the linear relationship. There is no fixed cut-off, so describe it in words and in context, and always give the direction: positive or negative.
Why is extrapolation risky?
The relationship may change outside the range of the data, so predictions there are less reliable.