Skip to main content
HomePython

Course

Generalized Linear Models in Python

AdvancedSkill Level
4.7+
140 reviews
Updated 10/2022
Extend your regression toolbox with the logistic and Poisson models and learn to train, understand, and validate them, as well as to make predictions.
Start Course for Free
PythonProbability & Statistics5 hr16 videos59 Exercises4,950 XP11,835Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Imagine being able to handle data where the response variable is either binary, count, or approximately normal, all under one single framework. Well, you don't have to imagine. Enter the Generalized Linear Models in Python course! In this course you will extend your regression toolbox with the logistic and Poisson models, by learning how to fit, understand, assess model performance and finally use the model to make predictions on new data. You will practice using data from real world studies such the largest population poisoning in world's history, nesting of horseshoe crabs and counting the bike crossings on the bridges in New York City.

Prerequisites

Introduction to Linear Modeling in Python
1

Introduction to GLMs

Review linear models and learn how GLMs are an extension of the linear model given different types of response variables. You will also learn the building blocks of GLMs and the technical process of fitting a GLM in Python.
Start Chapter
2

Modeling Binary Data

3

Modeling Count Data

4

Multivariable Logistic Regression

Generalized Linear Models in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 140 reviews
79%
19%
1%
0%
0%
  • Alexander
    last week

  • Siphiwe
    2 weeks ago

  • Kameron
    3 weeks ago

  • HAREESH
    5 weeks ago

  • Venkata SubbaRao
    last month

    Good one with hands exercises

  • Dat
    2 months ago

Alexander

HAREESH

Dat

FAQs

What prior statistics and Python knowledge do I need for this course?

You should have completed introductory courses in Python statistics, linear modeling, regression with statsmodels, Seaborn visualization, and pandas data manipulation.

What real-world datasets are used in the exercises?

You will work with data from the largest population poisoning in world history, horseshoe crab nesting behavior, and bike crossings on New York City bridges.

Which GLM types are taught in this Python course?

You will learn logistic regression for binary outcomes and Poisson regression for count data, along with how to assess model fit and make predictions with each model type.

How does this course use the statsmodels library?

You will use statsmodels to fit generalized linear models, interpret model summaries, assess goodness of fit, and generate predictions on new data throughout the exercises.

How long should I expect this course to take?

It has 59 exercises across four chapters with an estimated five hours of content. Most learners finish in about three to four hours of focused study.

Join over 19 million learners and start Generalized Linear Models in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.