statsmodels
Category: data-science-and-ml · License: BSD-3-Clause license · Version: 1.3
Tags: statistical models, regression, time series, econometrics, statistics
When to use it
Statistical models library for Python. Use when you need specific model classes (OLS, GLM, mixed models, ARIMA) with detailed diagnostics, residuals, and inference. Best for econometrics, time series, rigorous inference with coefficient tables. For guided statistical test selection with APA reporting use statistical-analysis.Example requests
Ask your agent in plain language, for example:- “How do I fit a negative binomial model in statsmodels and check whether my Poisson fit is overdispersed?”
- “I have panel.csv with columns firm_id, year, log_wage, tenure, educ. I ran smf.ols(‘log_wage ~ tenure + educ’, data=df).fit() and the Breusch-Pagan test rejects. Observations within firm are clearly correlated. How should I get defensible standard errors and show them in a table for my econometrics paper?”
- “I have 15 years of monthly retail sales numbers with an obvious holiday bump each December. I want a forecast for the next 12 months with uncertainty bands and some confidence that the model is reasonable.”
Install
/plugin marketplace add KalarisLabs/research-agent-skills and install the whole data-science-and-ml category with /plugin install data-science-and-ml@research-agent-skills.

