skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Data Analysis / Statsmodels Skill by @K-Dense-AI
The skill is the skills/statsmodels folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
Fits and diagnoses Python statistical models including OLS, GLM, discrete and mixed models, ARIMA and SARIMAX.
Fits and diagnoses Python statistical models: OLS, GLMs, discrete and mixed models, ARIMA and SARIMAX, with coefficient inference, marginal effects, model comparison and forecasting.
The original SKILL.md is organised into these sections:
Written and maintained by @K-Dense-AI. It is published under the MIT license, which allows reuse with attribution. See the author profile. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
# Statsmodels: Statistical Modeling and Econometrics ## Overview Statsmodels provides estimation, inference and diagnostics for regression, time series and econometric models. A successful fit establishes numerical execution; causal identification, calibrated uncertainty and model adequacy require a defensible study design and assumptions. ## Current Compatibility Reviewed against statsmodels 0.15.0 (released August 27, 2026). Native checks used Python 3.13, NumPy 2.5.3, SciPy 1.18.1, pandas 3.0.6, matplotlib 3.11.2 and scikit-learn 1.9.1. Install in a dedicated environment: ```bash uv pip install statsmodels==0.15.0 numpy==2.5.3 scipy==1.18.1 pandas==3.0.6 matplotlib==3.11.2 scikit-learn==1.9.1 ``` Use `statsmodels.api` and `statsmodels.formula.api` for stable high-level imports, and direct module imports when examples require newer or specialized classes such as `HurdleCountModel`. …
Excerpt only, quoted from the author's repository. Open the repository for the complete file.