As of May 31, 2023, we have updated our Code of Conduct.

A Python module for exploration, testing, and estimation. Do not use this tag for general statistical modeling questions! Nb, questions only about the module itself, Python, or coding will likely be off topic.

Statsmodels is a Python module that allows users to explore data, estimate statistical models, and perform statistical tests (

Code Language (used for syntax highlighting): lang-py