er-tables-figures
Use when finalizing regression tables and figures for an Economic-Research manuscript. Enforces three-line table style, footnote conventions, column-count discipline, and figure aesthetics.
npx skills add brycewang-stanford/Awesome-Journal-Skills --skill er-tables-figures --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 表格与图形(er-tables-figures) ## 触发时机 - 主表 8 列以上,审稿人吐槽"信息密度过高" - 表格用了边框 / 阴影 / 颜色 —— 不符合《经济研究》规范 - 图形分辨率不足 / 配色不专业 ## 表格规范(三线表 / booktabs) ### 必备结构 ``` 表 3 政策冲击对企业研发投入的影响 ═══════════════════════════════════════════ (1) (2) (3) 变量 研发支出 研发支出 研发支出 ─────────────────────────────────────────── 政策×处理后 0.045*** 0.038*** 0.040*** (0.012) (0.011) (0.013) ...... ─────────────────────────────────────────── 控制变量 否 是 是 个体固定效应 是 是 是 年份固定效应 是 是 是 观测值 10,234 10,234 10,234 R² 0.213 0.247 0.251 ═══════════════════════════════════════════ 注:括号内为聚类于企业层面的稳健标准误;***、**、* 分别表示 1%、5%、10% 显著水平。 ``` ### 严守约束 - **列数克制**(经验值约 ≤6 列;信息密度过高时拆表,以投稿当期官网为准) - **三线表**:顶线粗、中线细、底线粗,无竖线 - 制表用代码导出(`esttab`/`outreg2`),不手抄;见 `resources/code/stata/09_tables.do` - 显著性标记 `*** ** *` 统一用三档 - 标准误在系数下方括号内,**不要用 t 值或 z 值** - 控制变量行写"是 / 否" - 表号 + 表名在表上方,注释在表下方 - 注释**必须**包含:聚类层次、显著性符号定义 ## 变量定义表 主回归表之前必须有变量定义表,《经济研究》格式约定: | 变量类型 | 变量名称 | 变量定义 | 数据来源 | |----------|----------|----------|----------| | 被解释变量 | tax_deviation | 企业所得税费用偏差 = 实际税负 - 预期税负 | 国泰安 | | 核心解释变量 | digital | 金税三期实施虚拟变量 | 全国税收调查 | | 控制变量 | size | 企业规模(资产对数) | 国泰安 | | 控制变量 | lev | 资产负债率 | 国泰安 | | 工具变量 | iv_distance | 距金税三期试点城市的最短地理距离 | 作者计算 | 约束: - 每个变量**有且仅有一行**定义,不要在正文里再
- 触发时机
- 表格规范(三线表 / booktabs)
- 必备结构
- 严守约束
- 变量定义表
- 数据说明段落模板
- 图形规范
- 常见图类
- 执行桥(StatsPAI / Stata MCP)
- 必查清单
- 反模式
- 输出格式
What does the er-tables-figures skill do?
Use when finalizing regression tables and figures for an Economic-Research manuscript. Enforces three-line table style, footnote conventions, column-count discipline, and figure aesthetics.
How do I install it?
Run `npx skills add brycewang-stanford/Awesome-Journal-Skills --skill er-tables-figures --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Awesome-Journal-Skills, a repository with 984 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.