Back to Modeling: Regression and Beyond

Causal Inference Primer — Beyond Correlation

The single biggest leap from analytics to data science. Correlation ≠ causation, and how to reason about WHY. FIND_VIDEO: search 'causal inference confounders DAG' — recommended channel: StatQuest / 3Blue1Brown. Aim for 11 min or under.

7 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.

Ready to continue?

Mark this lesson as complete when you're ready to proceed.

Key moments

  1. Ladder IntroductionThe discussion begins with a question about Judea Pearl's ladder of causation: association, intervention, and counterfactual.
  2. Causal Modeling DifficultyA common confusion is noted: effective causal modeling seems to require prior knowledge of the expected outcome.
  3. Process vs. DataCausality asks you to model the data generating process and state assumptions, rather than just manipulating the data itself.
  4. Rung 1: AssociationLevel one is defined as plain old vanilla statistics and correlation.
  5. Rung 2: InterventionLevel two involves asking 'what if' questions, such as emulating an experiment to determine causal effect.
  6. Rung 3: CounterfactualLevel three questions imagine what might have been different, conditioning on observed facts that contradict the hypothetical.
  7. Defining CounterfactualA counterfactual is defined by the conflict between the hypothetical condition or outcome and the data actually observed.
  8. Role of DAGsAnswering causal questions requires additional causal assumptions, which can often be specified using a Directed Acyclic Graph (DAG).
  9. Beyond DAGsMore complex questions require assumptions beyond DAGs, such as assuming monotonicity in the relationship between variables.
PDF notes

Frequently asked questions

What is the difference between Rung 2 (Intervention) and Rung 3 (Counterfactual)?

Rung 3 is Rung 2 plus conditioning on observed facts that contradict the hypothetical action or outcome. It asks what might have been, given what is.

Why is causal modeling harder in industry than in academia?

In industry, data scientists often have less control over how the data is collected. This makes it challenging to model the data generating process effectively.

What makes a counterfactual question 'counterfactual'?

The hypothetical condition (e.g., taking the vaccine) or the hypothetical outcome conflicts with data that was actually observed.

Can a DAG specify all necessary causal assumptions?

No. While DAGs specify structure, additional assumptions about mechanism, like monotonicity, are often required for complex questions.