Causal Inference
Event Study Plot in Python for Staggered Difference-in-Differences
Build an event-study plot for a staggered rollout in Python, see why a two-way fixed effects regression gives distorted leads and lags, and fix it with clean never-treated comparisons.