Correlation Is Not Causation
Two things can move together without one causing the other. Learn the three reasons why and how economists find real causes.
Key takeaways
- Correlation measures how closely two variables move together, on a scale from −1 to +1.
- A strong correlation can arise from causation, reverse causation, a hidden third factor, or plain coincidence.
- A causal claim means: if we changed X and nothing else, Y would change.
- Randomized experiments are the cleanest way to find causes because chance breaks the link to hidden factors.
- When experiments are impossible, economists use natural experiments and careful statistical controls, which later lessons explain.
Here is a fact that is true in many towns: on days when more ice cream is sold, more people get sunburned. Should the mayor ban ice cream to protect skin?
Of course not. Everyone sees the trick. Hot, sunny days make people buy ice cream, and hot, sunny days also burn people. Ice cream and sunburn move together, but neither pushes the other. The sun is pulling both strings.
That example is easy because we already know the answer. Real economic questions are harder, because the hidden string-puller is not obvious. This lesson gives you the three ways a pattern can fool you and the main ways economists work around them. It builds on What Econometrics Is For, where we met the idea of a causal effect.
What correlation measures
Correlation is a number that says how tightly two variables move together in a straight-line way. Its symbol is r. A value of +1 means they rise and fall in perfect step. A value of −1 means one rises exactly as the other falls. A value near 0 means no straight-line pattern.
Correlation says nothing about why the pattern exists. It is a description. It is a good one, and a necessary first look, but it is not a verdict.
Worked example: computing r
Suppose a beach town records five summer days. For each, it notes the ice cream cones sold (in hundreds) and the number of sunburn cases at the first-aid tent.
Day: 1 2 3 4 5
Cones (x): 1 2 3 4 5
Sunburns (y): 2 4 5 4 5 Step 1: find the averages. Mean of x = (1+2+3+4+5) ÷ 5 = 3. Mean of y = (2+4+5+4+5) ÷ 5 = 20 ÷ 5 = 4.
Step 2: for each day, find how far x and y sit from their averages, then multiply the two gaps.
Day x−3 y−4 product (x−3)² (y−4)²
1 −2 −2 4 4 4
2 −1 0 0 1 0
3 0 1 0 0 1
4 1 0 0 1 0
5 2 1 2 4 1
Sum: 6 10 6 Step 3: correlation r = sum of products ÷ √(sum of x squares × sum of y squares) = 6 ÷ √(10 × 6) = 6 ÷ √60 = 6 ÷ 7.746 ≈ 0.77.
A correlation of 0.77 is strong and positive. More cones, more sunburns. Yet cones do not burn skin.
Five days, r ≈ 0.77. The trend line is for the eye only.
Reason 1: a hidden third factor
The ice cream story is the most common trap, called a confounder: a third variable that affects both of the things you are comparing. When a confounder exists, the two variables can be correlated even if neither has any effect on the other.
A confounder creates a correlation with no cause between the two things.
Economic data is full of confounders. Cities with more police also have more crime. Does policing cause crime? More likely, cities with high crime hire more police, and that points to our second reason.
Reason 2: the arrow runs the other way
Sometimes X really is connected to Y, but Y is the one doing the causing. This is reverse causation. People who visit the doctor more often are less healthy than people who rarely go. That does not mean doctors make you sick. Sick people go to doctors.
In economics, a classic puzzle is the link between a country's debt and its growth. Do high debts slow growth? Or do slow-growing economies collect less tax and so pile up debt? Both could be true at once, and the raw correlation cannot sort them out. The lesson on Simultaneity and Reverse Causation returns to this in depth.
Reason 3: pure coincidence
If you search through enough pairs of variables, some will line up by luck. Over a few years, the number of films a particular actor appears in might happen to track the number of bakeries opening in a state. With few data points and thousands of possible pairs, chance produces impressive-looking correlations.
Time makes this worse. Two series that both drift upward over the years, such as total sales of anything and the population, will correlate strongly just because both grow. Always ask whether a pattern would survive in a fresh set of data. If you found it by hunting, it often will not.
What would settle it: the counterfactual
To know whether X causes Y, we want to compare two worlds that are identical except for X. One world has the treatment. The other, called the counterfactual, does not. The difference in Y between the two worlds is the causal effect.
The trouble is that we only ever live in one world. Dev's bike shop either ran the helmet promotion that spring or it did not. We cannot rewind and see the other branch. Causal inference is the craft of building a believable stand-in for that missing world.
The gold standard: randomization
The cleanest stand-in is a randomized experiment. Suppose a school wants to know if free tutoring raises test scores. It takes 200 students who signed up and flips a coin for each: heads get tutoring, tails do not. Because a coin decides, the two groups should be alike on average in motivation, family income, and everything else, including things nobody measured. Any later gap in scores can then be credited to tutoring, plus some random noise.
Randomization works because chance cannot be secretly connected to a hidden factor. It breaks the confounder's grip. Economists have run such experiments on job training, health insurance, cash payments and school choice. They are powerful but often expensive, slow or ethically impossible. You cannot randomly assign some towns to have a recession.
When you cannot run an experiment
Most economic questions have to be answered with observational data. Several approaches help:
- Natural experiments. Sometimes the world randomizes for us. A lottery for school seats, a sudden law that applies on one side of a state border but not the other, or a draft lottery can create groups that differ only by chance or by a rule. Researchers study the before and after, or the two sides.
- Controlling for other factors. Measure the likely confounders and use regression to compare units that are alike on them. This is the heart of Multiple Regression and Holding Things Constant. It only works for factors you can measure.
- Using timing and logic. A cause must come before its effect. And a good theory should predict other patterns too, which you can check.
None of these is perfect. Each one rests on assumptions you must state and defend. Honest research says which assumptions it is making.
A common mistake: "controlling" for everything
Newcomers sometimes think the fix is to add every variable they can find. But adding the wrong variable can create a false pattern or erase a real one. A variable that lies between a cause and its effect, for example, can hide the very effect you are after. Choosing what to include is a thinking problem, not a button to press. The lesson on Choosing Which Variables to Include works through it.
A second common mistake runs the other way: concluding "correlation is not causation, so the data tell us nothing." That goes too far. Correlation is often the first clue. It tells you where to look, and when combined with good design and sound theory, it can support a causal claim. The slogan means "do not stop at correlation," not "ignore it."
Why the slogan matters in real life
These errors have real costs. If a city notices that neighborhoods with more parks have higher home prices, it might build parks hoping to lift prices. But wealthy neighborhoods may simply have both: they can afford parks, and they have high prices for many reasons. A park program could spend millions and move prices very little.
In the other direction, a drug or a job-training program may look useless in raw data because the people who sign up are the sickest or the hardest to employ. The program's help is hidden behind who chose it. In both cases, the lesson is that the way people end up in a group matters as much as the numbers inside it. Whenever you hear "people who do X are more Y," stop and ask who chooses X.
A checklist for any claim
When someone says "X causes Y," ask four short questions:
- Could Y be causing X instead?
- Is there a third factor that could be driving both?
- Could this be a coincidence from a small sample or from trends over time?
- Is there an experiment, or something close to one, behind the claim?
If the answer to the first three is "possibly" and to the last is "no," treat the claim as a suggestion, not a fact.
Words to know
Correlation a number from −1 to +1 showing how closely two variables move together in a straight-line pattern.
Confounder a third variable that affects both the cause and the outcome and can create a false link.
Reverse causation a situation where the outcome actually affects the supposed cause, not the other way around.
Counterfactual what would have happened to the same people or places without the treatment.
Randomized experiment a study in which chance decides who gets the treatment, so groups differ only by luck.
Natural experiment a real-world event or rule that sorts people into groups in a way that is close to random.
Spurious correlation a pattern between two variables that comes from coincidence or a hidden factor, not a real link.
Check yourself
- What does a correlation of −1 mean?
- Give two reasons, other than a direct cause, why ice cream sales and sunburns might correlate.
- Using the table in this lesson, check the arithmetic: what is the sum of the products of the gaps, and what do you get for r if the sums of squares are 10 and 6?
- Explain why a coin flip assigning tutoring makes the comparison fair.
- Cities with more firefighters have more fire damage. Name the most likely explanation and the type of error involved.
- Why can we never directly observe a causal effect for one person or one shop?
Show the answers
- The two variables move in exactly opposite directions: when one rises, the other falls by a perfectly matching amount.
- Hot weather (a confounder) drives both, or the match is coincidence from only a few days of data.
- The products sum to 4 + 0 + 0 + 0 + 2 = 6, and r = 6 ÷ √(10 × 6) = 6 ÷ 7.746 ≈ 0.77.
- Chance makes the two groups alike on average in all traits, measured or not, so a score gap can be credited to tutoring.
- Big fires cause cities to send more firefighters, which is reverse causation (also, bigger cities have both).
- We only see one outcome, with or without treatment, never both, so the counterfactual must be estimated.