What problem does it solve?
This Skill provides a comprehensive toolkit for conducting event studies and difference-in-differences (DiD) analyses, enabling you to estimate dynamic treatment effects and diagnose potential issues in panel data.
Core Features & Use Cases
- Event Study Plots: Generate publication-quality plots showing treatment effects over time relative to an event.
- Robust DiD Estimators: Implement modern methods (Callaway & Sant'Anna, Sun & Abraham, etc.) that handle staggered treatment timing and heterogeneous effects.
- Diagnostics: Perform pre-trend tests, placebo checks, and sensitivity analyses to validate your findings.
- Use Case: Analyze the impact of a new policy rolled out across different regions at different times, visualizing the dynamic effects and ensuring the parallel trends assumption holds.
Quick Start
Use the event-study skill to create an event study plot for the 'outcome' variable using 'treat_year' as the treatment timing and 'unit_id' and 'year' for panel structure.