Templates · did-staggered-panel
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: exampleContributed by 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 contributed 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 an evidence package
- Always at the end
- compileaudit_exportgithub_pushstructured_export runs however the run ended
A fork of the empirical 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
- Contributors
- 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.
Steps
Greyed steps do not run in the selected mode.
- 1 strategistinitialPlans 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 strategistiterativeFurther rounds of the strategist, revisiting design and analysis.
- 4 checkestimation_gateChecks 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 aggregate, parallelreviewNumbers 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
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.