Skill
  • Claude Code
  • Codex
  • OpenCode
  • Grok
  • OpenClaw
  • Antigravity
  • Kimi Code
  • Qwen Code
  • +27more agents

Full empirical analysis skill Stata

brycewang-stanford/auto-empirical-research-skills

Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputat…

A skill in “Data, analytics and research”. Ready commands for Claude Code, Codex, OpenCode and 32 more agents.

Full description

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/ppmlhdfe), (6) robustness battery (bacondecomp/honestdid/rwolf/ritest/wildbootstrap/oster), (7) further analysis (subgroup/triple-diff/interactions/medsem/marginsplot/binscatter by group), (8) publication-ready tables & figures (esttab/outreg2/estout/coefplot/marginsplot/rdplot/twoway combined). **Also covers two parallel domain modes that share the same 8-step scaffolding** — **Mode A — Epidemiology / public health** (target-trial emulation, IPTW + g-formula + TMLE doubly-robust triplet via `teffects ipw` / `teffects ipwra` / `teffects aipw` / `eltmle`, Mendelian randomization via `mrrobust` (IVW / Egger / weighted median) and `mregger` / `mrpresso`, KM / Cox / AFT / RMST survival via `sts` / `stcox` / `streg` / `strmst2`, E-value sensitivity via `evalue` (Linden-Mathur), principal stratification — STROBE / TRIPOD reporting), and **Mode B — ML causal inference** (DML via `ddml` / `pdslasso`, S/T/X/R/DR meta-learners via `crforest` and `ddml interactive`, causal forest via `crforest` / `cforest`, BART/BCF via `bart` / `bartCause`-style externals, CATE distribution + policy tree via `crforest`, off-policy evaluation, conformal causal externals, fairness audit, DAG learning via `pcalg` / external Python callouts). Use when the user asks for a complete Stata empirical analysis, wants a reproducible .do-file pipeline, needs a Stata counterpart to the Python StatsPAI / Full-empirical-analysis-skill, or names a specific Stata step in isolation ("run reghdfe with two-way clustering", "csdid event study", "winsor2 at 1%", "esttab to LaTeX", "coefplot with CI", "ivreg2 weak-IV test", "synth_runner placebos", "teffects psmatch balance check"). Mode A triggers on "target trial emulation Stata", "teffects ipw aipw", "eltmle", "mrrobust", "mregger weighted median", "stcox AFT survival", "strmst2", "evalue Stata", "STROBE Stata", "公共健康 Stata", "流行病学 Stata". Mode B triggers on "ddml Stata", "pdslasso", "crforest causal forest Stata", "policy tree Stata", "因果机器学习 Stata".

  • Skill
  • Data, analytics and research
  • 35 agents
  • 5,431 stars
  • no license given

This entry comes from the GitSkills open dataset (CC-BY-4.0). ANG did not run or audit this skill; check the source before installing.

Install

Pick your program and the command types itself.

git clone --depth 1 https://github.com/brycewang-stanford/auto-empirical-research-skills

Then copy the plugins/empirical-analysis-stata/skills/pipeline folder into .claude/skills.

Commands are generated from the publisher’s registry data; ANG skills has not run or audited them.

Agent support

Which agents can read this entry, and which cannot.

Supported 35

  • Claude CodeReady command. Claude Code supports SKILL.md.Source
  • CodexReady command. Codex supports SKILL.md.Source
  • OpenCodeReady command. OpenCode supports SKILL.md.Source
  • GrokReady command. Grok supports SKILL.md.Source
  • OpenClawReady command. OpenClaw supports SKILL.md.Source
  • AntigravityReady command. Antigravity supports SKILL.md.Source
  • Kimi CodeReady command. Kimi Code supports SKILL.md.Source
  • Qwen CodeReady command. Qwen Code supports SKILL.md.Source
  • Gemini CLIReady command. Gemini CLI supports SKILL.md.Source
  • PiReady command. Pi supports SKILL.md.Source
  • GooseReady command. Goose supports SKILL.md.Source
  • AmpReady command. Amp supports SKILL.md.Source
  • Factory DroidReady command. Factory Droid supports SKILL.md.Source
  • Mistral VibeReady command. Mistral Vibe supports SKILL.md.Source
  • CrushReady command. Crush supports SKILL.md.Source
  • Hermes AgentReady command. Hermes Agent supports SKILL.md.Source
  • CodebuffReady command. Codebuff supports SKILL.md.Source
  • Rovo DevReady command. Rovo Dev supports SKILL.md.Source
  • QoderReady command. Qoder supports SKILL.md.Source
  • TRAEReady command. TRAE supports SKILL.md.Source
  • MiniMax CodeReady command. MiniMax Code supports SKILL.md.Source
  • MiMo CodeReady command. MiMo Code supports SKILL.md.Source
  • CursorReady command. Cursor supports SKILL.md.Source
  • GitHub CopilotReady command. GitHub Copilot supports SKILL.md.Source
  • KiroReady command. Kiro supports SKILL.md.Source
  • ClineReady command. Cline supports SKILL.md.Source
  • Kilo CodeReady command. Kilo Code supports SKILL.md.Source
  • JunieReady command. Junie supports SKILL.md.Source
  • Augment CodeReady command. Augment Code supports SKILL.md.Source
  • ZedReady command. Zed supports SKILL.md.Source
  • CodeBuddyReady command. CodeBuddy supports SKILL.md.Source
  • BLACKBOX AIReady command. BLACKBOX AI supports SKILL.md.Source
  • DevinReady command. Devin supports SKILL.md.Source
  • OpenHandsReady command. OpenHands supports SKILL.md.Source
  • Replit AgentReady command. Replit Agent supports SKILL.md.Source

Not documented 8

  • AiderNo SKILL.md support documented for Aider.Source
  • PlandexNo SKILL.md support documented for Plandex.Source
  • CodeGPTNo SKILL.md support documented for CodeGPT.Source
  • SWE-agentNo SKILL.md support documented for SWE-agent.Source
  • mini-SWE-agentNo SKILL.md support documented for mini-SWE-agent.Source
  • JulesNo SKILL.md support documented for Jules.Source
  • Open SWENo SKILL.md support documented for Open SWE.Source
  • GitLab DuoNo SKILL.md support documented for GitLab Duo.Source

Support comes from each agent’s official docs on SKILL.md and MCP; ANG has not run this entry on every agent.

In plain words

No tech background needed.

What is it?
A skill is a pack of instructions you load into your agent (like Claude Code or Codex). It is like installing an app on your phone: install it once and the agent knows how to do that job.
What is it for?
Used for “Data, analytics and research” work. In the publisher’s words: Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation + eventstudyinte…
Example request
“Research this topic and summarize it.”
Agents
Ready commands for Claude Code, Codex, OpenCode and 32 more agents.
Can I trust it?
5,431 GitHub stars · no license given. Check the source before installing.

Usage

Last 30 days, on the site and in agents.

A field score needs at least 20 users and 50 tasks from the ANG app; now 0 users, 0 tasks. Until then the power score is estimated from listing data.

Benchmark

How strong is it on each agent?

64power · 35 agents

Tracking just started Open chart
  • Claude Code64
  • Codex64
  • OpenCode64
  • Grok64
  • OpenClaw64
  • Antigravity64
  • Kimi Code64
  • Qwen Code64
  • Gemini CLI64
  • Pi64
  • Goose64
  • Amp64
  • Factory Droid64
  • Mistral Vibe64
  • Crush64
  • Hermes Agent64
  • Codebuff64
  • Rovo Dev64
  • Qoder64
  • TRAE64
  • MiniMax Code64
  • MiMo Code64
  • Cursor64
  • GitHub Copilot64
  • Kiro64
  • Cline64
  • Kilo Code64
  • Junie64
  • Augment Code64
  • Zed64
  • CodeBuddy64
  • BLACKBOX AI64
  • Devin64
  • OpenHands64
  • Replit Agent64

How is the score calculated?

In the community

Ask, share how you used it.

Start a topic about this skill

Similar

From Data, analytics and research.

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-*.json).Click to install

Skill195.7KGitHub stars

Cpu profile analysis

microsoft/vscode

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Team-management dashboard skill in the FlowAI aesthetic — three tabs (Team Members, Team Detail…Click to install

Skill110.9KGitHub stars

Flowai live dashboard template

nexu-io/open-design

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Analyze V8 heap snapshots to investigate memory leaks and retention issues.Click to install

Skill195.7KGitHub stars

Heap snapshot analysis

microsoft/vscode

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Pentagram Info-Architecture (信息建筑·红) — rational Swiss-grid data decks adapted from the ppt-pent…Click to install

Skill110.9KGitHub stars

Huashu pentagram grid

nexu-io/open-design

  • Claude Code
  • Codex
  • +33: OpenCode, Grok, OpenClaw, Antigravity, Kimi Code, Qwen Code, Gemini CLI, Pi, Goose, Amp, Factory Droid, Mistral Vibe, Crush, Hermes Agent, Codebuff, Rovo Dev, Qoder, TRAE, MiniMax Code, MiMo Code, Cursor, GitHub Copilot, Kiro, Cline, Kilo Code, Junie, Augment Code, Zed, CodeBuddy, BLACKBOX AI, Devin, OpenHands, Replit Agent

Ready to install?Install