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.
Topics
Linear Regression Models
Plotting
-
Regression Plots
-
Categorical Interactions
-
Box Plots
Discrete Choice Models
-
Getting Started
-
Fair's Affairs Data
Nonparametric Statistics
Generalized Linear Models
-
Generalized Linear Models Overview
-
Using Formulas with GLMs
-
Weighting Observations with GLMs
-
Influence Measures for GLMs
Robust Regression
Statistics
-
ANOVA
Time Series Analysis
State space models
-
SARIMAX: Introduction
-
SARIMAX: Model selection, missing data
-
VARMAX: introduction
-
Dynamic Factor Models: Application
-
Unobserved Components: Application
-
Trends and cycles in unemployment
-
State space modeling: Local Linear Trends
-
ARMA: Sunspots Data
-
Seasonality in Time Series Data
State space models - Technical notes
User Notes
-
Contrasts
-
Formulas
-
Prediction
-
Generic Maximum Likelihood
-
Dates in Time-Series Models
-
Least squares fitting of models to data
-
Distributed Estimations
-
Principal Component Analysis