Goodman-Bacon Decomposition
The Goodman-Bacon decomposition expresses a two-way fixed effects difference-in-differences coefficient under staggered treatment timing as a weighted average of all two-group, two-period comparisons.
Goodman-Bacon 분해는 처치 시점이 다른 이원 고정효과 이중차분 계수를 가능한 모든 2집단·2시기 비교의 가중 평균으로 나타내는 방법입니다.
My policy started at different times in different regions; is my two-way fixed effects DiD estimate driven by problematic comparisons?
지역마다 정책 시행 시점이 다른데, 이원 고정효과 이중차분 추정치가 문제 있는 비교에 끌려간 것은 아닌지 어떻게 확인하나요?
The decomposition splits the TWFE coefficient into comparisons of treated versus never-treated units, earlier versus later-treated units, and later versus already-treated units, each with a weight determined by group sizes and treatment-timing variance. A large weight on comparisons that use already-treated units as controls signals that time-varying effects can bias the TWFE estimate.
When to use Goodman-Bacon Decomposition
- Treatment starts at different times across units and you estimated a TWFE DiD.
- You have a balanced panel with a binary treatment that stays on once adopted.
- You want to check how much the estimate relies on already-treated controls.
When to use something else
- Treatment switches on and off or the panel is unbalanced; use estimators for general designs such as de Chaisemartin-D'Haultfoeuille.
- You need a heterogeneity-robust effect estimate rather than a diagnosis; use Staggered Difference-in-Differences (Callaway-Sant'Anna).
Assumptions and requirements
- Balanced panel without covariates.
- Binary, absorbing treatment.
- Parallel trends for the 2x2 comparisons being interpreted.
What the analysis reports
- TWFE coefficient and its exact reconstruction from the 2x2 estimates
- Table of each 2x2 comparison with estimate and weight
- Total weight and weighted average estimate by comparison type
- Share of weight on already-treated controls
- Bar chart of weight by comparison type
How to report it
The TWFE estimate of [value] decomposed into [value] comparisons; treated versus never-treated comparisons carried [value]% of the weight, and [value]% came from comparisons using already-treated units as controls.
Related methods
- Staggered Difference-in-Differences
- Difference-in-Differences (DiD)
- Event Study Design
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Goodman-Bacon Decomposition on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a unit (entity) ID, a time variable and a treatment indicator
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.