15.071 | Spring 2017 | Graduate

The Analytics Edge

2.2 The Statistical Sommelier: An Introduction to Linear Regression

2.2 The Statistical Sommelier: An Introduction to Linear Regression

Video 4: Linear Regression in R

Before starting this video, please download the datasets wine (CSV) and wine_test (CSV). Save them to a folder on your computer that you will remember, and in R, navigate to this folder (File->Change dir… on a PC, and Misc->Change Working Directory on a Mac). This data comes from Liquid Assets.

A script file containing all of the R commands used in this lecture can be downloaded here: Unit2_WineRegression (R).

Course Info

As Taught In
Spring 2017
Level
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets with Solutions