Course overview

In our Linear Regression Modeling in R course, you will learn the basics of the linear regression model and how to use linear regression for predictions and inferences.

You’ll learn how to select appropriate features for your linear regression model to yield the best performance. You’ll also learn concepts such as gradient descent, an optimization algorithm used to minimize a function by iteratively moving in the direction of steepest descent. And you’ll learn how to fit a model using the Ordinary Least Squares (OLS) algorithm, understand why OLS works, and practice some linear algebra along the way.

At the end of the course, you’ll complete a project in which you will use Linear Regression to predict house sale prices using the AmesHousing data set. This project is a chance for you to combine the skills you learned in this course and practice a machine learning workflow. This project also serves as a portfolio project that you can showcase for future employers to show off your machine learning skills.By the end of this course, you’ll be able to:

  • Understand the fundamentals of predictive modeling.
  • Build linear regression models.
  • Interpret linear regression models.
  • Assess model fit and accuracy.

Key skills

Course outline

    Loading lessons...

Projects in this course

The Dataquest guarantee

  • Dataquest has helped thousands of people start new careers in data. If you put in the work and follow our course, you'll master data skills and grow your career.

  • We believe so strongly in our courses that we offer a full satisfaction guarantee. If you complete a career course on Dataquest and aren't satisfied with your outcome, we'll give you a refund.

Master skills faster
with Dataquest

Go from zero to job-ready

Learn exactly what you need to achieve your goal. Don’t waste time on unrelated lessons.

Build your project portfolio

Build confidence with our in-depth projects, and show off your data skills.

Challenge yourself with exercises

Work with real data from day one with interactive lessons and hands-on exercises.

Showcase your course certification

Impress employers by completing a capstone project and certifying it with an expert review.

Learning resources

How to Learn
Data Science

Learn a proven method to acquire and use data skills.

Read Article

Dataquest Reviews

Read more about what learners think of Dataquest.

Read Article

How To Learn Python

A step by step guide to learn and master Python.

Read Article

Python Practice

65 different Python practice exercises you can start today.

Read Article

Learner testimonials


Learners who recommend
Dataquest for career advancement


Dataquest rating on
G2Crowd and SwitchUp


Average salary boost
for learners who complete a path

Join 1M+ data learners on

  • 1

    Sign up for a free account

  • 2

    Choose a course or path

  • 3

    Learn with hands-on exercises

  • 4

    Apply your skills

Start learning with a free account today.

Sign Up For Dataquest