Week 8 - Modelling data

Linear models for predicting numerical data from single and multiple variables 📈

Tasks

Videos

You have two options for watching the course videos, on YouTube or on MediaHopper. You can also find a playlists for all course videos on YouTube here and on MediaHopper here.

No.
Title
YouTube
MediaHopper
Slides
Length
01 Keeping up with IDS: Week 8 9:54
🎤 Writing Advice from Matt Stone & Trey Parker 2:14
2 The language of models 27:16
3 Fitting and interpreting models 29:04
4 Modelling nonlinear relationships 20:44
5 Models with multiple predictors 20:52
6 More models with multiple predictors 23:56

Assignments

Assignment
Title
Due
Due this week
Lab 05 Conveying the right message through visualisation Tue, 10 Nov, 16:00 UK
HW 03 Money in politics Thur, 12 Nov, 16:00 UK
OQ 07 Simple linear regression Sun, 15 Nov, 23:59 UK
Due next week
Lab 06 Course evaluations Tue, 17 Nov, 16:00 UK

Readings

📖 IMS: Chp 3 - Introduction to linear models Required
📖 IMS: Sec 4.1 - Regression with multiple predictors Required

Code-along

You can find starter code for this session on RStudio Cloud, in the project titled Code Along 08 - Lending club loans.

Recording      
Session artifacts .Rmd     .md

Interactive R tutorials

The following are interactive R tutorials, designed to give you more practice with R. These are optional, but they will show up in your next homework assignment, so you should gain familiarity with it. If you’re struggling with any of the topics covered this week, we strongly recommend you work through the interactive tutorials.

Bike Rentals in D.C. Related to HW 04