Skip to main content

Correlation and Regression in R

Learn how to describe relationships between two numerical quantities and characterize these relationships graphically.

Start Course for Free
4 Hours18 Videos58 Exercises83,675 Learners4200 XP

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

Ultimately, data analysis is about understanding relationships among variables. Exploring data with multiple variables requires new, more complex tools, but enables a richer set of comparisons. In this course, you will learn how to describe relationships between two numerical quantities. You will characterize these relationships graphically, in the form of summary statistics, and through simple linear regression models.

  1. 1

    Visualizing two variables


    In this chapter, you will learn techniques for exploring bivariate relationships.

    Play Chapter Now
    Visualizing bivariate relationships
    50 xp
    100 xp
    Boxplots as discretized/conditioned scatterplots
    100 xp
    Characterizing bivariate relationships
    50 xp
    Creating scatterplots
    100 xp
    Characterizing scatterplots
    50 xp
    100 xp
    50 xp
    Identifying outliers
    100 xp


n10iNick CarcheditommyjeeTom Jeon


Exploratory Data Analysis in R
Ben Baumer Headshot

Ben Baumer

Assistant Professor at Smith College

Ben is an Assistant Professor in the Statistical & Data Sciences Program at Smith College. He completed his Ph.D. in Mathematics at the Graduate Center of the City University of New York in 2012. He is an Accredited Professional Statistician™ by the American Statistical Association and was previously the Statistical Analyst for the Baseball Operations department of the New York Mets.
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