Unit 1 of 4 · Correlation and linear regression
Read correlation with the scatter
Calculate linear correlation and check the scatter and outliers.
Choose the response variable and appropriate regression direction. Check a scatterplot for curvature and outliers before trusting a correlation coefficient. Explain whether a prediction stays inside the observed range.
Calculate Pearson’s linear correlation coefficient
Look at the scatter before reading the coefficient. Describe the direction and strength of a linear pattern, then check for curvature and unusual observations. A coefficient near zero rules out neither a curved relationship nor a useful model of another form.
Pearson’s product moment correlation coefficient describes the strength and direction of linear association between paired numerical variables. Calculate it alongside the scatter, because a curved pattern is not summarised adequately by linear correlation.
where
These are the centred and summary-data forms printed in MF27. Use the calculator directly when the paired observations are supplied; use the summary formula when only totals are available. The denominator requires both variables to vary, so and . Otherwise is undefined, rather than zero.
Read the coefficient cases
For defined , :
All points lie on a line with negative gradient.
Negative linear association: tends to decrease as increases.
Zero linear correlation; a strong curved relationship may remain.
Positive linear association: tends to increase as increases.
All points lie on a line with positive gradient.
The source’s and rows include the perfect endpoints; the separate rows above make the cases disjoint. “Tends to” describes the overall association, not every consecutive observation. The five source illustration roles are retained in Five coefficient cases.
Interpret the coefficient with its scatter
A strong correlation does not establish that one variable directly causes the other. The source compares a person’s right-foot size (horizontal) with left-foot size (vertical): its five-point rising schematic can reflect a shared factor such as genes. Its sentence “there is no causal relationship” is too general: correlation alone establishes neither the presence nor the absence of causation.
The three source calculator plots all report , yet depict a roughly linear scatter, a curve, and a close trend with an unusual observation. Causation and equal-coefficient patterns preserves those distinct roles. The source supplies no raw coordinates for these three plots; the reconstructed illustrations must not be treated as datasets whose exact coefficient is 0.86.
Explain the effect of an unusual observation
An outlier can increase or decrease the correlation, or change its sign. In the source’s rising-scatter illustration, the point sits above the main trend; removing it gives a higher positive . Outlier in a rising scatter preserves this example. Investigate unusual observations rather than deleting points just to increase . The radiation example applies the formula and explains the effect of removing an observation without recalculating.
Construct a relationship that linear correlation misses
Use the paired data and . Sketch the scatter and calculate r. Fit the regression of y on x and inspect its residuals. Explain why a zero coefficient does not settle whether there is a relationship.
After your attempt: compare the reasoning
Here exactly. Symmetry makes the centred cross-product sum zero while both variables vary, so . The y-on-x fit is the horizontal line . Its residuals are , showing curvature rather than an unstructured scatter about zero. The variables have a perfect quadratic relationship even though their linear correlation is zero. Inspect the scatter and model form alongside the coefficient.
Diagrams for this unit
Open 4 diagramsTry these examples
Open an example in chapter practice. Try it first, then read its solution. Use “Learn this step” to return to this unit.