Data and databases · Independent · 22 Oct 2026

statsmodels/statsmodels

Statsmodels: statistical modeling and econometrics in Python

← Data and databases
Statsmodels: statistics in Python. Builds statistical models and runs tests.

In simple English

You have a collection of numbers and want to find patterns or test a theory. This software package runs standard statistical tests and fits mathematical models. It helps you see if a trend is real or just random noise. You need some knowledge of statistics and the Python programming language to use it. It is free to use under a standard open-source licence.

What it is

Statsmodels is a Python (a programming language that lets you write code quickly) library for statistical computations, regression analysis, and time series forecasting. It provides tools that complement SciPy (a library for mathematics, science, and engineering) by offering deep statistical model estimation and hypothesis testing.

What it is good for

Data scientists, researchers, and solo builders who need to run rigorous statistical tests, forecast time series data, or fit linear models without building the math from scratch.

Stars12k
LicenceBSD-3-Clause
Latestv0.15.0 (2026-08-27)checked 22 Oct 2026
Last code change2026-10-22
Written inPython
Setup effort
2 / 5
Payoff
5 / 5
Good
  • Covers a massive range of statistical models from linear regression to survival analysis.
  • Includes built-in datasets for testing examples and learning how models work.
  • Integrates smoothly with pandas dataframes for handling tabular data.
Watch for
  • Requires a strong background in statistics to understand model outputs and settings.
  • Documentation can be dense and academic for non-programmers or beginners.
  • Large open issue count suggests some edge cases or feature requests wait a long time for fixes.
Replaces

manual statistical calculations in spreadsheets

Works well with

pandas

Similar repositories
  • scikit-learn/scikit-learn68k stars

    Another major Python library for machine learning and data analysis, focused more on prediction than statistical inference.

  • pymc-devs/pymc9.8k stars

    A Python library for probabilistic programming and Bayesian statistical modeling.

Also reviewed on Repo Radar
  • dbeaver/dbeaver52k stars

    A free desktop program that connects to more than a hundred kinds of database and lets you browse and edit them.

  • sqlfluff/sqlfluff10.0k stars

    A tool that checks SQL files for style problems and fixes most of them.

  • dimitri/pgloader6.5k stars

    Loads data into PostgreSQL from other databases and from files, keeping going when individual rows fail.

Install
source venv/bin/activate
pip install statsmodels

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Commerce & Finance › Trading & Investing › Time Series Analysis.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.