University of Free Knowledge
QA 276.12 · fol. 11

Measuring the Lean

The correlation coefficient r condenses the direction and tightness of a linear relationship into a single number between minus one and one. · 13 min

Last folio you called a relationship strong or weak by eye. But different people, looking at the same cloud, will disagree about where 'strong' ends and 'moderate' begins. Statistics replaces that judgment with a measurement: the correlation coefficient, written r — a single number that captures both the direction of a linear relationship and how tightly the points follow it.

Guess before you learn

A scatter of people's height and shoe size rises tightly, the points close to a straight line. On a scale from −1 to 1, guess the correlation r.

The number r always lands between −1 and 1, and you read it in two halves. Its sign is the direction: positive means the points rise together, negative means one falls as the other climbs. Its size is the strength: the closer the distance of r from 0, toward 1, the more nearly the points lie on one straight line. At exactly 1 or −1 they lie on a line perfectly.

THE DEPTH DIAL — the same idea, younger or deeper
9–12

9–12

Correlation r standardizes a relationship. For each point, convert both coordinates to z-scores — how many standard deviations above or below their means each is — then average the products: r = the sum of z_x·z_y divided by (n − 1). When x and y are large together or small together, their z-scores share a sign and the products are positive, pushing r up; when they disagree, the products are negative. Because it uses z-scores, r has no units and does not change if you switch units or swap the axes. It captures only linear association, and a single outlier can move it sharply.

correlation coefficient

A number r between −1 and 1 measuring the direction and the tightness of a linear relationship.

Why is this true?

Why can a strongly curved relationship still have r near 0?

Because r measures only how well a straight line fits. If the points bend up and then down, their above-average and below-average parts cancel in the average of z-score products, so the straight-line score lands near zero even though the pattern is strong and real.

02468100246810xyr close to 0.95
PLATE I When the distance of r from 0 nears 1, the points crowd a single line.
VALUE OF RDIRECTIONSTRENGTHr = 1positivea perfect rising liner about 0.7positivestrongr about 0.3positiveweakr = 0noneno linear patternr about −0.8negativestrongr = −1negativea perfect falling line
PLATE II Sign reads direction; distance from 0 reads strength.
Retrieval Gate — answer before you continue 0 / 4

1.A correlation of r = −0.9 tells you what?

2.Which value of r shows the strongest relationship?

3.Match each value of r to what it describes.

r = 1
r = 0
r = −1
r = 0.3

4.You measure people's height in centimeters, then redo it in inches. What happens to r between height and weight?

Where does r come from? Turn every coordinate into a z-score — its distance from the mean in standard deviations, the same conversion you used for the normal curve. For each point, multiply its two z-scores. When both are above average, or both below, the product is positive; when they disagree, it is negative. Average those products and you have r.

both above average (+)both below average (+)matching points push r up
PLATE III Both-above and both-below points give positive products; disagreements pull r down.

Compute r from three points' z-scores — the steps fade as you master them

1
Multiply each point's two z-scores: (−1)(−1), then (0)(0), then (1)(1)
1, 0, 1
2
Add the three products
1 + 0 + 1 = 2
3
Divide by n − 1 = 2
2 ÷ 2 = 1
4
Read the result: what does r = 1 mean?
r = 1: a perfect positive line

Ink That Thinks — guess first; the answer draws itself.
Place six points to make a scatter with a strong negative correlation, about r = −0.9 — sketch your pencil version first.

02468100246810xy
Tap to place each point.
PLATE IV A scatter aimed at r = −0.9 — guess in graphite, truth in ink.
Retrieval Gate — answer before you continue 0 / 4

1.Three points have z-score products of 0.8, 0.2, and 0.5. With n − 1 = 3, what is r?

2.Points form a clear U-shaped curve, falling then rising. The correlation is closest to which value?

3.One point sits far from an otherwise tight cloud. How can it affect r?

4.Explain in one sentence why r has no units.

You now have a number for the lean of a cloud: r, from −1 to 1, sign for direction and size for strength. But r only rates a line — it does not draw one, and it cannot predict. For that you need the line of best fit, which is the next folio.

Practice — new ink and old, interleaved

1.Match each z-score to its meaning.

z = 0
z = +2
z = −1

2.A correlation of r = 0.05 between two variables means what?

3.A data value is 80; the mean is 68 and the standard deviation is 8. What is its z-score?

4.A scatter's points fall steadily from upper left to lower right, close to a line. Describe it.

5.Without looking back: what do the sign and the size of r each tell you?

6.Computing r divides by each variable's standard deviation. What does standard deviation measure?

7.A scatterplot of hours studied (across) and test score (up) has points rising from lower left to upper right. What is its direction?

8.A z-score of −1.5 tells you the value is:

9.The same right-skewed wait times have a mean of 22 minutes and a median of 14. Which is the more honest headline figure for a typical wait?

The Call Slip — search everything Ctrl·K / ⌘K