Agent skill · research science · davila7

statsmodels

Statistical modeling toolkit. OLS, GLM, logistic, ARIMA, time series, hypothesis tests, diagnostics, AIC/BIC, for rigorous statistical inference and econometric analysis.

Why this skill is useful

Provides domain-specific statistical modeling techniques and commands that the AI wouldn't reliably generate on its own.

What it needs

Requires matplotlib, numpy, pandas, scikit-learn, statsmodels installed locally. About 9k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

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) Logistic Regression (Binary Outcomes) Time Series (ARIMA) Generalized Linear Models (GLM) Core Statistical Modeling Capabilities 1. Linear Regression Models Comprehensive suite of linear models for continuous outcomes with various error structures. Available models: OLS: Standard linear regression with i.i.d. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/statsmodels

View the source on GitHub

Browse the @skills marketplace