mgmt-paper-charts
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-charts" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6c0a8913a5e1e0dd15bbc2c1cd80cd6a81f8c21e3103f2f4d8f15d6c1b6f2068. 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
Chart-template collection for economics/finance/management research covering 12 common academic chart types (coefficient plots, event-study plots, bin scatter, marginal-effects, policy-threshold response, treated-group maps, Sankey money-flows, board networks, policy-event time series, hierarchical clustering heatmaps, meta-analysis forest plots, and multi-regression comparison tables), each with Stata, R, and Python templates. Supports style switching for Economic Research, Management World, Journal of Finance, and Management Science. Use when drawing academic econometric/management charts, comparing regressions, visualizing event studies, mapping treatment-group distributions for policy evaluation, or plotting financial networks.
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-charts
description: 经济学/金融学/管理学研究专用图表模板集,覆盖 12 种经管高频图表(系数图 / 事件研究 / Bin scatter / 边际效应 / 政策门槛响应 / 处理组地图 / Sankey 资金流 / 董事网络 / 政策事件时间序列 / 层次聚类热图 / 元分析森林图 / 多回归对比表),各 × Stata / R / Python 三语言模板。支持《经济研究》《管理世界》《Journal of Finance》《Management Science》4 种期刊样式切换。当用户需要绘制经管学术图表、对比多回归、做事件研究可视化、画政策评估处理组分布、或绘制金融网络时调用本 Skill。
tags: [econ, finance, management, charts, plotting, stata, r, python, panel-data, did, event-study]
version: 0.1.0
author: HaonanAlex
license: Apache-2.0
display_name: "MGMT - Paper - Charts"MGMT - Paper - Charts — 经管研究专用图表模板集
本 Skill 为经济学、金融学、管理学领域的研究者提供 12 类高频图表 × Stata / R / Python 三语言模板,并支持 4 种期刊样式(《经济研究》《管理世界》《Journal of Finance》《Management Science》)切换。
What it does
- 覆盖经管研究 12 种高频图:系数对比 / 事件研究 / Bin scatter / 边际效应 / 政策门槛响应 / 处理组地图 / Sankey 资金流 / 董事会网络 / 政策事件时间序列 / 层次聚类热图 / 元分析森林图 / 多回归对比表
- 同一张图三种语言均给出可独立运行的最小模板
- 4 种期刊样式参数(字体 / 字号 / 颜色 / 线宽 / 图说位置)
- 经管色板(B&W / 政策类 / 金融类)
- 经管学者常犯错清单(双纵轴乱用 / 标签英文 / 颜色花哨 / 坐标轴零点等)
- Stata / R / Python 三语言互转 + 选用建议
When to invoke
- 用户绘制经管学术图表(DiD 事件研究 / 多回归对比 / 政策处理组地图)
- 用户问"经济研究 / 管理世界 系数图怎么画"
- 用户做政策评估,需要可视化处理组空间分布
- 用户绘制金融网络(董事兼任 / 上市公司互联)
- 用户做元分析,需要森林图
- 用户在 Stata / R / Python 之间切换图表代码
Files
mgmt-paper-charts/
├── SKILL.md
├── references/
│ ├── chart-types-overview.md # 12 类图表概览 + 适用论文章节
│ ├── journal-styles.md # 4 期刊样式
│ ├── color-palettes.md # 经管色板
│ ├── workflow-stata-r-python.md # 三语言互转 + 何时用哪个
│ └── common-mistakes.md # 经管学者常犯错
├── templates/
│ ├── stata/ # 6 个 .do 模板
│ ├── r/ # 7 个 .R 模板
│ └── python/ # 8 个 .py 模板
├── tests/
├── LICENSE
├── NOTICE
└── README.md
Quick start
# 1. 看 12 类图概览,定位你要的图
open references/chart-types-overview.md
# 2. 看目标期刊样式
open references/journal-styles.md
# 3. 选语言 + 模板
cp templates/python/event_study.py ./my_event_study.py
python my_event_study.py # 输出 my_event_study.pdf
# Stata
cp templates/stata/eventdd.do ./my_event.do
stata -b do my_event.do
# R
cp templates/r/event_study.R ./my_event.R
Rscript my_event.R
12 chart types
| # | 图表 | 适用章节 | Stata | R | Python |
|---|---|---|---|---|---|
| 1 | 系数对比图 | 主回归 / 异质性 | coefplot.do | coefplot.R | coefplot.py |
| 2 | 事件研究 | DiD 主图 | eventdd.do | event_study.R | event_study.py |
| 3 | Bin scatter | 描述性 / RDD | binscatter.do | bin_scatter.R | bin_scatter.py |
| 4 | 边际效应 | 交互项 / 非线性 | margins_plot.do | marginal_effects.R | — |
| 5 | 政策门槛响应 | RDD / Bunching | bunching.do | — | — |
| 6 | 处理组地图 | 政策评估 | — | treatment_map_china.R | treatment_map.py |
| 7 | Sankey 资金流 | 资金 / 股权流向 | — | — | sankey.py |
| 8 | 董事网络 | 公司治理 | — | network_boards.R | network_directors.py |
| 9 | 政策事件时间序列 | 描述性 / 事件 | — | — | time_series_policy_events.py |
| 10 | 层次聚类热图 | 相关性 / 因子 | — | — | heatmap_clustered.py |
| 11 | 元分析森林图 | 综述 | — | forest_plot.R | — |
| 12 | 多回归对比表 | 主回归表 | multiple_regs_table.do | — | — |
Core principles (TL;DR)
- 三语言定位:Stata 适合主回归 + 系数图(一行
coefplot);R 适合事件研究 + 网络 + 地图(fixest/igraph/sf);Python 适合多面板组合 + 复杂可视化(matplotlib/geopandas/plotly) - 期刊优先级:先看
journal-styles.md,确定字体 / 字号 / 颜色,再写图 - 黑白可读:marker + linestyle 区分序列;
color-palettes.md给出 4 种 B&W 友好方案 - 导出:PDF 矢量 + 300 DPI;中文字体回退链
Times New Roman → SimSun → Songti SC - 经管特化:DiD 基期空心圆;事件研究
t = -1归零;coefplot 横向更易读
Anti-patterns
详见 references/common-mistakes.md。最高频 5 条:
- 多回归用
outreg2出个表就完事,不画系数图(审稿人会问"你能不能给我一张图") - 事件研究图基期没归零、没画零参考线
- 处理组地图忘了说明"白色 = 控制组 / 灰色 = 处理组"
- Sankey 资金流图节点过多(>20 个),完全无法阅读
- 双纵轴用不同颜色再连线,制造视觉欺骗
Current listing version
0.1.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 覆盖经管研究 12 种高频图表类型,满足经济学/金融学/管理学学术绘图刚需
- 支持 Stata / R / Python 三语言模板,适配不同用户技术栈
- 内置 4 种主流期刊样式与经管专用色板,显著提升论文图表规范性与发表效率
Highlights
- 触发场景描述清晰具体(如 DiD 事件研究、多回归对比、政策处理组地图等),边界明确
- description 与 When to invoke 高度一致,用户可快速判断是否调用
Areas to improve
-
缺少端到端完整示例 Reported severity: Minor
Quick start 仅提供代码片段,未展示从数据到最终图表的完整执行流程与输出效果
Recommendation: 补充一个完整示例(如 event_study.py 从模拟数据生成到 PDF 输出的全流程),帮助用户快速验证模板可用性
Highlights
- 结构清晰,包含 What it does、When to invoke、Core principles、Anti-patterns 等实用章节
- 12 类图表以表格形式汇总,语言覆盖情况一目了然
Areas to improve
-
未说明模板测试状态与异常处理 Reported severity: Minor
未明确模板是否经过实际运行验证,也未指导用户处理常见异常(如字体缺失、依赖未安装)
Recommendation: 在 README 或 SKILL.md 中注明模板测试环境,并添加 Troubleshooting 章节处理常见问题
Highlights
- 模板文件组织规范,路径清晰,支持快速复制与执行
- 提供三语言互转建议与选用指南,降低用户切换成本
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.