Unit 6: Introduction to linear regression
- 1. Introduction to regression
Sta 101 - Fall 2017
Duke University, Department of Statistical Science
- Dr. Mukherjee
Slides posted at http://www2.stat.duke.edu/courses/Fall17/sta101.002/
Announcements ▶ MT 2 scores posted in Sakai! ▶ Start working on your Final projects.
Due date- Sunday Dec 3, 11:55 PM.
– Lab:10:05 AM, 11:45 AM and 1:25 PM will present on Dec 4 during their Lab session. No lab on Monday for 8:30 AM and 3:05 PM. – Lab: 8:30 AM and 3:05 PM will present on Dec 5 during our lecture at Social Science 139. Your labs TAs will be here! No lecture on Tuesday for 10:05 AM, 11:45 AM and 1:25 PM.
▶ PS 6 due date Nov 17 at 11:55 PM. ▶ PA 6 due date Nov 19 at 11:55 PM.
1
Modeling numerical variables ▶ So far we have worked with single numerical and categorical
variables, and explored relationships between numerical and categorical, and two categorical variables.
▶ In this unit we will learn to quantify the relationship between two
numerical variables, as well as modeling numerical response variables using a numerical or categorical explanatory variable.
▶ In the next unit we’ll learn to model numerical variables using
many explanatory variables at once.
2
Guessing the correlation
Clicker question
Which of the following is the best guess for the correlation between annual murders per million and percentage living in poverty? (a) -1.52 (b) -0.63 (c) -0.12 (d) 0.02 (e) 0.84
- 14
16 18 20 22 24 26 5 10 15 20 25 30 35 40 % in poverty annual murders per million