Skip to main content
HomeR

Course

Inference for Linear Regression in R

AdvancedSkill Level
4.8+
131 reviews
Updated 12/2021
In this course you'll learn how to perform inference using linear models.
Start Course for Free
RProbability & Statistics4 hr15 videos59 Exercises4,650 XP15,729Statement of Accomplishment

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.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

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.

Prerequisites

Foundations of Inference in RIntermediate Regression in R
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.
Start Chapter
2

Simulation-based inference for the slope parameter

3

t-Based Inference For the Slope Parameter

4

Technical Conditions in linear regression

5

Building on Inference in Simple Linear Regression

Inference for Linear Regression in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 131 reviews
85%
13%
2%
0%
0%
  • Zachary
    last week

  • Alejandro
    last week

  • AYBERK
    2 weeks ago

  • Amber
    2 weeks ago

  • Sofia Esther
    3 weeks ago

  • Ximena
    3 weeks ago

AYBERK

Amber

Sofia Esther

FAQs

What prior knowledge do I need before taking Inference for Linear Regression in R?

You should be comfortable with dplyr, ggplot2, hypothesis testing, and intermediate regression in R. This is an advanced course that builds on both statistical inference and linear modeling foundations.

How does this course differ from Introduction to Regression in R?

Introduction to Regression focuses on fitting models, while this course focuses on making inferences from those models, including confidence intervals, prediction intervals, and significance testing for slope parameters.

Will I learn simulation-based methods or only classical t-based inference?

You will learn both. The course covers simulation-based inference for sampling distributions and t-based inference for constructing confidence intervals and testing slope significance.

What is the broom package used for in this course?

The broom package is used to tidy model output into clean data frames, making it easier to work with regression results alongside dplyr and ggplot2 in your analysis pipeline.

Does the course cover inference for multiple regression or only simple linear regression?

It covers both. The final chapter extends inference to multiple regression models and addresses multicollinearity, building on the simple linear regression concepts from earlier chapters.

Join over 19 million learners and start Inference for Linear Regression 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.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.