mgmt-paper-tables
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mgmt-paper-tables" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a7b9bf2053016b526f61c69c3e3cc0f78dd13074452f43127226f255ac654a23. Verify the upstream source and version against https://github.com/HaonanAlex/MGMT-Paper-Skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Three-line table tool for economics/finance/management research: interoperates with estout (Stata), modelsummary (R), and stargazer (Python) to produce regression and descriptive-statistics tables covering robust/clustered SEs, two-way fixed effects, difference-in-differences, IV-2SLS, and other common table types. Can switch formatting details to match four journals (Economic Research, Management World, Journal of Finance, Management Science) including significance marks, column alignment, font size, and annotations for N and R². Intended for exporting regression results to papers or adjusting table styles to journal requirements.
Introduction source: third_party · HaonanAlex · 0.1.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: mgmt-paper-tables
description: 经济学/金融学/管理学研究专用三线表升级版,覆盖 estout (Stata) / modelsummary (R) / stargazer (Python) 三语言联动。涵盖 robust SE / clustered SE / 双向固定效应 / DiD / IV-2SLS / 描述统计 等经管高频表格。支持《经济研究》《管理世界》《Journal of Finance》《Management Science》4 种期刊格式自动切换(显著性符号 / 列对齐 / 字号 / N + R² 标注)。当用户需要导出回归结果到论文、对比多个模型、或按特定期刊格式调整表格时调用本 Skill。
tags: [econ, finance, management, tables, regression, stata, r, python, latex, three-line-table]
version: 0.1.0
author: HaonanAlex
license: Apache-2.0
display_name: "MGMT - Paper - Tables"MGMT - Paper - Tables — 经管研究三线表升级版
面向经济学 / 金融学 / 管理学研究者的三线表生成 Skill,覆盖 Stata / R / Python 三语言。
What it does
- 三语言三线表模板:Stata
estout/esttab+ Rmodelsummary/fixest::etable+ Pythonstargazer/linearmodels - 覆盖经管高频场景:robust SE / clustered SE (firm/year/firm-year/Driscoll-Kraay/Newey-West) / 双向固定效应 / DiD / IV-2SLS / 描述统计
- 4 期刊样式自动切换:《经济研究》《管理世界》《Journal of Finance》《Management Science》
- 多列模型并列(OLS vs FE vs IV vs DiD)对比规范
- LaTeX(论文用)+ HTML(PPT 用)双格式输出
- 中文学者高频错误清单(系数 vs SE 同列 / N 漏报 / R² 误读 / FE 漏标 / 显著性符号不一致)
When to invoke
- 用户跑完回归想把结果导出到论文(Stata / R / Python)
- 用户要对比多个模型(OLS、FE、IV、DiD)放在同一张表里
- 用户问"clustered SE 怎么标 / 双向 FE 怎么报告"
- 用户问"《经济研究》/《管理世界》/ JF / MS 表格格式什么样"
- 用户要做描述统计表 / 第一阶段 IV / DiD 平行趋势表
Files
mgmt-paper-tables/
├── SKILL.md # 本文件
├── references/
│ ├── table-anatomy.md # 三线表解剖
│ ├── se-types.md # SE 类型大全
│ ├── significance-conventions.md # 显著性符号 + 期刊偏好
│ ├── journal-formats.md # 4 期刊格式详解
│ ├── multi-column-design.md # 多列设计
│ └── common-mistakes.md # 高频错误
├── templates/
│ ├── stata/ # 7 个 .do 文件
│ ├── r/ # 6 个 .R 文件
│ └── python/ # 5 个 .py 文件
├── tests/ # pytest
├── LICENSE / NOTICE / README.md
Quick start
# 1. 看期刊格式
open references/journal-formats.md
# 2. 选最贴近的模板,复制后改
cp templates/stata/multi_model.do ./tab_main.do # Stata
cp templates/r/fixest_table.R ./tab_main.R # R
cp templates/python/linearmodels_table.py ./tab_main.py # Python
# 3. 跑出 .tex / .html
stata -b do tab_main.do
Rscript tab_main.R
python tab_main.py
Core principles (TL;DR)
- 三线表:top-rule(粗)/ mid-rule(细,header 之下)/ bottom-rule(粗),无竖线、无内部冗余横线
- 系数与 SE 同单元格的两行:第一行系数 + 显著性符号;第二行括号中 SE
- 必报指标:N(样本量)、R²(OLS)/ within-R²(FE)/ Pseudo-R²(Logit)/ KP-F(IV)/ Hansen-J(GMM)
- FE 标注:用 ✓ / Yes 在表底独立行表示;不要写在系数行
- 聚类 SE:表注必须明确 "Standard errors clustered at the firm-year level"
- 显著性:经管/金融默认
*=10% / **=5% / ***=1%;JF 偏好同款;MS 与 JF 一致;《经济研究》《管理世界》同款 - 多列对齐:同一控制变量同列;列宽用
D{.}{.}对齐小数点 - 导出:LaTeX 用 booktabs;HTML 用于 PPT、汇报;不要交 Word 默认表
Anti-patterns
详见 references/common-mistakes.md。最高频 5 条:
- 系数和 SE 写在两列 → 应同列上下两行
- 报告 N 但不报 R² / 报告 R² 但不报 N
- FE 写到表头但没在表底独立行打 ✓
- 聚类层级未在表注说明
- 多列模型的控制变量集不一致但表里看不出来
Current listing version
0.1.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向经管研究者,提供三线表生成能力,覆盖 Stata/R/Python 三语言
- 支持多种回归模型(robust SE/clustered SE/双向固定效应/DiD/IV-2SLS)与期刊格式自动切换
- 解决论文写作中的高频痛点(导出回归结果、多模型对比、期刊格式调整)
Highlights
- 触发词精准完整,覆盖导出回归结果、多模型对比、聚类 SE/FE 报告、期刊格式等多种场景
- 边界清晰,不易与其他 Skill 重叠
Highlights
- Phase/步骤清晰(Quick start 提供三步流程),有出口条件(生成 .tex/.html)
- 含端到端示例(Stata/R/Python 命令),frontmatter 完整
Highlights
- 工具来源明确(estout/modelsummary/stargazer),参数正确
- 通过 references 文件提供错误清单与规范,覆盖主要异常
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.