Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs AER-track causal inference, robustness, and sensitivity analyses in Python via StatsPAI, exporting publication-ready tables.
23% 77%+55 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 5 of 22 without it.
In an administrative threshold design, we need to test for manipulation or sorting of running variable values near the cutoff. Which function in our econometric engine conducts this density discontinuity test?
Uses rddensity to execute the McCrary density test
3 of 3 safety checks passed
aer-statspai is the implementation engine option for this stack. Where
aer-identification and aer-robustness decide which estimator and which
diagnostics a referee will demand, this skill is about running them — through
StatsPAI, an open-source,
agent-native Python platform that exposes 1,000+ causal-inference and
econometrics functions behind one unified API, plus a machine-readable MCP
server an agent can drive directly.
It is one more choice, not a replacement. The Stata / R / Python templates in
templates/ remain the default for users who want drop-in, version-pinned
scripts. Reach for StatsPAI when you want a single Python surface that covers the
whole AER identification toolkit, self-describes its assumptions to an agent, and
exports publication-ready LaTeX / Word / Excel tables from the estimator object.
This skill does not override the methodology. The modern-default rules in
aer-identification (no TWFE on staggered data, Anderson-Rubin under weak IV,
local-linear RDD, placebo inference for SCM) still bind. StatsPAI executes those
rules; it does not relax them.
fixest, did, rdrobust,
linearmodels, and scdatastatspai) and you can
chain detect_design → recommend → fit → audit_result → sensitivity → bibtex.to_latex(), .to_docx(), .to_excel()) to hand to aer-tables-figures.do files) → use templates/stata/Next to this one in the catalogue, plus more from the same author.