Full-empirical-analysis-skill-Stata
适合以 Stata 为主的计量经济学工作流与论文复现。
需本地安装 Stata 并具备相应许可。
基于 Stata 的端到端经验分析流水线,集成常用社区命令。
把传统 Stata 的整套实证分析流水线一股脑跑通,从描述性统计到多列回归表、机制/异质性/稳健性检验和事件研究图都能产出。适合写论文或做完整实证项目、需要按 AER/QJE 风格生成发表级输出时用,内置 reghdfe、ivreg2、csdid、rdrobust、synth 等常用命令。特点是默认输出 M1→M6 的逐步回归表和完整的表图集,省去手工拼表画图。
▸ 展开 SKILL.md 英文原文
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/x
帮我安装这个 skill:https://raw.githubusercontent.com/brycewang-stanford/Auto-Empirical-Research-Skills/main/skills/00.2-Full-empirical-analysis-skill_Stata/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/brycewang-stanford/Auto-Empirical-Research-Skills/main/skills/00.2-Full-empirical-analysis-skill_Stata/SKILL.md"# Full Empirical Analysis — Classical Stata Workflow This skill is the *canonical* 8-step pipeline an applied economist runs on every empirical paper, written in the **traditional Stata ecosystem** — native Stata + the 20+ community commands that have become de-facto standards (`reghdfe`, `ivreg2`, `csdid`, `did_imputation`, `eventstudyinteract`, `sdid`, `rdrobust`, `rddensity`, `synth`, `synth_runner`, `psmatch2`, `teffects`, `ebalance`, `coefplot`, `esttab`, `outreg2`, `boottest`, `ritest`, `rwolf`, `bacondecomp`, `honestdid`, `binscatter`). **Companion skills**: if the user wants the same pipeline in Python, route to `00-StatsPAI_skill` (agent-native DSL) or `00.1-Full-empirical-analysi