Statsmodels
Comprehensive statistical modeling toolkit covering regression, GLMs, discrete choice, and time series with diagnostics.
- CCM score
- 65 of 100
- skills.sh installs
- 426
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers linear, generalized, discrete-outcome, and time series models plus hypothesis tests and model comparison
- Includes OLS, WLS, GLS, quantile regression, GLM families, Logit, Probit, MNLogit, Poisson, and ARIMA/SARIMAX/VAR
- Provides diagnostics such as Breusch-Pagan heteroskedasticity tests, ADF stationarity checks, influence statistics, and AIC/BIC comparison
- Designed for rigorous inference and econometric analysis in Python, with reference guides for model selection and interpretation
Install
$ npx -y skills add davila7/claude-code-templates --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 is Python's premier library for statistical modeling, providing tools for estimation, inference, and diagnostics across a wide range of statistical methods. Apply this skill for rigorous statistical analysis, from simple linear regression to complex time series models and econometric analyses.
When to Use This Skill
This skill should be used when:
- Fitting regression models (OLS, WLS, GLS, quantile regression)
- Performing generalized linear modeling (logistic, Poisson, Gamma, etc.)
- Analyzing discrete outcomes (binary, multinomial, count, ordinal)
- Conducting time series analysis (ARIMA, SARIMAX, VAR, forecasting)
- Running statistical tests and diagnostics
- Testing model assumptions (heteroskedasticity, autocorrelation, normality)
- Detecting outliers and influential observations
- Comparing models (AIC/BIC, likelihood ratio tests)
- Estimating causal effects
- Producing publication-ready statistical tables and inference
Quick Start Guide
Linear Regression (OLS)
import statsmodels.api as sm
import numpy as np
import pandas as pd
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Data Science & Analytics, Python
- First seen
- Jun 3, 2026
Questions
What does the statsmodels skill do for Claude Code?
The statsmodels skill gives the agent a statistical modeling toolkit covering OLS, GLM, logistic regression, ARIMA, time series, hypothesis tests, diagnostics, and AIC/BIC model comparison. It is meant for rigorous statistical inference and econometric analysis in Python.
How do I install the statsmodels skill?
Run npx -y skills add davila7/claude-code-templates --skill statsmodels -y in your project. Once installed, the agent can fit regression, logistic, and time series models and run diagnostic tests on your data.
Who should use the statsmodels skill?
It suits developers and analysts who need regression, generalized linear models, discrete outcome models, or ARIMA forecasting with proper inference. It is aimed at statistical modeling and econometric work rather than general machine learning.
Where does statsmodels stand in Data Science & Analytics on Claude Marketplaces?
Statsmodels is listed in the Data Science & Analytics category on Claude Marketplaces, alongside skills such as azure-kusto and analyze-project. It stands apart by focusing on statistical inference, hypothesis tests, and econometric diagnostics.
More from davila7/claude-code-templates
All 398- Prompt Library425
- Telegram Mini App422
- Pricing Strategy419
- Ml Paper Writing417
- Workflow Automation417
- Openalex Database416
- Shopify Development413
- Nextjs Supabase Auth411
- Clinicaltrials Database409
- Error Resolver409
- Geopandas408
- Bash Linux406
- Email Composer406
- Treatment Plans406
- App Store Optimization405
- Micro Saas Launcher401
- Interactive Portfolio400
- Paper 2 Web400
- Ai Product399
- Sympy397
- Vulnerability Scanner397
- Hypothesis Generation396
- Pytorch Fsdp395
- Using Superpowers395
Similar to Statsmodels
More Data Science & Analyticsstatistical-analysisSkilldavila7/claude-code-templates770 installsStatistical analysis toolkit covering hypothesis tests, regression, Bayesian methods, and APA reporting for academic research.
seabornSkilldavila7/claude-code-templates565 installsStatistical visualization toolkit covering scatter, box, violin, heatmap, pair, regression, KDE, and faceted plots.
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
longbridge-quant-statsSkilllongbridge/skills494 installsQuantitative statistics toolkit for stationarity, cointegration, and volatility tests on Longbridge price series.
data-exploration-visualizationSkillliangdabiao/claude-data-analysis-ultra-main160 installsAutomated EDA toolkit that runs data diagnosis, charting, modeling, and HTML report generation for data work.