Staggered difference-in-differences (economics)
A fork of the empirical template for policy evaluations with staggered adoption: it adds a pre-trend check and requires a heterogeneity-robust estimator when treatment timing varies.
Where it sits
left: what it builds on · right: what builds on it · pale: exampleBy Tomás Reyes (example)
How studies reach it
- Mobile money and household savings in… → Staggered difference-in-differences (…Example
- Data-sharing mandates and hospital IT… → Staggered difference-in-differences (…Example
- Pay transparency laws and the gender … → Staggered difference-in-differences (…Example
- Procurement transparency and the numb… → Staggered difference-in-differences (…Example
- Minimum wages and the adoption of sel… → Staggered difference-in-differences (…Example
- Minimum wage increases and teen emplo… → Staggered difference-in-differences (…Example
and 3 more
Disciplines it reaches
Solid: published studies. Light: examples.
Computed from the records on this site: what each study, template and specialist names as used, which study extends which, and who authored what. 9 studies in total.
- Input
- A research question, a unit-by-period panel with treatment dates, and your literature
- Output
- A draft paper with event-study figures, a replication package and a dossier
- At the end
- When any run ends, e2er builds the PDF, writes the audit trail and the structured export, and pushes to GitHub if you set that up.
Steps
Greyed steps do not run in the selected mode.
- 1 specialistsDesign, data, estimation and draftPlans the paper and dispatches specialists for the literature, data, identification strategy, econometric specification, analysis and drafting.
- 2 checkStaggered timing checkIf treatment dates vary across units, the specification must use a heterogeneity-robust estimator. Halts otherwise.
- 3 specialistsImprove until it stops getting betterFurther rounds of the strategist, revisiting design and analysis.
- 4 checkEstimation checkChecks the estimation against the specification declared before it ran. Halts the run on failure.
- 5 checkPre trend checkEstimates leads in an event study and reports the joint test of pre-period coefficients. Records the result; halts when the declared threshold is crossed.
- 6 specialists
- 7 specialists, parallelPolishFive specialists polish formulas, numbers, institutional detail, equilibria and the bibliography.
- 8 reviewers, parallelReview panelNumbers and citations are checked first. Six reviewers (mechanism, technical, literature, data, identification, writing) then score the draft.
- 9 specialistsRevisionRevises the draft in response to the reviews, as a full revision and as targeted edits.
- 10 specialists
Technical details
Template id did-staggered-panel.
| Step | Id in the template file | Specialists |
|---|---|---|
| 1. Design, data, estimation and draft | initial | idea_developer, literature_scanner, data_architect, identification_strategist, econometrics_specialist, data_analyst, paper_drafter |
| 2. Staggered timing check | staggered_timing_check | |
| 3. Improve until it stops getting better | iterative | |
| 4. Estimation check | estimation_gate | |
| 5. Pre trend check | pre_trend_check | |
| 6. Self-critique | self_attack | self_attacker |
| 7. Polish | polish | polish_formula, polish_numerics, polish_institutions, polish_equilibria, polish_bibliography |
| 8. Review panel | review | mechanism_reviewer, technical_reviewer, literature_reviewer, data_reviewer, identification_reviewer, writing_reviewer |
| 9. Revision | revision | revisor, patch_revisor |
| 10. Replication package | replication | replication_packager |
At the end (finalize): compile, audit_export, github_push, structured_export. Modes: single_pass, iterative.
More
A fork of the empirical study template. It keeps every step and check of the original and adds the design-specific checks marked below. Skills it loads: Difference-in-Differences, Financial Event Studies, Panel Data Methods.
Description
Data model- Discipline
- Economics
- Method family
- Empirical (quantitative)
- Design
- Difference-in-differencesEvent studyPanel fixed effects
- Research stage
- Research designData analysisDraftingReview
- Authors
- Tomás Reyes (Methodology, Software)
- Usage
- not used in published research yet · Examples: 6 example studies
- Source
- Example
- Record
- template:did-staggered-panel · JSON
Solid tags are declared by the source or mapped from its terms; dashed tags are inferred by a published rule. Hover a tag for its provenance.
Versions and evaluations
PlannedNo versions yet.
Checks on this template
- ✓Output contracts · Every step produced the artifact it declared, in the declared form
Required of every template. - ✓Execution reliability · Analysis code ran and wrote a parseable, non-empty result
Required of every template. - ○Numbers · Every number in tables and text matches the output of executed code
Proposed. Proposed for the floor; runs log it but may not block on it. - ○Citations · Every reference resolves to an existing publication via OpenAlex, Semantic Scholar or Crossref
Proposed. Proposed for the floor; runs log it but may not block on it. - ○Verbatim passages · Every claim about a source points to a passage found word for word in that source
Proposed. Proposed for the floor; runs log it but may not block on it.
Runs of this template
No runs yet.
On e2er.org
Loading…
Discussion
Loading…