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

Full-empirical-analysis-skill-R

brycewang-stanford/Auto-Empirical-Research-Skills/plugins/empirical-analysis-r/skills/pipeline

Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest + clubSandwich + AER + ivreg + did + bacondecomp + HonestDiD + eventstudyr + rdrobust + rddensity + Synth + gsynth + synthdid + MatchIt + WeightIt + cobalt + ebal + grf + DoubleML + mediation + marginaleffects + modelsummary + kableExtra + gt + ggplot2 + ggpubr + cowplot + binsreg. **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 R pipeline an applied economist runs on every paper — (1) data import & cleaning (read_dta/read_csv, naniar, janitor, validate-merges), (2) variable construction (mutate/across/winsorize/group_by + lag/lead with dplyr), (3) descriptive statistics & Table 1 (gtsummary, modelsummary::datasummary, tableone), (4) classical diagnostic tests (shapiro/jarque.bera.test/bptest/dwtest/bgtest/vif/adf.test/kpss.test/Hau

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

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

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

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

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

Esc

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