# Intermediate Regression in R

4.3+
18 reviews
Intermediate

Learn to perform linear and logistic regression with multiple explanatory variables.

4 Hours14 Videos50 Exercises
18,564 Learners

or

## Course Description

Linear regression and logistic regression are the two most widely used statistical models and act like master keys, unlocking the secrets hidden in datasets. This course builds on the skills you gained in "Introduction to Regression in R", covering linear and logistic regression with multiple explanatory variables. Through hands-on exercises, you’ll explore the relationships between variables in real-world datasets, Taiwan house prices and customer churn modeling, and more. By the end of this course, you’ll know how to include multiple explanatory variables in a model, understand how interactions between variables affect predictions, and understand how linear and logistic regression work.
1. 1

### Parallel Slopes

Free

Extend your linear regression skills to "parallel slopes" regression, with one numeric and one categorical explanatory variable. This is the first step towards conquering multiple linear regression.

Play Chapter Now
Parallel slopes linear regression
50 xp
Fitting a parallel slopes linear regression
100 xp
Interpreting parallel slopes coefficients
100 xp
Visualizing each explanatory variable
100 xp
Visualizing parallel slopes
100 xp
Predicting parallel slopes
50 xp
Predicting with a parallel slopes model
100 xp
Manually calculating predictions
100 xp
Assessing model performance
50 xp
Comparing coefficients of determination
100 xp
Comparing residual standard error
100 xp
2. 2

### Interactions

Explore the effect of interactions between explanatory variables. Considering interactions allows for more realistic models that can have better predictive power. You'll also deal with Simpson's Paradox: a non-intuitive result that arises when you have multiple explanatory variables.

3. 3

### Multiple Linear Regression

See how modeling, and linear regression in particular, makes it easy to work with more than two explanatory variables. Once you've mastered fitting linear regression models, you'll get to implement your own linear regression algorithm.

4. 4

### Multiple Logistic Regression

Extend your logistic regression skills to multiple explanatory variables. Understand the logistic distribution, which underpins this form of regression. Finally, implement your own logistic regression algorithm.

In the following tracks

Data Scientist with RData Scientist Professional with RMachine Learning Scientist with RStatistician with RStatistics Fundamentals with RSupervised Machine Learning in R

Collaborators  Richie Cotton

Data Evangelist at DataCamp

Richie is a Data Evangelist at DataCamp. He has been using R since 2004, in the fields of proteomics, debt collection, and chemical health and safety. He has released almost 30 R packages on CRAN and Bioconductor – most famously the assertive suite of packages – as well as creating and contributing to many others. He also has written two books on R programming, Learning R and Testing R Code.
See More

## Don’t just take our word for it

*4.3
from 18 reviews
61%
22%
11%
6%
0%
Sort by
• Li D.

Great course for beginners

• Rudrajit G.

It's fun & interesting

• Jamie S.
5 months

Excellent regression practice! Now if only my stats knowledge were up to date :(

• Seung-Woo J.
6 months

Quality lecture and activities!

• Nicolas F.
7 months

This was such a helpful class in tandem with the introduction course. I have two graduate degrees and this was just a wonderful set of trainings in R with sound mathematical / statistical content.

"Great course for beginners"

Li D.

"It's fun & interesting"

Rudrajit G.

"Excellent regression practice! Now if only my stats knowledge were up to date :("

Jamie S.