Effects you can never see
Define an effect with potential outcomes, and choose among the estimands ATE, ATT, ATO, LATE and CATE.
What runs in CodeSplash
- Doubly robust estimation (AIPW with cross-fitting) Verified in Python and R
- Matching (nearest neighbor, exact, coarsened exact) Verified in Python and R
You will be able to
- Define a causal effect using potential outcomes
- Explain the fundamental problem of causal inference
- Choose the estimand that matches your question
Read first
Two lives, one observed
ReadFor each person, imagine two potential outcomesPotential outcomeWhat a unit's outcome would be under one treatment; you only ever see one of them per unit.: if treated and if not. The effect for that person is the difference between them.
You only ever see one of the two. This is the fundamental problem of causal inference: every effect estimate fills in a missing outcome using other people, and the assumptions tell you which others are fair to use.
Whose average?
ReadSince individual effects are out of reach, you estimate an average. The question is, over whom?
- ATEAverage treatment effectThe average effect if everyone were treated versus no one.: everyone in the population.
- ATTAverage treatment effect on the treatedThe average effect among those who actually received treatment.: those who actually got treated.
- ATO: those who could plausibly have gone either way.
- LATELocal average treatment effectThe average effect among units whose treatment is changed by an instrument or a cutoff.: those whose treatment an instrument or cutoff changed.
- CATEConditional average treatment effectThe average effect among units with given characteristics, used to ask for whom a treatment works.: a subgroup with given characteristics.
Do these answers agree?
PredictPredict first
In a simulated dataset where people who benefit more are more likely to get treated, you estimate both the ATE and the ATT. How do they compare?
Reveal
ATE = 1.90, and ATT = 2.20. Both can be right. They answer different questions about different people.
Choose the estimand
CheckpointCheck yourself
A city asks: "Should we roll this program out to all eligible residents?" Which estimand fits best?
Show the answer
Answer: a
A rollout changes treatment for everyone eligible, so you want the average over all of them.
Check yourself
A company asks: "Was last year's program worth it for the people who took it?" Which estimand fits?
Show the answer
Answer: b
The question is about those who actually took part, which is the effect on the treated.
Check yourself
Why can't you compute for one person?
Show the answer
Answer: b
No amount of data shows the same person both treated and untreated at the same moment. That's why assumptions are unavoidable.
Pick it in the studio
In the appIn Studios, open the Causal studio. On the Question step you name the treatment, outcome and population, then pick an estimand. Each comes with a plain-language description, so you can check it matches what you meant to ask.
Method guide · causal.doubly_robustDoubly robust estimation (AIPW with cross-fitting)What is the average effect of a treatment, combining an outcome model and a propensity model so either one may be wrong?Reflect
ReflectThink of a decision you'd like data to inform. Who would actually have their treatment changed by it? Write that group down: it's your estimand's population.
Recap
Recap- An effect compares two potential outcomes, and you only see one.
- ATE, ATT, ATO, LATE and CATE average over different people, and can all differ.
- Choose the estimand from the decision you face, before you estimate.
Concepts in this lesson