
Explore causal inference for data science by using the Q&A to ask questions and accessing lecture slides and notes in PDF for derivations and background reading.
Explore the potential outcome framework to identify causal effects from assignment of treatment, comparing treatment and control across subjects, with observed outcomes and average treatment effects.
Identify how to map observed distributions to the parameter of interest and learn pointed and partial identification for treatment effects.
Explain how the data alone reveals bounds on potential outcomes for treated and untreated groups, and why assumptions are needed to infer causal effects.
Random assignment identifies treatment effects by making y1 and y0 independent of treatment, allowing the difference in observed means to equal the average treatment effect.
Explore how selective assignment biases treatment effect estimates, and how the conditional independence assumption uses observed covariates, propensity scores, and regression to identify causal effects.
Apply exclusion restrictions with an instrument that affects treatment choice but not potential outcomes, then bound the treatment effect and consider homogeneous response for point identification.
Layer data with assumptions to identify treatment effects, using random assignment, CIA, and IV bounds, while prioritizing first-principles reasoning over recipes.
Explore dynamic assignment where exposure times vary and subjects experience both treatment and control. Learn how pre-post analyses can mislead without randomization and how covariates identify treatment effects.
Explore panel identification with a two-period dynamic treatment, focusing on switchers and observed outcomes to identify treatment effects under repeated sampling.
Explore the parallel trends assumption in a two-group group assignment to identify the average treatment on the treated using the difference-in-differences approach, with caveats.
Explore monotone trends as a weaker alternative to parallel trends to bound the average treatment effect on the treated using pre-post statistics and data-alone, covariate-conditioned two-sided bounds.
Invite questions on concepts in the course and data science, and propose ideas to add lectures on topics to expand the causal inference curriculum.
The most common question you’ll be asked in your career as a data scientist is: What was/is/will be the effect of X? In many roles, it’s the only question you’ll be asked. So it makes sense to learn how to answer it well.
This course teaches you how to identify these “treatment effects” or "causal effects". It teaches you how to think about identifying causal relationships from first principles. You'll learn to ask:
What does the data say by itself?
What do I know about the world that the data doesn’t know?
What happens when I combine that knowledge with the data?
This course teaches you how to approach these three questions, starting with a blank page. It teaches you to combine your knowledge of how the world works with data to find novel solutions to thorny data analysis problems.
This course doesn't teach a "cookbook" of methods or some fixed procedure. It teaches you to think through identification problems step-by-step from first principles.
As for specifics:
This course takes you through various weak assumptions that bound the treatment effect—oftentimes, the relevant question is just: “Is the treatment effect positive?”—and stronger assumptions that pin the treatment effect down to a single value. We learn what the data alone—without any assumptions—tells us about treatment effects, and what we can learn from common assumptions, like:
Random treatment assignment (Experimentation)
Conditional independence assumptions (Inverse propensity weighting or regression analysis)
Exclusion restrictions (Instrumental variable assumptions)
Repeated Measurement assumptions
Parallel Trends (Difference-in-difference)
And many assumptions you will probably not see in other courses, like:
Monotone instrumental variables
Monotone confounding
Monotone treatment selection
Monotone treatment response
Monotone trends
(Why do they all include “monotone” in the name? The answer to that question is beyond the scope of this course.)
Lectures include lecture notes, which make it easy to review the math step by step. The course also includes quizzes and assignments to practice using and applying the material.
My background: I have a PhD in Economics from the University of Wisconsin — Madison and have worked primarily in the tech industry. I’m currently a Principal Data Scientist, working mainly on demand modeling and experimentation analysis problems—both examples of treatment effect estimation! I am from sunny San Diego, California, USA.
I hope you’ll try the Preview courses and enroll in the full course! I’m always available for Q/A.
-Zach