AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

statsmodels Statistical Modeling Assistant

A skill that guides rigorous statistical modeling in Python with statsmodels — regression, GLM, discrete choice, and time series, plus diagnostics and inference.

Data & AnalyticsIntermediate★ 33,030⑂ 3,248AI score 9/10Last updated: Aug 9, 2026

What it does

  • Fits and interprets linear models (OLS, WLS, GLS, quantile regression, mixed effects).
  • Picks the right GLM (logistic, Poisson, Gamma) and discrete-outcome model (Logit/Probit, MNLogit, Negative Binomial, Zero-Inflated, Hurdle, ordinal).
  • Runs time series workflows: stationarity tests (ADF/KPSS), differencing, ACF/PACF order selection, ARIMA/SARIMAX/VAR fitting, forecasts with intervals, Ljung-Box checks.
  • Enforces good inference practice: heteroskedasticity/autocorrelation tests, VIF, influence diagnostics, robust/cluster SEs, AIC/BIC and likelihood-ratio comparisons.
  • Points to bundled topic references (linear models, GLM, discrete choice, time series, diagnostics) for deeper detail.

Who it's for

  • Econometricians, social scientists, and biostatisticians who need interpretable coefficients and hypothesis tests.
  • Researchers producing publication-ready coefficient tables and confidence intervals.
  • Analysts coming from scikit-learn who need a proper inference workflow.

Example uses

  1. "Fit OLS on this sales data, test for heteroskedasticity, then refit with robust standard errors."
  2. "Model churn (0/1) with Logit and report odds ratios plus average marginal effects."
  3. "Forecast 12 months of traffic with SARIMAX, including residual diagnostics and prediction intervals."

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/statsmodels/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/statsmodels folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/statsmodels/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/statsmodels ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and cd into a working directory.
  2. Clone the repo: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r scientific-agent-skills/skills/statsmodels ~/.claude/skills/
  5. Install Python deps: uv pip install statsmodels==0.14.6 (optional: uv pip install scikit-learn).
  6. Restart Claude Code and try a prompt like "run a regression with statsmodels on this dataset".