Skip to main content
HomePython

Generalized Linear Models in Python

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
5 hours16 videos59 exercises10,016 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

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

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


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.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Introduction to GLMs

    Free

    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.

    Play Chapter Now
    Going beyond linear regression
    50 xp
    Applying linear models
    50 xp
    Linear model, a special case of GLM
    100 xp
    How to build a GLM?
    50 xp
    Data type and distribution family
    100 xp
    Linear model and a binary response variable
    100 xp
    Comparing predicted values
    100 xp
    How to fit a GLM in Python?
    50 xp
    Model fitting step-by-step
    100 xp
    Results of the model fit using summary()
    100 xp
    Extracting parameter estimates
    100 xp
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Well switch due to arsenic poisoningNesting of the female horseshoe crabCredit defaultLevel of salary and years of work experienceMedical costs per person given age and BMIBike crossings in New York City

collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Adrián Soto
Ita Cirovic Donev HeadshotIta Cirovic Donev

Data Science consultant

See More

What do other learners have to say?

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

Create Your Free Account

GoogleLinkedInFacebook

or

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