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.

We also encourage users to submit their own examples, tutorials or cool statsmodels trick to the Examples wiki page

 

Linear Regression Models

 

Plotting

 

Discrete Choice Models

 

Nonparametric Statistics

 

Generalized Linear Models

 

Robust Regression

 

Generalized Estimating Equations

 

Statistics

 

Time Series Analysis

 

State space models

 

State space models - Technical notes

 

Forecasting

 

Multivariate Methods

 

User Notes


Last update: Nov 14, 2024