Skip to content
Published studies are shown for demonstration purposes, not because they are good or bad research. Demonstrator · items marked Example are invented · what exists today
Search

Templates

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.

ExampleExample: a fork of the empirical templateempirical
No evaluations yet
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. 1
    Design, data, estimation and draft
    Plans the paper and dispatches specialists for the literature, data, identification strategy, econometric specification, analysis and drafting.
    specialists
  2. 2
    Staggered timing check
    If treatment dates vary across units, the specification must use a heterogeneity-robust estimator. Halts otherwise.
    check
  3. 3
    Improve until it stops getting better
    Further rounds of the strategist, revisiting design and analysis.
    specialists
  4. 4
    Estimation check
    Checks the estimation against the specification declared before it ran. Halts the run on failure.
    check
  5. 5
    Pre trend check
    Estimates leads in an event study and reports the joint test of pre-period coefficients. Records the result; halts when the declared threshold is crossed.
    check
  6. 6
    Self-critique
    A specialist attacks the paper's own argument and evidence.
    specialists
  7. 7
    Polish
    Five specialists polish formulas, numbers, institutional detail, equilibria and the bibliography.
    specialists, parallel
  8. 8
    Review panel
    Numbers and citations are checked first. Six reviewers (mechanism, technical, literature, data, identification, writing) then score the draft.
    reviewers, parallel
  9. 9
    Revision
    Revises the draft in response to the reviews, as a full revision and as targeted edits.
    specialists
  10. 10
    Replication package
    Builds the replication package.
    specialists
Technical details

Template id did-staggered-panel.

StepId in the template fileSpecialists
1. Design, data, estimation and draftinitialidea_developer, literature_scanner, data_architect, identification_strategist, econometrics_specialist, data_analyst, paper_drafter
2. Staggered timing checkstaggered_timing_check
3. Improve until it stops getting betteriterative
4. Estimation checkestimation_gate
5. Pre trend checkpre_trend_check
6. Self-critiqueself_attackself_attacker
7. Polishpolishpolish_formula, polish_numerics, polish_institutions, polish_equilibria, polish_bibliography
8. Review panelreviewmechanism_reviewer, technical_reviewer, literature_reviewer, data_reviewer, identification_reviewer, writing_reviewer
9. Revisionrevisionrevisor, patch_revisor
10. Replication packagereplicationreplication_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

Planned

No versions yet.

Evaluate this template Report a failure
Cite this template
Persistent identifiers planned
@software{e2erauthors2026e2erstaggereddifferencei,
  title   = {e2er staggered difference-in-differences (economics) template},
  author  = {e2er authors},
  year    = {2026},
  note    = {e2er template. Persistent identifier planned},
  url     = {https://e2er.org/templates/did-staggered-panel}
}

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…