Module 10 · Correlation Isn’t Causation

How strongly do two things move together?

Lesson 10.2 · How Tight Is It?

Rosa

Tilted and tight, or tilted and foggy? There’s a number for that.

Rosa draws a second scatterplot: minutes of homework against hours of sleep.

The dots tilt down, but they’re loose, more fog than line. Owen’s rebounds chart was tighter.

Rosa wants a number for “how tight.”

The short answer

Correlation coefficient: The correlation coefficient, written r, runs from −1 to 1. Near 1: the dots rise together in a tight line. Near −1: one falls as the other rises, tightly. Near 0: a shapeless cloud. It measures the strength and direction of a straight-line relationship, and nothing else.

Try it yourself

Look at the cloud and guess how tightly the dots hug a line, from 0 (no relationship) to 1 (a perfect line). Then reveal the real number.

Hours of practice vs Free throws made (of 20)

What you just did has a name

Correlation coefficient

The correlation coefficient, written r, runs from −1 to 1.

Near 1: the dots rise together in a tight line. Near −1: one falls as the other rises, tightly. Near 0: a shapeless cloud.

It measures the strength and direction of a straight-line relationship, and nothing else.

A few more things

Sign is direction, size is tightness

Positive r means up-and-to-the-right. Negative means down. An r of 0.9 is a tight line, 0.3 is a loose tilt, 0 is fog. Height and rebounds in the NBA sits somewhere around 0.5: a real tilt, plenty of fog.

Strong isn’t the same as big

A correlation can be near 1 while the effect is tiny, if the line is nearly flat. r says how well the dots fit a line, not how steep the line is. The slope from Module 15 handles steep.

It only sees straight lines

Dots in a perfect U shape can have an r of zero. They’re obviously related, just not in a straight line. Always look at the plot before trusting the number.

Go deeper

The longer version, if you want it.

What r computes

For each dot, measure how far its x sits from the average x and how far its y sits from the average y, in units of their standard deviations. Multiply the two, average over all dots. Dots that are above average on both (or below on both) push r up; dots above on one and below on the other push it down. That’s Pearson’s correlation coefficient.

Squared, r becomes the share of one variable’s variation that a straight line on the other accounts for. An r of 0.7 means a line explains about half. That r-squared number is the one you’ll see under regression lines in Module 15.

Quick check

Three scatterplots. A has r = 0.2. B has r = −0.85. C has r = 0.6. In which one do the dots hug a straight line most tightly?

Let’s take it slower

Here’s a rule of thumb: the sign tells you which way the dots lean, and the size tells you how much to trust a ruler laid through them. Picture setting a ruler across the cloud. If nearly every dot sits close to it, r is near 1 or near −1. If the dots spray all around it, r drifts toward 0. Plus means the ruler tilts up as you move right, minus means it tilts down. Two things r never tells you: how steep the ruler is, and why the dots line up at all.

More examples

1

Temperature and the heating bill

Plot each month’s average outdoor temperature against the gas bill. The dots run downhill in a tight line, r somewhere around −0.9. Colder month, bigger bill, almost no exceptions. Strong and negative at the same time.

2

Jersey number and points

Plot every player in the league by jersey number and points per game. A round blob, r close to 0. Number 23 doesn’t score more because it’s 23. When r is near zero and the plot is a blob, there’s nothing there.

Back to the question

So how tight is it?

Show the answer

Practice and free throws, in Rosa’s made-up example, come out around 0.9: a strong, tight relationship. Homework and sleep were more like −0.3: a real tilt downward, mostly fog. The number says how much to trust the tilt. It says nothing about why.

More on this: Correlation vs. causation: what’s the difference?

One last question

Owen reads correlation numbers. Trust his readings?

“r = 0.9 means the dots hug a rising line pretty tightly.”

“r = 0 means the two things have nothing to do with each other.”

“r = −0.8 means one goes up when the other goes down, fairly tightly.”

Talk Card

Talk Card · 10.2

Correlation, r, measures how tightly dots hug a straight line, from −1 to 1. It says how strong a relationship is, not why it exists.

Data to AI · pettigrewlab.com/learn

Next lesson