Skip to main content
HomeR

Generalized Linear Models in R

The Generalized Linear Model course expands your regression toolbox to include logistic and Poisson regression.

Start Course for Free
4 hours14 videos51 exercises19,102 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

Linear regression serves as a workhorse of statistics, but cannot handle some types of complex data. A generalized linear model (GLM) expands upon linear regression to include non-normal distributions including binomial and count data. Throughout this course, you will expand your data science toolkit to include GLMs in R. As part of learning about GLMs, you will learn how to fit model binomial data with logistic regression and count data with Poisson regression. You will also learn how to understand these results and plot them with ggplot2.
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

    GLMs, an extension of your regression toolbox

    Free

    This chapter teaches you how generalized linear models are an extension of other models in your data science toolbox. The chapter also uses Poisson regression to introduce generalize linear models.

    Play Chapter Now
    Limitations of linear models
    50 xp
    Assumptions of linear models
    50 xp
    Refresher on fitting linear models
    100 xp
    Poisson regression
    50 xp
    Fitting a Poisson regression in R
    100 xp
    Comparing linear and Poisson regression
    100 xp
    Intercepts-comparisons versus means
    100 xp
    Basic lm() functions with glm()
    50 xp
    Applying summary(), print(), and tidy() to glm
    100 xp
    Extracting coefficients from glm()
    100 xp
    Predicting with glm()
    100 xp
For Business

Training 2 or more people?

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

datasets

Bus Commuter dataset

collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
David Campos
Collaborator's avatar
Shon Inouye
Richard Erickson HeadshotRichard Erickson

Data Scientist

Richard helps people to experience and understand their increasingly numerical world. For his day job he develops new quantitative methods for monitoring and controlling invasive species as well as helping other scientists analyze and understand their data. He has worked on diverse datasets ranging from continent-wide species distributions to pesticides in playa wetlands. After hours, he teaches SCUBA Diving as a NAUI Instructor. He has been a member of "UserR" since 2007.
See More

What do other learners have to say?

Join over 15 million learners and start Generalized Linear Models in R 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.