Logo Aer Tables Figures

Aer Tables Figures

Cộng đồng
brycewang-stanford
aer-tables-figures

Use when constructing or revising regression tables, descriptive statistics tables, or figures after results are estimated and before submission for an AER, AER:Insights, or AEJ manuscript. Implements AER booktabs house style, regression-table layout, and figure-note conventions.

Tổng quan

Nhà phát hànhbrycewang-stanford
Kho mãAER-Skills
Tên kỹ năngaer-tables-figures
Sao
62
Bản fork
11
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được brycewang-stanford công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Aer Tables Figures trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/brycewang-stanford/AER-Skills/tree/main/skills/aer-tables-figures
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brycewang-stanford/AER-Skills.git /tmp/AER-Skills
mkdir -p .claude/skills
cp -r /tmp/AER-Skills/skills/aer-tables-figures .claude/skills/aer-tables-figures
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Aer Tables Figures trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Aer Tables Figures ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Aer Tables Figures với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

AER Tables and Figures

Overview

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:

  • Captions go below figures, above tables.
  • Tables use booktabs-style horizontal rules (no vertical rules).
  • Figure notes use the tablenotes / figurenotes environment.
  • No color-only encoding — figures must remain legible in grayscale and to color-blind readers.

When to Use

  • Drafting the main results table
  • Auditing tables before submission
  • An R&R demands consolidation or restructuring of tables
  • Figures look noisy, dense, or "Excel-default"

The Five Canonical Tables

Every empirical AER paper has approximately:

  1. Summary statistics — N, mean, SD, min, max for the analysis sample. One table; ≤ 15 rows. Group by treatment/control if relevant.
  2. Variable definitions — source, construction, units. Push to appendix if main paper is tight on space.
  3. Balance / first stage — covariate balance (RCT, RD, matched DiD) or first-stage coefficients (IV).
  4. Main result — 3-7 columns, each a progressively richer specification. The column the referee will quote is column (4) or (5).
  5. Robustness / heterogeneity — one table consolidating the most important checks.

If your paper needs more than ~7 main-text tables, the contribution is unfocused. Move secondary tables to the appendix.

Main Results Table Layout

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.

Column Discipline

  • Progress from simple to rich. Column 1 is the rawest specification; later columns add controls / FE / IV.
  • Same point estimate row across all columns. Easy visual comparison.
  • Indicator rows for what's in the spec — Controls / FE / Sample — rather than burying that information in notes.
  • Report observations and R² (or pseudo-R², or first-stage F) for every column.

Significance Stars

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.

Standard Errors

  • Report standard errors in parentheses below coefficients, not next to them.
  • State the clustering or HAC structure in the note, not in the column header.
  • For few clusters (< 50), report wild cluster bootstrap p-values.
  • For weak-IV settings, report AR confidence intervals alongside or instead of conventional SEs.

Coefficient Rows

  • Order coefficients by importance — treatment first, then mechanism interactions, then controls (or omit controls from main table; report in appendix).
  • Use intuitive variable labels, not raw variable names. "log(Wage)" beats "lnwage".
  • Round to 2-3 significant digits of the standard error; coefficient precision should match.

Tool Recipes

Stata

  • 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 common
  • coefplot — for figure-based coefficient presentation

R

  • fixest::etable — produces near-AER tables out of the box; supports \textsf{...} styling and booktabs
  • modelsummary — flexible, supports gt/kable/LaTeX backends; explicit options for AER conventions
  • stargazer — older; works but less customizable

Python

  • stargazer-py or pystata — for users mirroring Stata output

Figures

Hierarchy

  1. Coefficient plots > regression tables when the audience needs to compare 8+ specifications visually. Use coefplot (Stata) or ggplot2 + geom_pointrange (R).
  2. Event-study plots for any DiD with multiple periods. Always show pre-period.
  3. Binned scatter / RD plots for RDD designs. Use rdplot (Stata/R).
  4. Maps for spatially heterogeneous treatments.

Format Rules

  • Vector format (PDF, EPS) for production. AER does not accept raster figures for final submission.
  • Sans-serif fonts (Helvetica, Arial) at minimum 9 pt for axis labels.
  • No 3D plots. No pie charts.
  • Color sparingly and accessibly — viridis / cividis palettes; avoid red-green.
  • One main claim per figure. Split panels rather than overlay six lines.

Figure Notes

latex
\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}

What Notes Must Include

  1. What estimator / method produced the figure
  2. The omitted/reference category
  3. Confidence interval type and coverage
  4. Sample restrictions
  5. N (observations or clusters)

Anti-Patterns

  • 14-column main results table — readers cannot scan
  • Standard errors in brackets and parentheses in the same paper
  • Coefficient magnitudes hidden behind significance stars; magnitudes are what referees want
  • "Notes: See text." in the figure caption — useless to a reader skimming
  • Figures rendered in PowerPoint Auto-format colors
  • Inconsistent decimal precision across rows
  • Variable names from the dataset showing in the table ("hh_inc_2017" instead of "Household Income, 2017 USD")

Pre-Submission Checklist

  • All tables use booktabs rules; no vertical bars
  • All captions positioned correctly (above for tables, below for figures)
  • Significance star convention consistent across all tables
  • Every table note states the SE structure, sample, and N
  • Every figure has a notes block specifying method, CI, sample, N
  • Figures are vector format and legible in grayscale
  • No table exceeds page width or wraps awkwardly
  • Coefficient row order is consistent across tables

Repository Resources

Bundled with the installed skill, no repository checkout needed --- read it before the repo resources below:

  • references/exhibit-cookbook.md --- booktabs anatomy, export snippets, notes template, figure rules

When working from the AER-skills repository or plugin bundle, load only the relevant table/figure scaffold:

  • Stata: templates/stata/06_tables.do
  • R: templates/r/06_tables.R
  • Python: templates/python/tables.py

Handoff

text
MAIN TABLES: <count>
APPENDIX TABLES: <count>
FIGURES: <count>
STYLE COMPLIANT: <yes / list of remaining fixes>
NEXT SKILL: <aer-consistency | aer-replication>

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Aer Tables Figures làm được gì?

Use when constructing or revising regression tables, descriptive statistics tables, or figures after results are estimated and before submission for an AER, AER:Insights, or AEJ manuscript. Implements AER booktabs house style, regression-table layout, and figure-note conventions.

Vì sao nên dùng Aer Tables Figures trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Aer Tables Figures là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Aer Tables Figures trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/brycewang-stanford/AER-Skills/tree/main/skills/aer-tables-figures. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Aer Tables Figures?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Aer Tables Figures với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Aer Tables Figures với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Aer Tables Figures có miễn phí không?

Có. Kỹ năng này được brycewang-stanford phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇