.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/auto-empirical-research-skills/00.2-full-empirical-analysis-skill_stata
home/skills/brycewang-stanford/auto-empirical-research-skills/00.2-full-empirical-analysis-skill_stata
brycewang-stanford avatar

00.2-Full-empirical-analysis-skill_Stata

bybrycewang-stanford· 161 skills

Stars

3.1k

Forks

409

Category

Data Science & Analytics

View on GitHub

TL;DR

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".

How to install 00.2-Full-empirical-analysis-skill_Stata?

brycewang-stanford/auto-empirical-research-skills/00.2-full-empirical-analysis-skill_stata
$npx -y skills add brycewang-stanford/auto-empirical-research-skills --skill 00.2-Full-empirical-analysis-skill_Stata

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/brycewang-stanford/auto-empirical-research-skills" --skill "brycewang-stanford/auto-empirical-research-skills/00.2-full-empirical-analysis-skill_stata"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/brycewang-stanford/auto-empirical-research-skills" that are relevant to the current task. Run `npx skills add "https://github.com/brycewang-stanford/auto-empirical-research-skills"` and select the relevant skills, then follow their instructions.

Preview

brycewang-stanford/auto-empirical-research-skillsbrycewang-stanford/auto-empirical-research-skills

$ npx -y skills add brycewang-stanford/auto-empirical-research-skills --skill 00.2-Full-empirical-analysis-skill_Stata

▸ installing to .claude/skills…

✓ 00.2-Full-empirical-analysis-skill_Stata ready

Repobrycewang-stanford/auto-empirical-research-skills
TypeSkills
CategoryData Science & Analytics
ForResearcherAnalyst
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. microsoft avatarazure-kustoQuery and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis.SkillsJul 2026484k1.3k
  2. coreyhaines31 avataranalyticsWhen the user wants to set up, improve, or audit analytics tracking and measurement.SkillsJul 202641k42k
  3. firecrawl avatarfirecrawl-dashboard-reportingPull metrics from analytics dashboards and internal web tools with Firecrawl browser.SkillsJun 202630k100
  4. wshobson avatardata-storytellingTransform data into compelling narratives using visualization, context, and persuasive structure.SkillsJul 202613k38k
  5. anthropics avatardata-visualizationCreate effective data visualizations with Python (matplotlib, seaborn, plotly).SkillsJul 202610k23k
  6. caffeinelabs avatarextension-oqlMake a canister's data queryable by the Caffeine Data Intelligence agent.SkillsJul 20268.8k0