brycewang-stanford/StatsPAI

StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.

This repository also configures its own agents. See what StatsPAI tells them →

343Stars on the repository
4Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

StatsPAI_skill

01

brycewang-stanford/StatsPAI

Skill Claude CodeCodex

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…

not rated 343 +2 changed 17d ago D 604 tokens original MIT

statspai-analysis

02

brycewang-stanford/StatsPAI

Skill Claude CodeCodex

Run a full empirical / causal analysis in Python with StatsPAI (import statspai as sp) — applied-economics style (DID / RD / IV / synthetic control / DML / matching with estimating equation, identifying assumption, Table 1, main table, event-study figure, robustness gauntlet, Word / Excel / LaTeX export), epidemiology…

not rated 343 +2 changed 9d ago A 271 tokens original MIT