Free Pearson Edexcel International A-level Mathematics · S1
Correlation and linear regression
What you’ll learn
- Calculate and interpret product moment correlation.
- Use the regression of y on x for prediction.
- Distinguish interpolation from extrapolation and association from causation.
Understand the idea
A scatter diagram shows the form and strength of association and can reveal an outlier before any calculation. The product moment correlation coefficient measures linear association and lies between and . A value near zero need not rule out a strong curved relationship.
The least-squares regression of on predicts from a specified and minimises the squared vertical residuals. Its line passes through . The regression of on is a different fit, so do not simply rearrange a regression equation to predict the other variable.
A prediction within the observed range is interpolation. Extrapolation requires the relationship to continue outside the available evidence and can be unreliable. Correlation alone does not establish cause: a third variable, selection effects or chance may explain the association.
Key formulae
Conditions. Illustrative line ŷ=1+2x with a single observed value y=8 at x=3. The vertical segment marks the residual 8−7=1; this is an illustration, not a fitted empirical dataset.
Explanatory x / model units; Response y / model units.
At x=3 the prediction is 7 and the observation is 8, so the residual is+1 in y units. Least squares minimises squared vertical residuals across the data; it does not force every residual to zero.
Open the interactive lesson to view plotted curves and coordinate tables.
Worked example
A dataset has , , , and . Find the regression of on and the correlation coefficient.
- The gradient is .
- The intercept is .
- The correlation is
.
Answer: and .
Open the interactive lesson to try original questions and recall. Build a revision plan.