Skip to content

Python statistical modeling library covering regression, GLMs, discrete choice, and time series with explicit inference and diagnostics.

CCM score
63 of 100
skills.sh installs
2.5K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers linear regression, GLMs, discrete outcome models, mixed models, ARIMA, SARIMAX, and VAR with coefficient tables and forecasting
  • Includes references for linear models, GLMs, discrete choice, time series, model selection, and diagnostics with executable quick-start examples
  • Enforces intercept specification, missing-value checks, and train-only preprocessing, and warns that AIC/BIC comparisons need identical response and rows
  • Designed for econometrics and rigorous inference; for guided test selection with APA reporting, use statistical-analysis

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What is the statsmodels skill for Claude Code and other agents?

The statsmodels skill guides an agent to fit and diagnose Python statistical models such as OLS, GLM, discrete and mixed models, ARIMA and SARIMAX. It covers coefficient inference, marginal effects, model comparison and time series forecasting with explicit design and uncertainty checks.

Who should use the statsmodels skill?

It suits analysts and researchers doing econometrics, time series work or rigorous inference with coefficient tables and residual diagnostics. For guided statistical test selection with APA reporting, the listing points to the separate statistical-analysis skill instead.

What does the statsmodels skill need to run?

It requires Python 3.10 or newer and statsmodels 0.15.0, and the tested NumPy and SciPy stack needs Python 3.12 or newer. Plotting needs matplotlib and predictive metrics need scikit-learn, and no credentials are required.

How do I install the statsmodels skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill statsmodels -y in your project. The skill then lets the agent apply the statsmodels workflows for regression, GLM, time series and diagnostics in that project.

Where does statsmodels rank in the Data Science and Analytics category?

It ranks in the top 100 of the Data Science and Analytics category on Claude Marketplaces. It sits alongside skills such as azure-kusto and analyze-project, and it differs by focusing on model classes with detailed diagnostics and coefficient tables.

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

All 132

Similar to Statsmodels

More Data Science & Analytics