When you need to fit OLS, logistic regression, ARIMA models, or any serious statistical analysis with proper inference tables, this is your tool. It gives you coefficient estimates, p-values, confidence intervals, and all the diagnostic tests you'd expect for publication-quality work. The skill covers linear models, GLMs across different distributions, discrete choice models, and time series. It's heavier than scikit-learn but that's the point: you get rigorous econometric analysis with residual diagnostics, heteroskedasticity tests, and marginal effects. If you're doing statistical modeling where the inference matters as much as the predictions, this is the standard library for it.

skills.sh installs
2.3K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill statsmodels --agent claude-code

Installs into .claude/skills of the current project.

Files

Statsmodels: Statistical Modeling and Econometrics

Overview

Statsmodels provides estimation, inference and diagnostics for regression, time series and econometric models. A successful fit establishes numerical execution; causal identification, calibrated uncertainty and model adequacy require a defensible study design and assumptions.

Current Compatibility

Reviewed against statsmodels 0.15.0 (released August 27, 2026). Native checks used Python 3.13, NumPy 2.5.3, SciPy 1.18.1, pandas 3.0.6, matplotlib 3.11.2 and scikit-learn 1.9.1. Install in a dedicated environment:

uv pip install statsmodels==0.15.0 numpy==2.5.3 scipy==1.18.1 pandas==3.0.6 matplotlib==3.11.2 scikit-learn==1.9.1

Use statsmodels.api and statsmodels.formula.api for stable high-level imports, and direct module imports when examples require newer or specialized classes such as HurdleCountModel.

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Testing & QA, AI & Agent Building, Python
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1triggerdotdev avatartrigger-configtriggerdotdev/skillsConfigure Trigger.dev projects with trigger.config.ts. Use when setting up build extensions for Prisma, Playwright, FFmpeg, Python, or customizing deployment se2.3Kskills.sh installs
2web-infra-dev avatarcomputer-automationweb-infra-dev/midscene-skillsVision-driven desktop automation using Midscene. Control your local desktop (macOS, Windows, Linux) or a remote Windows desktop over RDP with natural language c2.2Kskills.sh installs
3google-deepmind avatarinterpro-databasegoogle-deepmind/science-skillsIdentify domains, families, and sites in proteins; find all proteins in a family or sharing a domain; explore species distribution for a domain; annotate genome2.2Kskills.sh installs
4nvidia avatarrag-perfnvidia/skillsPerformance benchmarking for a deployed NVIDIA RAG Blueprint server: profiling pass + aiperf load test driven by a single YAML config. Not for accuracy / RAGAS 2.2Kskills.sh installs
5okx avatarokx-a2a-paymentokx/onchainos-skillsDEPRECATED legacy alias — a2a-pay support has been merged into `okx-agent-payments-protocol` (see `references/a2a_charge.md`). This stub exists only so that leg2.2Kskills.sh installs
6k-dense-ai avatarget-available-resourcesk-dense-ai/scientific-agent-skillsDetect host inventory and effective CPU, memory, disk, scheduler, container, and accelerator limits when a user asks for resource-aware planning or before a cle2.1Kskills.sh installs