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).

Flash and JavaScript are required for this feature.