Correlation vs Causation
Learn why two variables that rise and fall together do not always cause each other, and how scientists actually prove cause and effect.
Intermediate25 min18 problems
Definition
Correlation means that two variables tend to change together: when one goes up, the other tends to go up (positive correlation) or down (negative correlation). Causation means that a change in one variable actually *produces* a change in the other.
Even a very strong correlation, such as , does not prove that causes . When two variables are correlated, there are four possible explanations:
- 1. causes ** (causation): more hours of practice lead to a better free-throw percentage.
- 2. causes ** (reverse causation): the cause runs the other way around.
- 3.A third variable causes both (a confounding variable, also called a lurking variable): hot weather raises both ice cream sales and sunburn cases.
- 4.Coincidence (a spurious correlation): the pattern appeared by chance.
A correlation alone cannot tell these four apart. To show cause and effect, scientists use a randomized controlled experiment: they split the subjects into a treatment group and a control group by chance, change only one thing, and compare the results. To compare groups of different sizes, compare their rates:
Try it now
In a beach town, ice cream sales and sunburn cases have a very strong positive correlation. Which explanation is most likely?
Interactive Visual
Scatter Plot
Ice cream sales vs sunburn cases (made-up data, 8 summer weeks, labels = average temperature)
ŷ = 1.47x − 1.01
r = 0.998 · strong positive correlation
Tap a point to see its coordinates.
Scatter Plot
The confounding variable: temperature vs ice cream sales
ŷ = 0.75x − 7.63
r = 0.997 · strong positive correlation
Tap a point to see its coordinates.
Bar Chart
Randomized experiment: share of each group that caught a cold
Vitamin(9%)
Placebo(15%)
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsProblem 1 of 18
Easy
In a beach town, ice cream sales and sunburn cases have a very strong positive correlation. Which explanation is most likely?
Glossary
- Causation
- A relationship in which a change in one variable actually produces a change in another variable
- Confounding variable (lurking variable)
- A third variable that affects both variables being studied and can create a correlation between them
- Reverse causation
- When the variable thought to be the effect is really the cause
- Spurious correlation
- A correlation that appears by coincidence or because of a hidden variable, not because of a real cause
- Randomized controlled experiment
- A study in which subjects are assigned to a treatment group or a control group by chance, so the groups differ only in the treatment
- Placebo
- A pill or treatment with no active ingredient, given to the control group so that both groups have the same experience
Formula Card
Rate in a group
Turns counts into percents so groups of different sizes can be compared
Difference of two rates
Measured in percentage points; in a randomized experiment it estimates the effect of the treatment
Expected chance correlations
How many strong-looking correlations appear by pure luck when many unrelated pairs are tested