Inference for Linear Regression in R

In this course you'll learn how to perform inference using linear models.
Start Course for Free
4 Hours15 Videos59 Exercises7,692 Learners
4650 XP

Create Your Free Account

By continuing you accept the Terms of Use and Privacy Policy. You also accept that you are aware that your data will be stored outside of the EU and that you are above the age of 16.

Loved by learners at thousands of companies

Course Description

Previously, you learned the fundamentals of both statistical inference and linear models; now, the next step is to put them together. This course gives you a chance to think about how different samples can produce different linear models, where your goal is to understand the underlying population model. From the estimated linear model, you will learn how to create interval estimates for the effect size as well as how to determine if the effect is significant. Prediction intervals for the response variable will be contrasted with estimates of the average response. Throughout the course, you'll gain more practice with the dplyr and ggplot2 packages, and you will learn about the broom package for tidying models; all three packages are invaluable in data science.

  1. 1

    Inferential ideas

    In the first chapter, you will understand how and why to perform inferential (instead of descriptive only) analysis on a regression model.
    Play Chapter Now
  2. 2

    Simulation-based inference for the slope parameter

    In this chapter you will learn about the ideas of the sampling distribution using simulation methods for regression models.
    Play Chapter Now
  3. 3

    t-Based Inference For the Slope Parameter

    In this chapter you will learn about how to use the t-distribution to perform inference in linear regression models. You will also learn about how to create prediction intervals for the response variable.
    Play Chapter Now
  4. 4

    Technical Conditions in linear regression

    Additionally, you will consider the technical conditions that are important when using linear models to make claims about a larger population.
    Play Chapter Now
  5. 5

    Building on Inference in Simple Linear Regression

    This chapter covers topics that build on the basic ideas of inference in linear models, including multicollinearity and inference for multiple regression models.
    Play Chapter Now
In the following tracks
Statistical Inference
Nick CarchediNick Solomon
Jo Hardin Headshot

Jo Hardin

Professor at Pomona College
Jo Hardin is a professor of mathematics and statistics at Pomona College. Her statistical research focuses on developing new robust methods for high throughput data. Recently, she has also worked closely with the statistics education community on ways to integrate data science early into a statistics curriculum. When not working with students or on her research, she loves to put on a pair of running shoes and hit the road.
See More

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