By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Correlation measures how two variables move together, while causation means one variable directly affects another. You use this distinction to avoid false conclusions in data analysis, business decisions, and research—preventing costly mistakes like assuming ice cream sales cause drowning (both rise in summer, but one doesn’t cause the other).
Misinterpreting correlation as causation leads to: - Wasted resources: Marketing teams spend on ads that seem effective but don’t drive sales.- Bad policies: Governments enact laws based on flawed data (e.g., "more police reduce crime" when both are caused by economic growth).- Failed products: Startups build features users correlate with satisfaction but don’t cause it.
Hidden factors that influence both variables, creating a false link.- Example: "Shoe size correlates with reading ability" (confounder: age—older kids have bigger feet and read better).- How to spot them: Ask, "What else could explain this pattern?"
Random or meaningless correlations that appear significant by chance.- Example: "Divorce rate in Maine correlates with margarine consumption" (no logical connection).- Why they happen: With enough data, some variables will accidentally align.
When the effect is mistaken for the cause.- Example: "People with more stress have worse health" (does stress cause poor health, or does poor health cause stress?).- How to test: Use experiments or longitudinal data to observe the order of events.
The gold standard for proving causation.- Randomized Controlled Trials (RCTs): Split subjects into treatment/control groups randomly (e.g., A/B tests in marketing).- Natural Experiments: Exploit real-world events (e.g., policy changes) to isolate effects.
=CORREL(A2:A100, B2:B100)
python # Python example: Control for age in a regression import statsmodels.api as sm X = df[['coffee_consumption', 'age']] # Independent variables y = df['longevity'] # Dependent variable X = sm.add_constant(X) # Adds intercept term model = sm.OLS(y, X).fit() print(model.summary())
coffee_consumption
pandas
statsmodels
tidyverse
Goal: Test if education causes higher income or if a confounder (e.g., parental wealth) explains both.
import pandas as pd df = pd.read_csv("income_education.csv") # Columns: income, education_years, parental_income
print(df.corr())
Output:
income education_years parental_income income 1.000 0.650 0.720 education_years 0.650 1.000 0.580 parental_income 0.720 0.580 1.000
import statsmodels.api as sm X = df[['education_years', 'parental_income']] y = df['income'] X = sm.add_constant(X) model = sm.OLS(y, X).fit() print(model.summary())
coef std err t P>|t| const 15000.0 2000.0 7.500 0.000 education_years 3000.0 500.0 6.000 0.000 parental_income 0.8 0.1 8.000 0.000
scipy
causalImpact
A study finds that cities with more firefighters have higher fire damage. Which is the most likely explanation? A) Firefighters cause more fires.B) Cities with more fires hire more firefighters.C) A third factor (e.g., city size) causes both.D) The correlation is spurious.
Correct Answer: B (Reverse causality: more fires → more firefighters).Explanation: The number of fires likely drives the number of firefighters, not the other way around.Why the Distractors Are Tempting: - A: Plausible if you assume firefighters are negligent (but no evidence).- C: City size could be a confounder, but the question asks for the most likely explanation.- D: Possible, but less likely than reverse causality in this context.
A company runs an A/B test: Group A sees a new website design, Group B sees the old one. Group A has 20% higher sales. What can you conclude? A) The new design caused the sales increase.B) The new design is correlated with sales.C) The result is likely spurious.D) The test proves causation because it’s randomized.
Correct Answer: D (Randomization isolates the effect of the design).Explanation: A/B tests with random assignment can prove causation by eliminating confounders.Why the Distractors Are Tempting: - A: True, but the question asks what you can conclude (D is more precise).- B: Correlation is weaker than causation (randomization strengthens the claim).- C: Unlikely if the sample size is large and randomization was proper.
A researcher finds that ice cream sales and drowning deaths are correlated. What’s the best next step to test causation? A) Run an experiment banning ice cream near pools.B) Control for temperature in a regression model.C) Survey swimmers about their ice cream habits.D) Conclude that ice cream causes drowning.
Correct Answer: B (Control for temperature, the likely confounder).Explanation: Hot weather increases both ice cream sales and swimming (→ drowning risk).Why the Distractors Are Tempting: - A: Unethical and impractical (banning ice cream won’t isolate the effect).- C: Surveys introduce bias (people may not recall accurately).- D: Jumping to conclusions without testing.
causalml
CausalImpact
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.