Difference-in-differences — setup and assumption.
hardAnswer
- Compare change in outcome for treated group vs change for control group before and after intervention.
- Estimand: .
- Runs as OLS with unit + time fixed effects and an interaction Treated × Post.
- Key assumption: parallel trends — without treatment, both groups would have evolved similarly.
- Verify with pre-trend tests, event studies, robustness checks.
- Foundational in policy analysis and observational A/B.
Check yourself — multiple choice
- Random
- via OLS with FE + Treated×Post interaction; assumes parallel trends — verify with pre-trends / event studies
- Same as ANOVA
- Not real
DID: FE + Treated×Post; assumes parallel pre-trends; verify with event study.
#causal-inference#quasi-experimental
Practise Statistics Fundamentals
215 interview questions in this topic.