---
title: "Statsmodels: econometric and statistical modeling with Python"
description: "The authors present statsmodels, a SciKit add-on to NumPy/SciPy. 4 references, cited by 75 papers here."
authors: ["Skipper Seabold", "Josef Perktold"]
year: 2010
venue: "Proc. 9th Python in Science Conf. (SciPy 2010)"
source: "https://proceedings.scipy.org/articles/Majora-92bf1922-011"
licence: "CC BY (SciPy Proceedings)"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/seabold-2010-statsmodels-econometric-statistical-modeling-python/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/seabold-2010-statsmodels-econometric-statistical-modeling-python/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2010](https://md.research.elamur.ai/free/en/papers/2010/) / Statsmodels: econometric and statistical modeling with Python

# Statsmodels: econometric and statistical modeling with Python

**Authors:** Skipper Seabold and Josef Perktold · **Year:** 2010 · **Venue:** [Proc. 9th Python in Science Conf. (SciPy 2010)](https://md.research.elamur.ai/free/en/venues/proceedings-of-the-python-in-science-conferences/) ([Proceedings of the Python in Science Conferences 2010](https://md.research.elamur.ai/free/en/venues/proceedings-of-the-python-in-science-conferences/2010/)) · **Licence:** CC BY (SciPy Proceedings)

**Links:** [Publisher's page](https://doi.org/10.25080/majora-92bf1922-011) · [PDF](http://conference.scipy.org.s3-website-us-east-1.amazonaws.com/proceedings/scipy2010/pdfs/seabold.pdf) · [OpenAlex](https://openalex.org/W2181523240)

**Citations:** 6,465 citations (OpenAlex, 2026-10-14) · [75](https://md.research.elamur.ai/free/en/papers/seabold-2010-statsmodels-econometric-statistical-modeling-python/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
Economists have mostly done statistical work in proprietary tools such as Stata, SAS, GAUSS, MATLAB and NLOGIT, or in R. Python had no dedicated package for estimating and testing statistical and econometric models. The authors present statsmodels, a SciKit add-on to NumPy/SciPy. It began as Jonathan Taylor's models code, which moved from SciPy to NIPY and was then developed further during Google Summer of Code 2009 and 2010.

The design treats a model as an object that reduces data. A base Model class holds endog and exog data and provides placeholders for fit and predict. LikelihoodModel supports the regression models. Fitting returns Results objects that compute their statistics lazily, only when requested.

To ensure correctness, the developers follow a test-driven workflow. Outputs are checked against R, SAS, Stata or Monte Carlo simulations, and any mismatches are documented. Worked examples, including OLS on the highly collinear Longley data, show a uniform API across models. The paper matters because it laid out a transparent, replicable, open-source foundation for statistical modeling in Python.

## Key points
- The main codebase has five model modules:
  - regression (OLS, WLS, GLS)
  - glm (six exponential-family distributions, at least ten link functions)
  - rlm (M-estimators with eight norms)
  - discretemod (Logit, Probit, MNLogit and Poisson, estimated by maximum likelihood)
  - contrast
- Supporting tools include:
  - tests for heteroskedasticity and autocorrelation
  - a framework for linear hypotheses on coefficients
  - descriptive statistics
  - SimpleTable output with LaTeX export
  - a reader for Stata .dta files
- The package ships fourteen datasets. The Longley 1967 data, with a condition number of 456,037, is used to check least-squares accuracy, and parameters are computed by default via the pseudoinverse.
- The development process uses distributed version control branches and a sandbox directory, with tests against reference software and code review on the mailing list. Releases are distributed via PyPI/easy_install.
- Planned additions include time-series models, kernel density estimation and nonparametric regression, panel data, systems of equations, and maximum entropy models.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [University of North Carolina at Chapel Hill](https://md.research.elamur.ai/free/en/universities/university-of-north-carolina-at-chapel-hill/) — University, Chapel Hill, United States · 74 works · 23,278 citations
- [American University](https://md.research.elamur.ai/free/en/universities/american-university/) — University, Washington, United States · 2 works · 6,540 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 17,965 works · [➗ Mathematics](https://md.research.elamur.ai/free/en/shelves/mathematics/) · 189 works · [➗ Statistics and Probability](https://md.research.elamur.ai/free/en/shelves/mathematics/statistics-and-probability/) · 19 works

## Cite

Cite as: Skipper Seabold and Josef Perktold. 2010. Statsmodels: econometric and statistical modeling with Python. Proc. 9th Python in Science Conf. (SciPy 2010).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{seabold2010statsmodels,
  title = {{Statsmodels: econometric and statistical modeling with Python}},
  author = {Skipper Seabold and Josef Perktold},
  booktitle = {Proc. 9th Python in Science Conf. (SciPy 2010)},
  year = {2010},
  doi = {10.25080/majora-92bf1922-011},
  url = {https://doi.org/10.25080/majora-92bf1922-011}
}
```

- [← previous Data structures for statistical computing in Python](https://md.research.elamur.ai/free/en/papers/mckinney-2010-data-structures-statistical-computing-python/)
- [next → From Frequency to Meaning: Vector Space Models of Semantics](https://md.research.elamur.ai/free/en/papers/turney-2010-frequency-meaning-vector-space-models/)
- [↑ back to papers of 2010](https://md.research.elamur.ai/free/en/papers/2010/)

## References

4 references, 0 of them with a card of ours. ↗ leads to the work.

1. [AltmanMcDonald] M. Altman and M.P. McDonald. 2003. "Replication with Attention to Numerical Accuracy." Political Analysis, 11.3, 302-7. [BilinaLawford] R. Bilina and S. Lawford. July 4, 2009. Python for Unified Research in Econometrics and Statistics, July 4, 2009. Available at SSRN: [http://ssrn.co…](http://ssrn.co…) [↗](http://ssrn.co…)
2. Cryer and K.S. Chan. 2008. Time Series Analysis: with Applications in R, Springer. [Enthought] Enthought Tool Suite. Available at [http://code.enthought.com/](http://code.enthought.com/). [Gill] J. Gill. 2001. Generalized Linear Models: A Unified Approach. Sage Publications. [Greene] W. H. Greene. 2003. Econometric Analysis 5th… [↗](http://code.enthought.com/)
3. Isaac. 2008. "Simulating Evolutionary Games: a Python- Based Introduction." Journal of Artificial Societies and Social Simulation. 11.3.8. Available at [http://jasss.soc.surrey.ac.uk/11/3/8.html](http://jasss.soc.surrey.ac.uk/11/3/8.html) [KleiberZeileis] C. Kleiber and A. Zeileis. 2008. Applied Econometrics with R, Springer. [Longley] J.W. [↗](http://jasss.soc.surrey.ac.uk/11/3/8.html)
4. Longley. 1967. "An Appraisal of Least Squares Programs for the Electronic Computer from the Point of View of the User." Journal of the American Statistical Association, 62.319, 819-41. [Matplotlib] J. Hunter, et al. Matplotlib. Available at [http://matplotlib.sourceforge.net/index.html](http://matplotlib.sourceforge.net/index.html). [↗](http://matplotlib.sourceforge.net/index.html)

*Updated 2 November 2026*
