skills/50-brycewang-aer-skills/skills/aer-tables-figures/SKILL.md
Use when constructing or revising regression tables, descriptive statistics tables, or figures for an AER, AER:Insights, or AEJ manuscript. Implements AER booktabs house style, the standard regression-table layout, and the figure-notes convention.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research aer-tables-figuresInstall 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.
Reviewers in economics read tables first. A misformatted, overstuffed, or note-bloated table signals carelessness and increases desk rejection probability independently of the result quality. This skill enforces AER house style and the "one claim per exhibit" discipline.
Hard AER conventions:
tablenotes / figurenotes environment.Every empirical AER paper has approximately:
If your paper needs more than ~7 main-text tables, the contribution is unfocused. Move secondary tables to the appendix.
Standard AER regression table:
(1) (2) (3) (4) (5)
OLS OLS OLS IV IV
Treatment 0.123*** 0.118*** 0.115*** 0.142*** 0.138***
(0.041) (0.040) (0.039) (0.052) (0.051)
Controls No Yes Yes Yes Yes
Unit FE No No Yes Yes Yes
Year FE No No Yes Yes Yes
Sample Full Full Full Full Balanced
Observations 12,453 12,453 12,453 12,453 11,892
R-squared 0.024 0.118 0.341 0.310 0.317
First-stage F 42.3 41.1
Notes: Standard errors in parentheses, clustered at the [unit] level. *** p<0.01, ** p<0.05, * p<0.1.
AER convention: *** p<0.01, ** p<0.05, * p<0.1. Some authors and Angrist-Pischke prefer letter superscripts (a, b, c) to save space. Either is acceptable; the journal does not enforce a single convention. Do not mix.
estout / esttab — the canonical AER pipeline. esttab using table.tex, b(3) se(3) star(* 0.10 ** 0.05 *** 0.01) booktabs alignment(D{.}{.}{-1}) ...outreg2 — older, still commoncoefplot — for figure-based coefficient presentationfixest::etable — produces near-AER tables out of the box; supports \textsf{...} styling and booktabsmodelsummary — flexible, supports gt/kable/LaTeX backends; explicit options for AER conventionsstargazer — older; works but less customizablestargazer-py or pystata — for users mirroring Stata outputcoefplot (Stata) or ggplot2 + geom_pointrange (R).rdplot (Stata/R).\begin{figure}[t]
\centering
\includegraphics[width=0.8\textwidth]{fig_event_study.pdf}
\caption{Event-Study Estimates of the Effect of Policy on Outcome}
\label{fig:event}
\begin{figurenotes}
Notes: This figure plots Callaway-Sant'Anna ATT(g,t) estimates aggregated by event time.
The omitted period is $t = -1$. Bars show 95\% confidence intervals based on the
multiplier bootstrap. Sample restricted to [...]. N = [...].
\end{figurenotes}
\end{figure}
When working from the AER-skills repository or plugin bundle, load only the relevant table/figure scaffold:
templates/stata/06_tables.dotemplates/r/06_tables.Rtemplates/python/tables.pyMAIN TABLES: <count>
APPENDIX TABLES: <count>
FIGURES: <count>
STYLE COMPLIANT: <yes / list of remaining fixes>
NEXT SKILL: <aer-replication | aer-submission>
tools
Show mcp-stata identity, connected tools, and status. Use when the user asks if mcp-stata is available, asks about access to the toolkit, or asks what Stata tools are connected.
tools
Activate when users mention Stata commands, .do files, regressions, econometrics, stored results, graphs, dataset inspection, replication, or Stata errors. Route the task through mcp-stata tools and the specialized research skills instead of treating it as plain text coding.
development
Build and review paper-ready regression, balance, and summary tables from Stata outputs. Use when the user needs a clean table for a draft, appendix, or coauthor share-out.
tools
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.