Statsmodels Examples

This page provides a series of examples, tutorials and recipes to help you get started with statsmodels. Each of the examples shown here is made available as an IPython Notebook and as a plain python script on the statsmodels github repository.

If you are not comfortable with git, we also encourage users to submit their own examples, tutorials or cool statsmodels tricks to the Examples wiki page.


Linear Regression Models


Discrete Choice Models

Nonparametric Statistics

Generalized Linear Models

Robust Regression


Time Series Analysis

State space models

State space models - Technical notes

User Notes