跳到正文
码上手 coding.chengyu.dev
BR

Full-empirical-analysis-skill-Stata

brycewang-stanford/Auto-Empirical-Research-Skills/skills/00.2-Full-empirical-analysis-skill_Stata

Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation + eventstudyinteract + sdid + rdrobust + rddensity + synth + synth_runner + psmatch2 + teffects + ebalance + coefplot + esttab + asdoc + binscatter. **Defaults to economics empirical-paper style** (AER / QJE / AEJ) — every run produces a publication-ready output set with a multi-column regression table (M1→M6 progressive controls/FE) as the centerpiece, plus Table 1 (descriptives), mechanism / heterogeneity / robustness tables, and event-study + coefficient + trend figures. Covers the full 8-step Stata pipeline an applied economist runs on every paper — (1) data import & cleaning (use/import, destring, misstable, duplicates, merge assert), (2) variable construction (gen/egen/winsor2/xtile/xtset with L./F./D.), (3) descriptive statistics & Table 1 (tabstat/balancetable/asdoc), (4) classical diagnostic tests (sktest/swilk/hettest/imtest/xtserial/xttest3/vif/dfuller/kpss/hausman/estat overid), (5) baseline modeling (reg/xtreg/reghdfe/ivreg2/ivregress/csdid/did_imputation/eventstudyinteract/sdid/rdrobust/synth/psmatch2/teffects/heckman/qreg/ppml

把下面的话发给 Claude Code、Codex 或 Cursor。智能体会先检查内容,经你确认再安装。

请帮我安装这个 Agent Skill:https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tree/main/skills/00.2-Full-empirical-analysis-skill_Stata

1. 先读取该目录下的 SKILL.md 和其他文件,检查是否有可疑内容(执行未知脚本、读取密钥、向外发送数据等),用中文告诉我它会做什么、需要哪些权限;
2. 等我确认后,再把整个目录安装到 ~/.claude/skills/full-empirical-analysis-skill-stata/(如果你不是 Claude Code,安装到你自己约定的 skills 目录);
3. 安装后告诉我怎么触发它。

Skill 可以让智能体执行脚本。安装第三方 Skill 前务必看一遍内容,详见「安全」一课。

该仓库未声明开源许可证,本站不转载全文,请到 GitHub 查看。

Esc

输入关键词开始搜索,例如「CLAUDE.md」「MCP」「部署」