Interactive Course

# Intro to Statistics with R: Correlation and Linear Regression

• 4 hours
• 10 Videos
• 34 Exercises
• 28,133 Participants
• 2,350 XP

### Loved by learners at thousands of top companies: ### Course Description

If you have ever taken a math or statistics class, you’ve probably heard the old adage "Correlation does not imply causation". The first part of this course explores this further, and will offer a broad overview on correlational analysis. In the second part you will leave descriptive statistics behind, and dive into regression, prediction and inferential statistics.

1. 1

#### An introduction to Correlation Coefficients

In the first chapter you will be given a broad overview on the concepts behind correlation as well as some examples. Furthermore, you will walk through the mathematical calculation of the correlation coefficient r, that is the Pearson product-moment correlation coefficient. Finally, there will be a part on the assumptions underlying a typical correlational analysis.

2. 3

#### Linear Regression Models continued

In chapter three you will do the calculation of the regression coefficients yourself in R. Next, there will be a detailed study of the assumptions underlying a linear regression analysis. The end is reserved for Anscombe’s quartet, a famous statistical example that shows you the importance of graphing data before analyzing it.

3. 2

#### An introduction to Linear Regression

In this first chapter on linear regression, professor Conway will give you an overview on regression; What does it do? What is it used for? You will see how to build and execute a regression model in R, and what the effect is of adding additional regressors.

1. 1

#### An introduction to Correlation Coefficients

In the first chapter you will be given a broad overview on the concepts behind correlation as well as some examples. Furthermore, you will walk through the mathematical calculation of the correlation coefficient r, that is the Pearson product-moment correlation coefficient. Finally, there will be a part on the assumptions underlying a typical correlational analysis.

2. 2

#### An introduction to Linear Regression

In this first chapter on linear regression, professor Conway will give you an overview on regression; What does it do? What is it used for? You will see how to build and execute a regression model in R, and what the effect is of adding additional regressors.

3. 3

#### Linear Regression Models continued

In chapter three you will do the calculation of the regression coefficients yourself in R. Next, there will be a detailed study of the assumptions underlying a linear regression analysis. The end is reserved for Anscombe’s quartet, a famous statistical example that shows you the importance of graphing data before analyzing it.

### What do other learners have to say? “I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group “DataCamp is the top resource I recommend for learning data science.”

Louis Maiden “DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA ##### Andrew Conway

Instructor

Andrew Conway is a Psychology Professor in the Division of Behavioral and Organizational Sciences at Claremont Graduate University in Claremont, California. He has been teaching introduction to statistics for undergraduate students and advanced statistics for graduate students for 20 years, at a variety of institutions, including the University of South Carolina, the University of Illinois in Chicago, and Princeton University.
{"ft_lang_label":"__label__en","ft_lang_prob":0.9023139,"math_prob":0.5894141,"size":2801,"snap":"2019-51-2020-05","text_gpt3_token_len":546,"char_repetition_ratio":0.138005,"word_repetition_ratio":0.6385809,"special_character_ratio":0.186005,"punctuation_ratio":0.092885375,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98377484,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-13T12:04:47Z\",\"WARC-Record-ID\":\"<urn:uuid:ef4d4845-9893-45f0-ab9d-74beea483b9d>\",\"Content-Length\":\"225084\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:309b00ba-df5c-4464-86d4-5f6f6f3bf2b9>\",\"WARC-Concurrent-To\":\"<urn:uuid:37aebb30-f945-46f1-abdc-d6053a1617e8>\",\"WARC-IP-Address\":\"52.21.93.115\",\"WARC-Target-URI\":\"https://www.datacamp.com/courses/intro-to-statistics-with-r-correlation-and-linear-regression\",\"WARC-Payload-Digest\":\"sha1:R7OGOVZQVCY2JVVJ7OG2AVGZPT3O27LQ\",\"WARC-Block-Digest\":\"sha1:OS5U6PD4HNS4WGNRIELPNJRURDVL765Q\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575540553486.23_warc_CC-MAIN-20191213094833-20191213122833-00064.warc.gz\"}"}