STAT 101
M11 · L03
Module 11

Causal Inference

Correlation is easy to measure. Causation is hard to prove. How do we answer “does X cause Y?” — especially when we cannot run an experiment?

01 / 13
STAT 101
M11 · L03
The Core Distinction

Correlation vs. Causation

Ice cream sales correlate with drowning deaths. Hot weather drives both. Correlation is symmetric — causation is directional and requires intervention.

Key idea
Causal: changing X would change Y. Correlation alone cannot tell us this.
02 / 13
STAT 101
M11 · L03
The Central Problem

Confounding Variables

A confounder influences both treatment and outcome, creating a spurious association. It is the primary obstacle to causal inference from observational data.

  • Lighter carriers → lung cancer (confound: smoking)
  • HRT users → less heart disease (confound: health status)
  • Shoe size → reading ability (confound: age)
03 / 13
STAT 101
M11 · L03
A Shocking Result

Simpson’s Paradox

A trend that appears within every subgroup reverses when data is combined. Not a mistake — it reveals a confounder you ignored.

Doctor A (hard cases)
Better per type
Doctor A (overall)
Looks worse
04 / 13
STAT 101
M11 · L03
Gold Standard

The RCT

Randomized Controlled Trials eliminate confounding by design. Random assignment makes treated and control groups comparable on all variables — measured and unmeasured.

Why it works
Randomization severs the link between confounders and treatment assignment.
05 / 13
STAT 101
M11 · L03
The Framework

Average Treatment Effect

Each unit has two potential outcomes: Y(1) under treatment, Y(0) under control. We observe only one. The ATE averages their difference.

Average Treatment Effect
\text{ATE} = E[Y(1) - Y(0)]
06 / 13
STAT 101
M11 · L03
Observational Studies

Propensity Scores

The probability of treatment given covariates. Matching on the propensity score collapses high-dimensional covariate adjustment to one number.

Propensity Score
e(X) = P(T = 1 \mid X)
07 / 13
STAT 101
M11 · L03
Three Ways to Use It

PS Methods

Once estimated, the propensity score can be used in three ways. All require the ignorability assumption: no unmeasured confounders.

  • Matching — pair units with similar scores
  • Stratification — bin by score, estimate within each bin
  • IPW — weight by inverse of propensity score
08 / 13
STAT 101
M11 · L03
Quasi-Experiment

Difference-in-Differences

Compare the change over time in a treated group to the change in a control group. Removes time-invariant confounding without requiring randomization.

Classic example
Card & Krueger 1994: NJ minimum wage vs. PA (no change). Found no employment drop.
09 / 13
STAT 101
M11 · L03
DiD Assumption

Parallel Trends

DiD requires that, without treatment, both groups would have followed the same trend. Untestable directly — but pre-treatment parallel trends provide supporting evidence.

Before — both groups trend parallel
Treatment — one group receives intervention
After — divergence = causal effect
10 / 13
STAT 101
M11 · L03
Unmeasured Confounders

Instrumental Variables

An instrument Z shifts treatment “as if” at random. IV estimates the causal effect even when confounders are unmeasured — if the instrument is valid.

  • Relevant — Z correlated with T
  • Exclusion — Z affects Y only through T
  • Exogenous — Z independent of unmeasured confounders
11 / 13
STAT 101
Knowledge Check

Check what stuck

Four questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

12 / 13
STAT 101
Summary
Recap

What you learned

Confounders create spurious associations. RCTs eliminate them by design. Propensity scores, DiD, and IV approximate experiments when randomization is impossible.

Module 11 Complete
Experimental Design ✓
13 / 13