Aer identification

From franklee16/academic-research-skills · View interactive version

Aer identification is an AI agent skill from the GitHub repository franklee16/academic-research-skills. Use when selecting, implementing, or stress-testing the causal identification strategy for an empirical economics manuscript — difference-in-differences (including staggered designs), instrumental variables (including weak-IV-robust inference), regression discontinuity, synthetic control, or shift-s

How to use this skill

Skill file

AER Identification

Overview

In modern AER-track empirical economics, identification is the paper. A weak design cannot be rescued by clever writing, more controls, or a larger sample. This skill walks through the five canonical design-based strategies, the modern defaults that have replaced naive textbook implementations, and the referee-anticipating tests each demands.

If the identification strategy is fragile, return to aer-topic-selection. There is no point polishing an indefensible empirical strategy.

When to Use

Master Decision Tree

Is treatment assignment plausibly random conditional on observables?
├── Yes, by design (RCT, lottery) → run the RCT analysis; register PAP via AEA RCT Registry
└── No → identification must come from variation
    ├── Sharp threshold in a running variable → RDD (sharp or fuzzy)
    ├── Discrete policy change in some units, not others, over time → DiD
    │     ├── Single treatment date → canonical 2×2 DiD
    │     └── Staggered adoption → Callaway-Sant'Anna or Borusyak-Jaravel-Spiess
    ├── Endogenous regressor + plausibly exogenous shifter → IV
    │     ├── Shifter × pre-existing exposure shares → shift-share / Bartik
    │     └── Single instrument → weak-IV-robust inference if F < 50
    ├── One treated unit / aggregate intervention → synthetic control
    └── None of the above → reconsider the question

Difference-in-Differences

Canonical 2×2 (single treatment date, two groups)

Use TWFE if and only if:

Otherwise, TWFE produces biased and often sign-flipped estimates.

Staggered Adoption (most modern applications)

Do not use TWFE. Use one of:

Required diagnostics:

  1. Goodman-Bacon decomposition to show the share of weight from "forbidden" comparisons under TWFE
  2. Event-study plot with the imputation or Callaway-Sant'Anna estimator
  3. Pre-trends test reported as the joint test, not just the visual
  4. Heterogeneity by treatment cohort

Pre-Trends

A flat pre-trend is necessary but not sufficient. Report:

Instrumental Variables

Weak Instruments

The first-stage F > 10 rule is obsolete. Modern conventions:

Use weakivtest (Stata), ivDiag (R), or the Olea-Pflueger effective F statistic.

Exclusion Restriction

The IV's credibility depends on a story, not a test. State the exclusion restriction in one sentence in the introduction and defend it with:

Shift-Share / Bartik

Two valid sources of identification, with very different implications:

  1. Exogenous shares (Goldsmith-Pinkham, Sorkin, Swift 2020) — argue that pre-existing exposure shares are conditionally exogenous; report the Rotemberg weights and inspect the top-5 industries driving identification.
  2. Exogenous shocks (Borusyak, Hull, Jaravel 2022; Adão, Kolesár, Morales 2019) — argue that aggregate shocks are as-good-as-random; report shock-level inference.

Pick one explicitly. Do not hand-wave between the two.

Regression Discontinuity

Modern Defaults

Required Diagnostics

  1. McCrary (2008) / Cattaneo-Jansson-Ma (2020) density test for manipulation of the running variable
  2. Balance tests on predetermined covariates at the cutoff
  3. Placebo cutoffs away from the true threshold
  4. Bandwidth sensitivity — show the estimate across at least three bandwidths
  5. Visual RD plot using rdplot with the binning method explicitly stated

Synthetic Control

When Appropriate

Modern Extensions

Required Diagnostics

  1. Placebo (in-time): apply SCM to pre-treatment fake intervention dates
  2. Placebo (in-space): apply SCM to every donor as if it were treated; report the distribution of placebo effects
  3. Permutation inference / Fisher exact p-value
  4. Weight vector reported in the appendix; donors with > 10% weight discussed

Field Experiments and RCTs

If the paper uses a field experiment:

Mechanism vs. Identification

A common confusion: identification answers whether X causes Y; mechanism answers why. Mechanism evidence should not weaken the identification of the main effect. Run:

Red Flags for Referees

Repository Resources

When working from the AER-skills repository or plugin bundle, load only the relevant resource:

Use the methods reference before drafting prose: it fixes the estimand,

diagnostic, inference method, and citation that the manuscript must report.

Handoff

STRATEGY: <DiD | IV | RDD | SCM | shift-share | RCT>
MODERN ESTIMATOR USED: <yes / no / which>
REQUIRED DIAGNOSTICS REPORTED: <list>
INFERENCE METHOD: <robust / cluster-robust / AR / wild bootstrap / permutation>
WEAK-IV / TWFE / POLY-ORDER RED FLAGS: <list or "none">
NEXT SKILL: aer-robustness

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.