# Generalized Linear Models in R

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

Start Course for Free## 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. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).## 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.

- 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 models50 xpAssumptions of linear models50 xpRefresher on fitting linear models100 xpPoisson regression50 xpFitting a Poisson regression in R100 xpComparing linear and Poisson regression100 xpIntercepts-comparisons versus means100 xpBasic lm() functions with glm()50 xpApplying summary(), print(), and tidy() to glm100 xpExtracting coefficients from glm()100 xpPredicting with glm()100 xp - 2
### Logistic Regression

This chapter covers running a logistic regression and examining the model outputs.

Overview of logistic regression50 xpFitting a logistic regression100 xpExamining & interpreting logistic regression outputs100 xpBernoulli versus binomial distribution50 xpBernoulli versus binomial50 xpSimulating binary data100 xpLong-form logistic regression input100 xpWide-form input logistic regression100 xpComparing logistic regression outputs50 xpLink functions-Probit compared to logit50 xpProbit versus logit50 xpFitting probits and logits100 xpSimulating a logit100 xpSimulating a probit100 xp - 3
### Interpreting and visualizing GLMs

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

Poisson regression coefficients50 xpPoisson link50 xplm vs. Poisson coefficients100 xpPlotting Poisson regression50 xpPoisson regression plotting100 xpUnderstanding output from logistic regression50 xpUnderstanding odds ratios50 xpExtracting and interpreting odds-ratios100 xpOdds-ratios & confidence intervals in the Tidyverse100 xpggplot2 and binomial regression50 xpDefault trend lines100 xpMethods for trend lines100 xpComparing probits and logits100 xp - 4
### Multiple regression with GLMs

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

Multiple logistic regression50 xpFitting a multiple logistic regression100 xpBuilding two models100 xpComparing regression outputs50 xpComparing variable order100 xpFormulas in R50 xpMultiple slopes100 xpIntercepts100 xpMultiple intercepts100 xpAssumptions of multiple logistic regression50 xpSimpson's paradox100 xpNon-linear logistic regression100 xpConclusion50 xp

In the following tracks

StatisticianDatasets

Bus Commuter datasetPrerequisites

Intermediate Regression in R#### 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

Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers

Decision Science Analytics, USAA

## Join over 9 million learners and start Generalized Linear Models in R 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. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).