Mathew K Analytics

Learn statsmodels with free notebooks

38 free video lessons that use statsmodels, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn statsmodels by working through real examples.

About these statsmodels lessons

These 38 lessons come from 11 different courses, so you see statsmodels used in several settings. The course with the most statsmodels lessons is Probability and Statistics in python (9 lessons). 8 of the lessons include a real dataset to practise on.

statsmodels is most often used here together with pandas, Matplotlib, NumPy and SciPy.

Watch the video, then run the notebook yourself: changing the code and re-running it is the fastest way to learn.

Courses that use statsmodels

Sales Forecasting in Python: Holt-Winters vs Baselines | Data Analytics #5
Lesson 5

Sales Forecasting in Python: Holt-Winters vs Baselines | Data Analytics #5

📊 Dataset · 📓 Notebook · pandas · NumPy · Matplotlib

End-to-End Retail Analytics Project in Python (Portfolio Capstone) | Data Analytics #10
Lesson 10

End-to-End Retail Analytics Project in Python (Portfolio Capstone) | Data Analytics #10

📊 Dataset · 📓 Notebook · pandas · NumPy · Matplotlib

Data Mining Full Course Part 6 (3.5 Hours): Time Series Forecasting & 5 Capstone Projects3 h 42 min
Lesson 6

Data Mining Full Course Part 6 (3.5 Hours): Time Series Forecasting & 5 Capstone Projects

📊 Dataset · 📓 Notebook · scikit-learn · statsmodels · pandas

A/B Testing & Experiment Design That Works | Statistics #816 min
Lesson 8

A/B Testing & Experiment Design That Works | Statistics #8

📓 Notebook · statsmodels · NumPy · SciPy

Multiple Comparisons & P-Value Corrections | Statistics #1013 min
Lesson 10

Multiple Comparisons & P-Value Corrections | Statistics #10

📊 Dataset · 📓 Notebook · statsmodels · pandas · NumPy

Multiple Regression & Model Diagnostics | Statistics #1213 min
Lesson 12

Multiple Regression & Model Diagnostics | Statistics #12

📊 Dataset · 📓 Notebook · statsmodels · pandas · NumPy

Categorical Data Analysis & Chi-Square Tests | Statistics #1315 min
Lesson 13

Categorical Data Analysis & Chi-Square Tests | Statistics #13

📊 Dataset · 📓 Notebook · pandas · NumPy · SciPy

Statistics Capstone: A Full Real-World Analysis | Statistics #1515 min
Lesson 15

Statistics Capstone: A Full Real-World Analysis | Statistics #15

📊 Dataset · 📓 Notebook · statsmodels · pandas · NumPy

Linear Regression from Scratch in Python | ML Algorithms #125 min
Lesson 1

Linear Regression from Scratch in Python | ML Algorithms #1

📊 Dataset · 📓 Notebook · scikit-learn · statsmodels · pandas

Correlation and Key Driver Analysis in Market Research28 min
Lesson 35

Correlation and Key Driver Analysis in Market Research

📓 Notebook · statsmodels · scikit-learn · pandas

Net Promoter Score Analysis in Python for Market Research20 min
Lesson 38

Net Promoter Score Analysis in Python for Market Research

📓 Notebook · pandas · NumPy · Matplotlib

Seasonal Demand Forecasting Training with Python for Retail E-commerce Analytics25 min
Lesson 48

Seasonal Demand Forecasting Training with Python for Retail E-commerce Analytics

📓 Notebook · pandas · NumPy · Matplotlib

Master Bayes Theorem: Real-Life Examples & Step-by-Step Probability Explained24 min
Lesson 9

Master Bayes Theorem: Real-Life Examples & Step-by-Step Probability Explained

📓 Notebook · SciPy · scikit-learn · statsmodels

Hypothesis Testing Explained: Concepts, Errors, and How to Interpret P-Values in Python12 min
Lesson 15

Hypothesis Testing Explained: Concepts, Errors, and How to Interpret P-Values in Python

📓 Notebook · statsmodels · pandas · NumPy

Understanding Monte Carlo Simulations in Python for Statistical Modeling and Analysis17 min
Lesson 19

Understanding Monte Carlo Simulations in Python for Statistical Modeling and Analysis

📓 Notebook · SciPy · statsmodels · scikit-learn

Understanding Covariance and Correlation: Pearson and Spearman Explained13 min
Lesson 22

Understanding Covariance and Correlation: Pearson and Spearman Explained

📓 Notebook · statsmodels · NumPy · pandas

Understanding Multiple Linear Regression with Python’s Statsmodels Library11 min
Lesson 24

Understanding Multiple Linear Regression with Python’s Statsmodels Library

📓 Notebook · statsmodels · NumPy · seaborn

Understanding Regression Diagnostics: Residuals and Key Assumptions Explained12 min
Lesson 25

Understanding Regression Diagnostics: Residuals and Key Assumptions Explained

📓 Notebook · SciPy · scikit-learn · statsmodels

Understanding Stationarity, ACF, PACF, and ARIMA Fundamentals in Time Series Analysis24 min
Lesson 33

Understanding Stationarity, ACF, PACF, and ARIMA Fundamentals in Time Series Analysis

📓 Notebook · statsmodels · NumPy · pandas

Bayesian Estimation Explained: Using SciPy and PyMC for Practical Inference in Python15 min
Lesson 35

Bayesian Estimation Explained: Using SciPy and PyMC for Practical Inference in Python

📓 Notebook · SciPy · statsmodels · NumPy

Comprehensive Time Series Forecasting Project: From Data Preparation to Deployment12 min
Lesson 40

Comprehensive Time Series Forecasting Project: From Data Preparation to Deployment

📓 Notebook · SciPy · scikit-learn · pandas

Master Data Cleaning and Preparation with Pandas in Python for Effective Bible Study Analysis14 min
Lesson 6

Master Data Cleaning and Preparation with Pandas in Python for Effective Bible Study Analysis

📓 Notebook · statsmodels · pandas · Matplotlib

Understanding Heatmaps and Correlation Matrices with Seaborn for Data Analysis13 min
Lesson 18

Understanding Heatmaps and Correlation Matrices with Seaborn for Data Analysis

📓 Notebook · statsmodels · pandas · seaborn

Creating Interactive Choropleth Maps with Plotly for Python Geospatial Visualization13 min
Lesson 30

Creating Interactive Choropleth Maps with Plotly for Python Geospatial Visualization

📓 Notebook · statsmodels · Plotly · pandas

3 - Interactive Maps with Folium14 min
Lesson 31

3 - Interactive Maps with Folium

📓 Notebook · Folium · statsmodels · pandas

Understanding Stationarity and the Augmented Dickey-Fuller Test in Time Series Analysis14 min
Lesson 19

Understanding Stationarity and the Augmented Dickey-Fuller Test in Time Series Analysis

📓 Notebook · pandas · Matplotlib · statsmodels

Understanding Autocorrelation and Partial Autocorrelation in Time Series Analysis13 min
Lesson 20

Understanding Autocorrelation and Partial Autocorrelation in Time Series Analysis

📓 Notebook · statsmodels · pandas · Matplotlib

Seasonal Decomposition in Python: Techniques for Time Series Analysis and Interpretation10 min
Lesson 21

Seasonal Decomposition in Python: Techniques for Time Series Analysis and Interpretation

📓 Notebook · pandas · Matplotlib · statsmodels

Understanding Autoregressive, Moving Average, and ARMA Models for Time Series Forecasting15 min
Lesson 22

Understanding Autoregressive, Moving Average, and ARMA Models for Time Series Forecasting

📓 Notebook · statsmodels · pandas · Matplotlib

Seasonal ARIMA and SARIMAX in Python: A Guide to Time Series Forecasting17 min
Lesson 24

Seasonal ARIMA and SARIMAX in Python: A Guide to Time Series Forecasting

📓 Notebook · statsmodels · pandas · NumPy

Understanding Exponential Smoothing and Holt-Winters Forecasting Models in Python12 min
Lesson 25

Understanding Exponential Smoothing and Holt-Winters Forecasting Models in Python

📓 Notebook · statsmodels · pandas · NumPy

Understanding Model Diagnostics and Residual Analysis for Time Series Forecasting in Python14 min
Lesson 26

Understanding Model Diagnostics and Residual Analysis for Time Series Forecasting in Python

📓 Notebook · pandas · NumPy · Matplotlib

Walk-Forward Validation in Python: A Clear Guide for Time Series Model Evaluation15 min
Lesson 32

Walk-Forward Validation in Python: A Clear Guide for Time Series Model Evaluation

📓 Notebook · scikit-learn · pandas · Matplotlib

Using Multilayer Perceptrons for Time Series Forecasting in Christian Analytics10 min
Lesson 42

Using Multilayer Perceptrons for Time Series Forecasting in Christian Analytics

📓 Notebook · pandas · Matplotlib · statsmodels

Time Series Decomposition Techniques for Accurate Demand Forecasting in Supply Chain24 min
Lesson 21

Time Series Decomposition Techniques for Accurate Demand Forecasting in Supply Chain

📓 Notebook · pandas · NumPy · Matplotlib

Moving Average and Exponential Smoothing Models in Supply Chain Analytics31 min
Lesson 22

Moving Average and Exponential Smoothing Models in Supply Chain Analytics

📓 Notebook · pandas · NumPy · Matplotlib

ARIMA and SARIMA for Demand Forecasting in Supply Chains23 min
Lesson 23

ARIMA and SARIMA for Demand Forecasting in Supply Chains

📓 Notebook · statsmodels · pandas · NumPy

Analyzing Transaction Trends and Seasonality in Finance Using Python21 min
Lesson 31

Analyzing Transaction Trends and Seasonality in Finance Using Python

📓 Notebook · pandas · NumPy · Matplotlib

Frequently asked questions

Where should I start learning statsmodels?

Start with “Sales Forecasting in Python: Holt-Winters vs Baselines | Data Analytics #5”, then work through the Probability and Statistics in python course.

Are these statsmodels lessons free?

Yes. Every video, notebook and dataset on this site is free to use for learning.

Can I run the statsmodels notebooks without installing Python?

Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.