← All skills
StatsPAI_skill
75 / 100 · Review before installing
Check before installing.
By brycewang-stanford/Auto-Empirical-Research-Skills (GitHub) · research · 5,016 stars · scanned at commit 8684584
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud / AEJ) with DID / RD / IV / SCM / DML / matching, written-out estimating equation + identifying assumption, Table 1 / Table 2 / event-study figure / robustness gauntlet — OR in epidemiology / public health style (target-trial emulation, IPTW + g-formula + TMLE triplet, Mendelian randomization, KM/AFT survival, E-value sensitivity, STROBE/TR…
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 15 places.
Show 12 more
- skills/00-Full-empirical-analysis-skill_StatsPAI/README.md, line 141
> The bare `pip install statspai` does **not** pull `pyfixest` (needed by `sp.feols`, the default for any `y ~ x | fe` regression — it raises `ImportError` with - skills/00-Full-empirical-analysis-skill_StatsPAI/README.md, line 322
pip install "statspai[fixest,plotting]" - skills/00-Full-empirical-analysis-skill_StatsPAI/README.md, line 325
pip install "statspai[fixest,plotting,neural,text]" - skills/00-Full-empirical-analysis-skill_StatsPAI/README.md, line 328
> 仅 `pip install statspai` **不会**装上 `pyfixest`(`sp.feols` 需要它——任何 `y ~ x | fe` 回归的默认入口,缺失会 `ImportError`)、matplotlib(任何图)、torch(`dragonnet`/`tarnet`/`cevae`)。完整 - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 90
- **Install**: `pip install "statspai[fixest,plotting]"` (API surface re-validated against **statspai 1.19.0** — every `sp.*` reference, signature, and result-o - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 97
> | `sp.feols` / `sp.fepois` / `sp.feglm` (high-dim FE — the **default** for any `y ~ x \| fe` regression) | `fixest` (pyfixest) | `pip install "statspai[fixest - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 98
> | Any figure (`sp.coefplot`, `sp.binscatter`, event-study/RD/SCM plots, `.plot()`) | `plotting` (matplotlib/seaborn) | `pip install "statspai[plotting]"` | `I - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 99
> | `sp.dragonnet` / `sp.tarnet` / `sp.cfrnet` / `sp.cevae` (neural causal) | `neural` (torch) | `pip install "statspai[neural]"` | `ImportError: PyTorch is req - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 100
> | `sp.causal_text.*` (text-as-treatment) | `text` (sentence-transformers) | `pip install "statspai[text]"` | `ImportError` on embed | - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 102
> A one-shot install covering the whole skill: `pip install "statspai[fixest,plotting,neural,text]"`. `sp.regtable` / `sp.collect` / Word+Excel+LaTeX export, `s - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 429
| Title still shows ▢▢▢ tofu after `setup_plot()` | Host has none of the listed fonts. Install one — **macOS**: pre-installed (no action). **Linux**: `sudo apt - skills/00-Full-empirical-analysis-skill_StatsPAI/SKILL.md, line 2227
| `sp.feols(...)` without installing pyfixest | `sp.feols`/`fepois`/`feglm` need `pip install "statspai[fixest]"`; neural causal needs `[neural]` (torch); plots
Changes files outside its own folder
The author does not mention this.
Found in 5 places.
Show 2 more
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'statspai-skill' ] || [ -L ~/.agents/skills/'statspai-skill' ]; then echo 'A skill folder named statspai-skill already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills' "$d" && git -C "$d" checkout --quiet '8684584e7d1127940f018157d2c579974fae8f79' -- 'skills/00-Full-empirical-analysis-skill_StatsPAI' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/00-Full-empirical-analysis-skill_StatsPAI' ~/.agents/skills/'statspai-skill' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'statspai-skill' ~/.claude/skills/'statspai-skill' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for brycewang-stanford/Auto-Empirical-Research-Skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/brycewang-stanford/Auto-Empirical-Research-Skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-10 | 8684584 | 75 |
| 2026-11-08 | bfa0a6e | 75 |
| 2026-11-07 | bfa0a6e | 75 |