skills/50-brycewang-aer-skills/skills/aer-robustness/SKILL.md
Use when the main empirical results exist but the manuscript lacks the robustness, heterogeneity, mechanism, and placebo checks that AER referees will demand. Apply after aer-identification and before aer-introduction so that the value-added paragraph can reference these tests.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research aer-robustnessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A modern AER referee report contains three predictable demands:
This skill anticipates all three so that the referee finds the answer already in the paper. Skipping this step turns a referee report into a 6-month delay.
Every empirical AER paper should report, at minimum:
Report heterogeneity that the theory predicts, not heterogeneity discovered by mining:
Distinguish two purposes:
State both explicitly in the manuscript. Do not let the reader infer.
If the result is contested or counterintuitive, present a specification curve (Simonsohn-Simmons-Nelson 2020) showing the estimate across all reasonable analytic choices. This converts "you chose your specification to get this result" into "the result holds across the entire reasonable choice set."
For any empirical paper, predict and pre-empt:
| Comment | Pre-emption | |------------------------------------------------------------|--------------------------------------------------------------| | "The result may be driven by [omitted variable]" | Include it as a control; show robustness without it | | "Standard errors are not clustered correctly" | Report 2-3 clustering schemes; wild bootstrap if needed | | "Pre-trends look suspect" | Formal joint test + honest DiD bounds | | "This is a mechanical effect from [other channel]" | Direct placebo or sample restriction excluding that channel | | "Effect size is implausibly large/small" | Sanity-check against existing magnitudes in the literature |
A null result is publishable at AER if and only if:
Always report 95% CIs alongside p-values. Many AER editors explicitly prefer effect-size reporting over significance stars.
Keep main-text robustness to one table with each row a different specification. Push the deep robustness into the appendix in this order:
When a StatsPAI MCP server is connected, drive the referee-anticipating battery
through validated tools rather than hand-rolled scripts — and let
audit_result enumerate what is still missing instead of guessing. The full
registry lives in skills/aer-statspai/SKILL.md.
| Check | Call (StatsPAI) | Do not hand-roll |
|---|---|---|
| Missing-checks enumeration | audit_result | picking robustness checks from memory |
| Specification curve | spec_curve | a hand-picked grid of two flattering specs |
| Few-cluster inference | wild_cluster_bootstrap, twoway_cluster | default cluster-robust SEs with < 30 clusters |
| Spatial correlation | conley | ignoring spatial dependence in geographic data |
| Pre-trends sensitivity | honest_did, honest_did_from_result | asserting parallel trends from a flat pre-period |
| Selection on unobservables | oster_delta, oster_bounds, sensitivity_from_result | a hand-rolled "controls barely move the coefficient" claim |
| Robustness value (partial R²) | robustness_value | a coefficient-stability table with no partial-R² sensitivity |
| Differential attrition | lee_bounds | assuming attrition is "balanced" without trimming bounds |
| Observational confounding | evalue_from_result | a verbal "unobservables would have to be huge" argument |
| Heterogeneity / CATE | causal_forest, metalearner | subgroup splits mined until one is significant |
| Multiple-outcome FWER | romano_wolf | reporting many outcomes with uncorrected p-values |
Bundled with the installed skill, no repository checkout needed --- read it before the repo resources below:
references/robustness-menu.md --- required-vs-optional robustness menu with package calls and reporting formatsWhen working from the AER-skills repository or plugin bundle, load only the resource needed for the paper's design:
docs/methods-reference.mdtemplates/stata/04_robustness.do, templates/r/04_robustness.R, or templates/python/robustness.pytemplates/stata/05_heterogeneity.do, templates/r/05_heterogeneity.R, or templates/python/heterogeneity.pyThe empirical section is referee-ready only when all are present and theory-motivated (not mined):
ROBUSTNESS COVERAGE: <spec / sample / outcome / cluster / estimator>
HETEROGENEITY: <pre-specified / exploratory>
MECHANISM EVIDENCE: <channel / ruling-out / both>
PLACEBO TESTS: <list>
ANTICIPATED REFEREE COMMENTS PRE-EMPTED: <count>
NEXT SKILL: <aer-paper-body | aer-tables-figures>
tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.