Statistical modeling: OLS/WLS/GLS, GLM (logit, probit, Poisson), time series (ARIMA, VAR), mixed effects, diagnostics.

Custom licenceAuto-check passedData & Analytics

Install Statsmodels

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill statsmodels -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills statsmodels --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/statsmodels .claude/skills/statsmodels && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
statsmodels
GitHub stars
4.5k
Token cost
~3.4k tokens
SKILL.md length
951 words
Files
8 (incl. references)
Skills in repo
369
Repo updated
First seen
Licence
Custom licence

At a glance

Statistical modeling: OLS/WLS/GLS, GLM (logit, probit, Poisson), time series (ARIMA, VAR), mixed effects, diagnostics.

  • Works in 5 steps: New to statsmodels? Start with… → Need GLM or logit/probit? Read… → Time series analysis? Read quickstart.md… → …
  • Regressions without fixed effects
  • SKILL.md covers What is statsmodels?, How to Use This Skill, Related Skills and Quick Decision Trees, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Statsmodels is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Statistical modeling: OLS/WLS/GLS, GLM (logit, probit, Poisson), time series (ARIMA, VAR), mixed effects, diagnostics. Formula API. Use for regressions without fixed effects, GLMs, or time series. For FE/DiD use pyfixest; panel/IV use linearmodels.

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/diagnostics.md`, `references/glm-discrete.md` and `references/gotchas.md`).

It sits in Data & Analytics, covering Forecasting and time series and Statistics. It works with statsmodels. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Regressions without fixed effects
  • Tasks that involve Forecasting and time series
  • Tasks that involve Statistics

Example prompts

  • “/statsmodels”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. New to statsmodels? Start with quickstart.md then linear-models.md
  2. Need GLM or logit/probit? Read quickstart.md then glm-discrete.md
  3. Time series analysis? Read quickstart.md then time-series.md
  4. Checking model assumptions? Read diagnostics.md
  5. Coming from R? Read quickstart.md (formula API mirrors R syntax)

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Statsmodels loads about 3.4k tokens when it runs, and up to ~36k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 951 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~36k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 951 words (~3,446 tokens).

“statsmodels general-purpose statistical modeling library for Python. Covers OLS/WLS/GLS, GLM (logit, probit, Poisson, negative binomial), discrete choice models, time series (ARIMA, SARIMAX, VAR), mixed effects (MixedLM), robust regression, hypothesis tests, and comprehensive diagnostics. Supports R-style formula API. Use when fitting…”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
statsmodels
metadata.audience
research-coders
metadata.domain
python-library
metadata.library-version
0.14.6
metadata.skill-last-updated
2026-03-27

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (references) in skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/statsmodels of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • references/diagnostics.md
  • references/glm-discrete.md
  • references/gotchas.md
  • references/hypothesis-testing.md
  • references/linear-models.md
  • references/quickstart.md
  • references/time-series.md

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Statsmodels next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Statsmodels compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Statsmodels this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~3.4kAutomated safety check: PassCustom licence
StatsmodelszLanqing/codex-claude-academic-skills4.6k16 repos~4.9kAutomated safety check: PassBSD-3-Clause
Quant Statistical MethodsHKUDS/Vibe-Trading35k—~4kAutomated safety check: PassMIT
StatsmodelsK-Dense-AI/scientific-agent-skills48k1 repos~3.2kAutomated safety check: NotesBSD-3-Clause
Automl SkillLeoYeAI/openclaw-master-skills2.2k—~3.6kAutomated safety check: PassMIT
Statsmodels Statistical Modelingmajiayu000/claude-skill-registry6662 repos~4.2kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Statsmodels

    zLanqing/codex-claude-academic-skills

    Statistical models library for Python. An agent skill from zLanqing/codex-claude-academic-skills.

    4.6k GitHub starsUsed in 16 repos~4.9k tokens
    Data & AnalyticsAuto-check passed
  • Quant Statistical Methods

    HKUDS/Vibe-Trading

    Guides your agent through unit-root, cointegration, GARCH, bootstrap and regression-diagnostic tests on financial time series, using a tested helper module.

    35k GitHub stars~4k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Statsmodels

    K-Dense-AI/scientific-agent-skills

    Fits and diagnoses Python statistical models including OLS, GLM, discrete and mixed models, ARIMA and SARIMAX.

    48k GitHub starsUsed in 1 repo~3.2k tokens
    Data & AnalyticsAuto-check: notes
  • Automl Skill

    LeoYeAI/openclaw-master-skills

    AutoML 自动化机器学习技能 | Automated Machine Learning Skill. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub stars~3.6k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • Statsmodels Statistical Modeling

    majiayu000/claude-skill-registry

    Python statistical modeling: regression (OLS, WLS, GLM), discrete (Logit, Poisson, NegBin), time series (ARIMA, SARIMAX, VAR), with rigorous inference, diagnostics, and hypothesis tests.

    666 GitHub starsUsed in 2 repos~4.2k tokens
    Data & AnalyticsAuto-check passed
  • Infers directed, time-delayed gene regulatory edges from BULK time-series expression using Granger causality (statsmodels VAR F-test), dynGENIE3 (tree ensembles regressing ODE-derived derivatives…

    1.2k GitHub starsUsed in 1 repo~5k tokens
    Research & ScienceAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 369 skills in this repo
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 2 days ago
    Auto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.5k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Statsmodels

What does Statsmodels do?

Statistical modeling: OLS/WLS/GLS, GLM (logit, probit, Poisson), time series (ARIMA, VAR), mixed effects, diagnostics. Statsmodels is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Statistical modeling: OLS/WLS/GLS, GLM (logit, probit, Poisson), time series (ARIMA, VAR), mixed effects, diagnostics.

When should I use Statsmodels?

Statsmodels fits situations like: regressions without fixed effects; tasks that involve Forecasting and time series; tasks that involve Statistics.

How do I install Statsmodels in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill statsmodels -a claude-code`. Or copy the skill folder (skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/statsmodels in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/statsmodels in your project. Claude Code loads it when a task matches its description.

How do I install Statsmodels in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill statsmodels -a codex`. Or copy the skill folder (skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/statsmodels in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/statsmodels in your project. Codex loads it when a task matches its description.

Can I use Statsmodels in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill statsmodels -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/statsmodels, .gemini/skills/statsmodels, .github/skills/statsmodels and .opencode/skills/statsmodels in your project.

What does Statsmodels need to run?

SKILL.md names no scripts, command-line tools or credentials: Statsmodels is instructions for the agent only. Our summary lists: Python 3.

Does Statsmodels access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Statsmodels safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Statsmodels use?

Statsmodels has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Statsmodels use?

About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 32k tokens, read only when the agent opens those files.

What are the alternatives to Statsmodels?

Skills that share tags, products or a category with Statsmodels: Statsmodels (zLanqing/codex-claude-academic-skills, 4.6k stars), Quant Statistical Methods (HKUDS/Vibe-Trading, 35k stars), Statsmodels (K-Dense-AI/scientific-agent-skills, 48k stars) and Automl Skill (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Statsmodels?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,517 GitHub stars. The repository holds 369 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.