01 / 21
?

Correlation vs.
Causation

Learn to distinguish between statistical relationships and true cause-and-effect, and discover why confounding variables can trick even the best analysts.

Business Analytics

What Is Correlation?

Correlation measures the strength and direction of a linear relationship between two variables. The correlation coefficient \( r \) ranges from \( -1 \) to \( +1 \).

\( r = +1 \)
Perfect positive: as \( X \) rises, \( Y \) rises proportionally.
\( r = 0 \)
No linear relationship between the two variables.
\( r = -1 \)
Perfect negative: as \( X \) rises, \( Y \) falls proportionally.

Visualizing Correlation Strength

\( r \approx 0.95 \) Strong Positive \( r \approx 0.3 \) Weak Positive \( r \approx 0 \) No Correlation

What Is Causation?

Causation means that a change in variable \( X \) directly produces a change in variable \( Y \). Establishing causation requires more than observing a pattern: it demands evidence of a mechanism and control of other factors.

1
Temporal precedence: The cause must come before the effect in time.
2
Covariation: Changes in \( X \) are associated with changes in \( Y \).
3
No alternative explanations: Confounders and lurking variables have been ruled out.

The Golden Rule

Correlation \( X \) and \( Y \) move together ≠ Causation \( X \) produces change in \( Y \) Correlation does NOT imply Causation

Just because two variables are statistically associated does not mean one causes the other. The relationship could be driven by a confounding variable, reverse causation, or simple coincidence.

The Confounding Problem

Confounder \( Z \) Variable \( X \) Variable \( Y \) Spurious correlation

A confounding variable \( Z \) influences both \( X \) and \( Y \), creating a spurious correlation between them. Without accounting for \( Z \), you might wrongly conclude \( X \) causes \( Y \).

Classic Example: Ice Cream & Drowning

Hot Weather (Confounder) Ice Cream Sales Drowning Rate \( r \approx 0.85 \) but NO causal link

Three Types of Relationships

Direct Causation
\( X \) directly produces a change in \( Y \). Example: exercising more lowers resting heart rate.
Reverse Causation
\( Y \) actually causes \( X \), but we mistakenly assume the opposite direction.
Spurious Correlation
A hidden confounder \( Z \) causes both, creating a pattern that is entirely misleading.

How to Test for Causation

1
Look for consistent association: Is the correlation replicated across multiple studies and datasets?
2
Check temporal order: Does \( X \) reliably precede \( Y \) in time?
3
Control for confounders: Use regression, stratification, or matching to isolate the effect of \( X \).
4
Run an experiment: A randomized controlled trial (RCT) is the strongest evidence for causation.
5
Identify the mechanism: Is there a plausible explanation for how \( X \) causes \( Y \)?

Example 1: Ad Spend & Revenue

Ad Spend ($K) Revenue ($K) 10 20 30 40 50 50 100 150 200 250 \( r = 0.97 \)

Example 2: Firefighters & Damage

Data shows a strong positive correlation between the number of firefighters sent to a fire and the total property damage. Does sending more firefighters cause more damage?

Fire Severity (Confounder) Firefighters Sent Property Damage Spurious: larger fires require more firefighters AND cause more damage

Example 3: Shoes in Bed & Headaches

A survey finds that people who sleep with their shoes on are much more likely to wake up with a headache. Strong correlation: \( r = 0.82 \).

Observed
Sleeping in shoes is correlated with headaches.
Confounder
Heavy alcohol consumption causes people to pass out in their shoes AND causes headaches.

Spurious Correlations in the Wild

With enough variables and time periods, you can find statistically significant correlations between completely unrelated things. These illustrate why data mining without hypothesis testing is dangerous.

Nicholas Cage Films
Number of films correlates with swimming pool drownings (\( r \approx 0.67 \)).
Cheese Consumption
Per capita cheese consumption correlates with deaths by bedsheet tangling (\( r = 0.95 \)).
Divorce in Maine
Divorce rate in Maine correlates with per capita margarine consumption (\( r = 0.99 \)).

Why This Matters in Business

1
Marketing decisions: Spending millions on a campaign that was correlated with sales growth but didn't actually cause it wastes budget.
2
Product development: A feature correlated with user retention may not be the reason users stay; removing it might have no effect.
3
Hiring and HR: If college GPA correlates with performance, it could be that motivated people pursue both, not that grades cause performance.
4
A/B testing: Companies like Google and Amazon run controlled experiments to isolate causation before making product changes.

Common Mistakes

✕ Assuming Causation from Data
Seeing a strong \( r \) and immediately concluding \( X \) causes \( Y \) without considering confounders.
✕ Ignoring Direction
Assuming \( X \to Y \) when the true direction might be \( Y \to X \) (reverse causation).
✕ Data Dredging
Testing hundreds of variable pairs and reporting only the significant ones: guaranteed to find spurious patterns.

Comparison Summary

Correlation Causation
Definition Statistical association Direct cause-effect link
Measured by \( r \) (coefficient) Experiments / RCTs
Direction Symmetric (\(X \leftrightarrow Y\)) Asymmetric (\(X \to Y\))
Confounders May be hidden Must be controlled
Evidence strength Weak (observational) Strong (experimental)
Business use Hypothesis generation Decision making

Question 1 of 5

A study finds that cities with more police officers tend to have higher crime rates. Which is the most likely explanation?

Question 2 of 5

Which research design provides the strongest evidence for a causal relationship between two variables?

Question 3 of 5

A marketing team finds that customers who read the company blog buy 40% more product than those who don't. They conclude the blog causes higher purchases. What is the most critical flaw in this reasoning?

Question 4 of 5

A researcher finds \( r = -0.92 \) between hours of sleep and stress levels. Which statement is most accurate?

Question 5 of 5

In the statement "correlation does not imply causation," which of the following best describes what a confounding variable does?