Learner outcomes and a gentle pre-requisite
By the end a learner should be able to: (1) identify quantitative paired observations; (2) calculate xbar and ybar; (3) compute centred sums Sxx, Syy and Sxy from a clear table; (4) calculate r = Sxy / sqrt(Sxx × Syy), provided both spreads are strictly positive; (5) interpret direction and numerical strength of linear association without fixed universal "strong" bands or significance claims; (6) investigate how moving one observed point changes r; (7) explain why multiplying all y values by a positive factor and adding a constant does not alter Pearson r; and (8) distinguish linear correlation, nonlinear pattern, sampling uncertainty and causality.
For a learner who struggles with averages: Mean is a balancing point: values 2,3,4 have mean 3. A centred difference is actual minus mean. Positive times positive gives positive; negative times negative also gives positive; positive times negative gives negative. Thus matching high-high and low-low pairs contribute positive Sxy, while high-low pairs contribute negative Sxy. Square each centred difference to compute Sxx or Syy. Square root in the denominator returns a positive normalising quantity, so the result r has NO units. If all x values or all y values are identical, one centred sum is ZERO, and r is UNDEFINED, not zero. A calculator displaying 0/0 must not be interpreted as evidence of no association.
Full English learner reading
1. Is one upward-looking plot enough?
Imagine FOUR fictional paired observations of toy-machine settings, not actual employees or students. Horizontal x is a setting number, vertical y a fictional numeric output. First three data points are (1,2), (2,3), (3,4). You may reposition the FOURTH point, always at x=4.
2. Plot four paired measurements
Take the original four pairs A=(1,2), B=(2,3), C=(3,4), D=(4,5). Put x at 1,2,3,4 along a labelled horizontal axis and y at 2,3,4,5 along a labelled vertical axis. The four dots form a perfectly increasing line. This is a sample of FOUR invented pairs; no actual study, population guarantee, causal interpretation or p-value exists.
Use a clear scatter plot rather than joining the dots as if they were a time-series. A dot must preserve its original x-y PAIR. x values are 1,2,3,4 so xbar=2.5. y values 2,3,4,5 so ybar=3.5. The centred x values are −1.5,−0.5,+0.5,+1.5. The centred y values are identical. We can check the three centred sums:
| Point | x−2.5 | y−3.5 | (x−2.5)² | (y−3.5)² | Product |
|---|---|---|---|---|---|
| A | −1.5 | −1.5 | 2.25 | 2.25 | 2.25 |
| B | −0.5 | −0.5 | 0.25 | 0.25 | 0.25 |
| C | +0.5 | +0.5 | 0.25 | 0.25 | 0.25 |
| D | +1.5 | +1.5 | 2.25 | 2.25 | 2.25 |
| Totals | 0 | 0 | 5 | 5 | 5 |
Define Sxx=5, Syy=5, Sxy=5. Therefore r=5/sqrt(5×5)=+1. This means a PERFECTLY positive LINEAR pattern for this finite dataset. It does not say that x caused y, that every unobserved future pair will lie on that line, or that any population correlation was established with four invented observations.
3. Move just ONE point and calculate the impact
Keep A(1,2), B(2,3), C(3,4) fixed and change only D from (4,5) to (4,0). Now ybar=(2+3+4+0)/4=2.25. xbar and Sxx are unchanged:2.5 and5.
New centred y values: −0.25,+0.75,+1.75,−2.25. Squares sum 0.0625+0.5625+3.0625+5.0625=8.75, so Syy=8.75. Cross-products with x-centred values are:
- A (−1.5)(−0.25)=+0.375.
- B (−0.5)(+0.75)=−0.375.
- C (+0.5)(+1.75)=+0.875.
- D (+1.5)(−2.25)=−3.375. Together Sxy=−2.5.
Therefore r=−2.5/sqrt(5×8.75)=−1/sqrt(7) ≈−0.377964. Just moving ONE invented observation has changed a perfectly positive linear pattern into a moderately negative numerical sample r. "Moderately" is only a casual description here, not a universal threshold; show the numerical −0.378 and the changed scatter to avoid subjective grading. The moved observation is unusual relative to the other three; this illustrates sensitivity with an extremely SMALL dataset, not a forecast of real outlier behavior.
Now consider D=(4,2): Sxy=0.5, Syy=2.75, so r≈+0.134840, near zero despite the first three points ascending. D=(4,9): Sxy=11, Syy=29, so r≈+0.913500. A single extreme positive y can make a high positive r, even though the four-point pattern is visibly nonuniform. One positive or negative example alone is NOT a significance test.
4. What Pearson r measures and what it does not
For n paired quantitative observations and nonzero x and y spread:
- xbar = mean of all x values, ybar = mean of all paired y values.
- Sxx = sum (x−xbar)², Syy = sum (y−ybar)².
- Sxy = sum (x−xbar)(y−ybar).
- r = Sxy / sqrt(Sxx × Syy).
A positive r indicates an upward linear tendency across these sample pairs; negative r indicates downward linear tendency; |r| near1 indicates the points are close to SOME straight linear relationship in the sample. r close to zero describes little linear association, not a guarantee of no relationship. For example, symmetric pairs on a curved U shape can make positive and negative centred products cancel, even when y is tightly determined by x². Always inspect the scatter plot and possible nonlinear structure before interpreting r.
A correlation r is DIMENSIONLESS and lies between −1 and+1 for valid nonconstant data. It is not a slope, a percent rise, a risk reduction, an r-squared causal effect, or a proof that changing x would change y. Observational confounding, sampling noise and atypical pairs can all distort an interpretation, particularly with n=4. Formal inference on population rho would need additional design and assumptions not supplied here.
Moving a datum differs from changing its units
Think first: If every y value is multiplied by two, does the correlation between x and y necessarily double?
Worked comparison: For points (1,2), (2,3), (3,4), (4,5), Pearson r is +1. Changing only the last y value to zero gives r about −0.377964. Multiplying all y values by a positive factor or adding a constant changes measurement units but leaves r unchanged.
Why it works: Correlation is standardized. Moving one actual data point can change the relationship, whereas positive linear rescaling of all y values does not change Pearson r.
Try in your notes: Sketch four paired points and explain why a steeper-looking numerical slope after unit conversion does not prove stronger correlation.
6. Guided supported practice
G1. Compute means: xbar=2.5, ybar=(2+3+4+2)/4=2.75. G2. Calculate centred sums: Sxx=5; Syy=(−.75)²+(.25)²+(1.25)²+(−.75)²=2.75; Sxy=0.5. G3. Pearson r=0.5/sqrt(5×2.75)≈**+0.134840**. This is close to zero despite the first three values ascending. If learner describes “no relation whatsoever”, show the four actual coordinates and explain r concerns only the LINEAR summary. If they report r as “0.13484 y units per x”, point out r has no units; that would be a slope expression, not a coefficient of correlation. G4. Multiply every y by2 and add10. r is STILL +0.134840. If a learner doubles r, ask “Which raw centred y numbers and normalising spread both changed?” Use staged hints and the full accessible calculation table.
7. Independent transfer: five new paired observations
Independent exercise - work on paper or in your notes.
A different imaginary toy-system dataset has FIVE PAIRS and different x-values: (2,8), (4,7), (6,6), (8,4), (10,5). The x label is setting index, y is fictional response units. Use the five pairs to determine the overall direction and any deviations from that pattern.
A. Record all FIVE linked x/y pairs in a correctly labelled scatter diagram OR an equivalent detailed coordinate table (do not claim keyboard coordinate input proves drawing skill). State whether the overall sample pattern seems upward or downward and note any deviation. B. Compute xbar, ybar, and a table of x−xbar and y−ybar for all FIVE pairs. C. Compute Sxx, Syy and Sxy from the actual paired centred values, naming both squared and product columns. D. Calculate r as an exact fraction/decimal and state its SIGN and that it has NO physical units. Explain what its numerical magnitude says and does not say. E. Imagine the y measurement is reported in a new unit y_new=3y+7. Predict whether r increases, decreases, stays equal or flips sign and justify without merely copying a tool output. Use the centered sums to derive the effect of y_new=3y+7: how would Sxy and Syy change, and what happens to r=Sxy/sqrt(Sxx*Syy)? Show your reasoning before stating your conclusion. F. Write a nonblank UNSCORED explanation why a numerical correlation does not establish cause, and why one unusual pair might change the sample result.
8. Takeaway
Pearson's r describes the direction and strength of a linear sample association. It needs paired quantitative measurements and nonzero spread on BOTH variables; otherwise it is undefined. One unusual point may change r sharply. A positive rescaling or translation of all y measurements changes numeric y values but leaves r unchanged; never mistake r for slope. A small r cannot rule out curves, and a large r cannot establish causation, identify confounding or guarantee prediction beyond the observed x range. A future separate inference lesson would be needed before making population correlation confidence claims.