Statistics and Mechanics Year 1, chapter 4 (Correlation), section 4.2
The regression line
If a scatter diagram shows a linear relationship, the regression line of on is the line of best fit:
In the exam you are given the equation of the regression line (or your calculator finds it). You won't be asked to calculate it: what matters is interpreting it and using it to predict.
For background only, and are chosen to minimise the squared vertical distances (the residuals) of the points from the line. In terms of summary values:
The line always passes through the mean point .
Worked example (background: how the line is found)
Data: , , , , . Then and , and .
Interpreting
- The gradient : for each increase of 1 in , increases by about (in context, with units).
- The intercept : the predicted value of when . It may not make sense in context.
Using the line to predict
- Interpolation (predicting within the range of the data) is reliable if the correlation is strong.
- Extrapolation (predicting outside the range) is unreliable, because the relationship may not continue.
With (inside the range), , a reliable estimate.
The regression line of on
Use it to predict from . It is not suitable for predicting from .
Common mistake: extrapolating and treating the result as reliable. Also, interpret the gradient with the units and the context, such as "each extra hour of sunshine adds about 1.5 mm to the plant height".
Exam tip: say whether a prediction is interpolation or extrapolation, and comment on its reliability. When asked to interpret, write a full sentence using the variables.
Check yourself
What is true of the regression line and the mean point?
The line passes through .
What is extrapolation?
Predicting outside the range of the data.
In , what does the 3 mean?
For each increase of 1 in , increases by about 3.