differenceindifferences
Difference-in-differences (DiD) is a quasi-experimental econometric method used to estimate causal effects of policies or interventions. It compares changes in an outcome over time between a treatment group that experiences the intervention and a control group that does not, aiming to isolate the policy’s impact from common trends affecting both groups.
Implementation relies on panel data across units and time. A common specification regresses the outcome on
Key identification assumption is parallel trends: in the absence of treatment, treated and control groups would
Inference and extensions: standard errors should be clustered at the experimental unit level to account for