NEW
Also known as: DiD
A quasi-experimental design estimating treatment effects by differencing pre-post changes between treated and control groups.
DESCRIPTION
Difference-in-Differences compares outcome changes over time in treated versus untreated groups, attributing differences to treatment under parallel-trends assumptions. It is widely used with panel data, often implemented via fixed-effects regressions or event studies. Modern methods address staggered treatment timing and heterogeneous effects. Diagnostic plots and robustness checks are critical for credibility.
ALTERNATIVE DEFINITIONS
Wikipedia
Difference in differences is a statistical technique used in econometrics and empirical research that attempts to mimic an experimental research design using observational study data.
Stresses quasi-experimental nature and observational usage.
Scott Cunningham
DiD estimates causal effects by comparing changes in outcomes over time between groups exposed and not exposed to a treatment.
Clear explanation focused on change-over-time comparison.
RELATED TERMS
Parallel Trends Event Study Staggered Adoption Fixed Effects Panel Data Treatment Effect Causal Inference Interrupted Time Series Heterogeneous Treatment Effect
COMPETING TERMS
Synthetic Control Method Regression Discontinuity Design
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist Information Analyst AI Engineer Data Strategy Consultant
EXTERNAL SOURCES
- Wikipedia - Difference in differences
- Scott Cunningham - Comprehensive DiD chapter with code
- Callaway & Sant’Anna - Staggered DiD methods and software
- MIT Economics - Mostly Harmless resources on DiD
TOP QUESTIONS
What is the key assumption in Difference-in-Differences?
Parallel trends: absent treatment, treated and control groups would have followed similar outcome trends.
Category: Requirements
How is DiD typically implemented?
Using fixed-effects regressions or event study specifications on panel data.
Category: Practicality
What are common mistakes in DiD?
Ignoring staggered adoption issues or heterogeneous effects, and failing to test pre-trend plausibility.
Category: Mistakes
When to prefer DiD?
When credible untreated comparison groups exist and policy or product changes create natural before–after contrasts.
Category: Application
How does DiD compare to Synthetic Control?
Synthetic control builds a weighted counterfactual; DiD relies on parallel trends with explicit control groups.
Category: Alternatives
What risks exist in DiD studies?
Violation of parallel trends or interference between units can bias estimates.
Category: Risks
What is an event study in DiD?
A specification assessing dynamic effects around treatment timing and checking pre-trends.
Category: Definition
How to diagnose DiD validity?
Plot pre-trends, test robustness with alternative specifications, and check group composition stability.
Category: Practicality
Is DiD still evolving?
Yes, recent methods address staggered timing and heterogeneous treatment effects with improved estimators.
Category: Topic