# Generalized Linear Models in R

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

4 Hours14 Videos51 Exercises11,382 Learners
4050 XP

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

## 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.

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.

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
2. 3

### Interpreting and visualizing GLMs

This chapter teaches you about interpreting GLM coefficients and plotting GLMs using ggplot2.

3. 4

### Multiple regression with GLMs

In this chapter, you will learn how to do multiple regression with GLMs in R.

In the following tracks

Statistician

Collaborators David Campos Chester Ismay Shon Inouye #### Richard 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.

## What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden