Correlation and regression are the H2 Maths tools for describing the linear relationship between two variables. A scatter diagram gives an immediate visual impression of type (positive, negative, or none) and strength; the product-moment correlation coefficient quantifies this precisely, and the least-squares regression line lets you make estimates — provided you use it carefully.
What you need to know
- Scatter diagram: plot one variable against the other. The diagram reveals the type and approximate strength of any linear relationship and exposes outliers. Always label both axes.
- Product-moment correlation coefficient: is obtained from the GC and satisfies . Values close to or indicate strong positive or negative linear correlation respectively; values close to indicate little or no linear correlation (a clear non-linear pattern may still exist).
- Interpreting : comment on both sign (direction) and magnitude (strength). A value such as means strong positive linear correlation; means weak negative linear correlation. Correlation does not imply causation.
- Least-squares regression line of on : the line that minimises the sum of squared vertical residuals. Its coefficients are read from the GC. The line always passes through and can be written
- Choosing the correct regression line: use on when estimating from a given ; use on when estimating from a given . Do not rearrange the -on- line to estimate .
- Reliability of estimates: estimation within the data range (interpolation) is generally reliable when is close to 1. Estimation outside the data range (extrapolation) is unreliable because the linear model may not hold beyond the observed values.
Worked example 1 — Interpreting a given correlation coefficient
A study records the number of hours of revision and the score (out of 100) for 12 students. The GC gives .
Comment on the correlation between hours of revision and score, and state one limitation of this conclusion.
Solution.
Since is positive and close to , there is a strong positive linear correlation between hours of revision and score: students who revised for more hours tended to score higher.
However, correlation does not imply causation. Other factors (prior ability, quality of resources, sleep) may also influence scores. The conclusion applies only to the range of revision hours observed in the sample; extrapolating beyond that range may not be valid.
Worked example 2 — Using the regression line to estimate a value
The heights (in cm) and shoe sizes of 10 adults are recorded. Summary statistics give , , and the GC produces the regression line of on :
The correlation coefficient is . The heights in the sample range from 155 cm to 185 cm.
(a) Estimate the shoe size of an adult of height 175 cm, and comment on the reliability of this estimate.
(b) A colleague suggests using this line to estimate the shoe size of a child of height 120 cm. Comment on this suggestion.
Solution.
(a) Substituting :
The estimated shoe size is 8.8. Since indicates strong positive linear correlation and cm lies within the observed data range (155 cm to 185 cm), this is an interpolation and the estimate is reliable.
(b) A height of 120 cm is well outside the observed range, so this would be an extrapolation. The linear model may not hold for children, and the estimate would be unreliable. The colleague’s suggestion is not appropriate.
Worked example 3 — Verifying the line passes through
Using the data from Worked example 2, verify that lies on the regression line.
Solution.
Substitute into the regression equation:
This does not exactly equal due to rounding in the stated coefficients. In an exam, the GC’s unrounded coefficients will satisfy exactly when . This property is a useful check that you have used the correct regression line.
Common mistakes
- Rearranging the -on- line to estimate . The regression line of on minimises vertical residuals and is not the same as the line of on . To estimate from a known , obtain and use the separate -on- regression line from the GC.
- Concluding causation from correlation. A high shows a strong linear association, not that one variable causes the other.
- Treating as “no relationship”. It means little or no linear relationship; a strong non-linear pattern (e.g. quadratic) can still give close to .
- Extrapolating without comment. Any estimate outside the observed data range must be accompanied by a statement that it is an extrapolation and therefore unreliable.