Correlation: What It Means and What It Doesn't
Correlation is a way of describing how two measured things move together. If you record two variables for the same set of subjects — height and weight, hours studied and exam score, outside temperature and heating bills — correlation asks a simple question: when one of them is above its average, is the other one usually above its average too, usually below, or neither in particular?
The coefficient
The usual measure is a single number, written r, that runs from -1 to 1. A positive value means the two variables tend to rise and fall together; a negative value means one tends to go up as the other goes down. A value near zero means there is no consistent straight-line relationship. The size tells you how tightly the points hug a line, not how steep that line is: correlation has no units and no direction of its own, so a strong correlation can come from a shallow relationship and a weak one from a dramatic slope.
What the number can hide
Read more
The single most useful habit is to look at the data before you trust the summary. A scatterplot takes a moment to draw and routinely overturns what the coefficient seems to say.
- Four datasets can share the same correlation and look nothing alike — curved, flat with one extreme point, or a cloud with a stray outlier at the edge.
- Correlation measures straight-line association. A perfect curved relationship, like the arc of a thrown ball, can produce a coefficient near zero.
- A single unusual observation can pull r strongly in either direction. Check what happens when you set it aside.
- A narrow range of values flattens correlation. Restrict yourself to tall adults only and height and weight look far less related than they really are.
- Small samples produce unstable numbers. A striking coefficient from a handful of cases may not survive more data.
Correlation is not causation
Two variables can correlate because one causes the other, because the second causes the first, or because a third factor drives both. Ice cream sales and drowning incidents rise together, and neither causes the other — hot weather does. When groups are pooled, an association can even reverse direction once you separate them, which is why it pays to ask what else might be lumped together.
For beginners, three habits carry most of the weight: plot first, report the sample size alongside the coefficient, and describe what you found as association rather than effect. Correlation is a good first question about a dataset, not the last word on it.