Statsmodels
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
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 -yInstalls 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- Markitdown2.5K
- Hypothesis Generation2.5K
- Markdown Mermaid Writing2.4K
- Seaborn2.4K
- Database Lookup2.4K
- Scholar Evaluation2.4K
- Polars2.4K
- Latex Posters2.4K
- Pptx Posters2.4K
- Sympy2.4K
- Bgpt Paper Search2.4K
- Pytorch Lightning2.4K
- Research Grants2.4K
- Networkx2.3K
- Aeon2.3K
- Shap2.3K
- Transformers2.3K
- Pyzotero2.3K
- Generate Image2.3K
- Infographics2.3K
- Matlab2.3K
- Dask2.3K
- Market Research Reports2.3K
- Get Available Resources2.3K
Similar to Statsmodels
More Data Science & Analyticsstatistical-analysisSkillk-dense-ai/scientific-agent-skills2.7K installsGuided statistical analysis that selects tests, checks assumptions, reports effect sizes, and formats APA results.
Regression ModelingSkillaj-geddes/useful-ai-prompts479 installsRegression modeling toolkit that fits linear, polynomial, and regularized models with a shared evaluation workflow.
r-econometricsSkillmeleantonio/awesome-econ-ai-stuff349 installsGuided R workflow for IV, DiD, and RDD analyses with fixest-based code and built-in diagnostics.
empirical-analysis-pythonPluginbrycewang-stanford/Auto-Empirical-Research-Skills5.1K starsExplicit 8-step empirical-analysis pipeline in the traditional Python econometrics stack (pandas + statsmodels + linearmodels + pyfixest + rdrobust + econml + c
scikit-learnSkillk-dense-ai/scientific-agent-skills2.6K installsMachine learning in Python with scikit-learn covering supervised, unsupervised, evaluation, and pipeline workflows.
Time Series AnalysisSkillaj-geddes/useful-ai-prompts620 installsWalk through time series decomposition, stationarity testing, ARIMA, and exponential smoothing forecasts in Python code.