Skip to main content
HomeR

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 exercises14,151 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

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.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Statistical Inference in R

Go To Track
  1. 1

    Inferential ideas

    Free

    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
    Variability in regression lines
    50 xp
    Regression output: example I
    100 xp
    First random sample, second random sample
    100 xp
    Superimpose lines
    100 xp
    Research question
    50 xp
    Regression hypothesis
    50 xp
    Variability of coefficients
    50 xp
    Original population - change sample size
    100 xp
    Hypothetical population - less variability around the line
    100 xp
    Hypothetical population - less variability in x direction
    100 xp
    What changes the variability of the coefficients?
    50 xp
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Statistical Inference in R

Go To Track

datasets

LA home price dataNYC restaurant dataTwin data

collaborators

Collaborator's avatar
Nick Carchedi
Collaborator's avatar
Nick Solomon
Jo Hardin HeadshotJo 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?

Join over 15 million learners and start Inference for Linear Regression in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.