Skip to content

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
View on GitHub

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 -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 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

Similar to Statsmodels

More Data Science & Analytics