skills/50-brycewang-aer-skills/skills/aer-preregistration/SKILL.md
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.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research aer-preregistrationInstall 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.
For experimental and prospective-data AER-track work, credibility is bought before the data exist. This skill writes the pre-analysis plan (PAP), sizes the sample from a power calculation, and registers the study. Its job is to make the eventual results un-p-hackable: a referee who sees a public PAP timestamp predating data collection cannot accuse you of specification search.
Registration is not optional at AEA journals for RCTs. If the design is
observational, skip to aer-robustness; there is nothing to pre-register.
Is treatment assigned by the researcher (randomization)?
├── Yes → register with the AEA RCT Registry BEFORE the intervention; write a PAP
├── No, but you collect new primary data → post a PAP for the pre-committed analysis
└── No, secondary/observational data already realized → do NOT pre-register
(a PAP written after the outcomes exist is theater); go to aer-robustness
Pre-specify, in order, and timestamp before unblinding:
Hypotheses — each stated as a signed, testable prediction, not a topic:
H1: the cash transfer raises household consumption at endline by at least 0.15 SD, estimated by OLS of log consumption on treatment with strata fixed effects, clustered at the village level.
Primary outcomes — a short list (ideally 1-3). Everything else is secondary or exploratory and labeled as such.
Estimating equation — the exact regression, fixed effects, covariates, and the level at which standard errors cluster.
Sample and inclusion rules — who is in the analysis and how attrition is
handled (pre-commit to bounds; see examples/lee-bounds-demo/).
Multiple-testing correction — the family and the method (e.g. Romano-Wolf,
romano_wolf_2005), pre-specified, not chosen after the p-values land.
Heterogeneity — the subgroups you will test, fixed in advance; all others are exploratory.
Power — the MDE and the assumptions behind it (below).
Keep the PAP moderate in scope (Olken's advice): pre-specify the primary analysis tightly, leave genuine discovery clearly flagged as exploratory. An over-long PAP that pre-registers forty outcomes protects nothing.
Size the sample from the MDE, not the other way around. For a two-arm trial with
equal allocation, size sigma, share p, total N:
MDE = (z_power + z_{1-alpha/2}) * sigma * sqrt(1 / (p (1 - p) N))
z_power + z_alpha = 2.80.examples/power-mde-demo/ for the
MDE-attains-target-power check and the winner's-curse simulation.Cite mckenzie_2012 (more rounds beat larger cross-sections when outcomes are
noisy) and duflo_glennerster_kremer_2007 (the design toolkit). Keys in
../../references.bib; defaults in
../../docs/methods-reference.md.
Do not advance to data collection until all are true:
Bundled with the installed skill, no repository checkout needed --- read it before the repo resources below:
references/pap-template.md --- PAP outline, power/MDE reporting template, registry field checklistWhen working from the repo or plugin bundle, load only the relevant resource:
examples/power-mde-demo/examples/lee-bounds-demo/docs/methods-reference.mdskills/aer-robustness/SKILL.mdmckenzie_2012, duflo_glennerster_kremer_2007): references.bibFix the MDE and the primary-outcome list before drafting; both feed the
aer-identification estimator choice and the aer-consistency audit.
DESIGN: <RCT | primary-data collection | observational (no PAP)>
PRIMARY OUTCOMES: <list, 1-3>
MDE / POWER: <MDE in outcome units; power; assumptions incl. ICC and attrition>
MULTIPLICITY: <family + correction method>
REGISTRATION: <AEA RCT ID + timestamp, or "n/a">
NEXT SKILL: aer-identification (confirm estimator) then aer-robustness
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.
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.
testing
Checklist of empirical robustness tests for finance/economics papers