Instructions for chapter 5: “Regression Models”
In this chapter you will learn how to and how to work with their results
To meet this chapter’s learning objectives, please complete the respective exercise sheet. The instructions below will guide you through the process of solving the exercise sheet.
Briefly check out the exercise sheet for chapter 5 to get an impression of what you need to learn/know to solve it.
Solve task 1-7 of the exercise sheet.
Comment: Tasks 4-7 are identical to tasks 4-7 from the Chapter 4 exercise sheet. To save time, you could copy and paste from the respective solution.
Watch the following Video: Simple Linear Regression
Comment: In our opinion, the video describes the basic idea behind linear regression models pretty good. If you are familiar with linear regression models, you can also skip this video. Those who have struggled with understanding linear regression models in the past might benefit from watching this video, though.
Read subchapter 15.1 from “YaRrr! The Pirate’s Guide to R”: The Linear Model
Read subchapters 15.2 and 15.2.1 from “YaRrr! The Pirate’s Guide to R”: Estimation with lm()
Solve tasks 8-9 of the exercise sheet.
Read subchapter 15.2.2 from “YaRrr! The Pirate’s Guide to R”: Getting Model Fits
Solve tasks 10-12 of the exercise sheet.
Read subchapters 15.2.3 from “YaRrr! The Pirate’s Guide to R”: Prediction
Solve tasks 13-14 of the exercise sheet.
Watch the following Video: Extract Regression Coefficients
Solve task 15 of the exercise sheet.
Watch the following Video: Introduction to Logistic Regression
Comment: This video describes the rational behind logistic regression. If you are already familiar with this topic, you can save time by skipping. For everybody who has doubts regarding their logistic regression skills this video might be very helpful.
Read subchapters 15.4 and 15.5 from “YaRrr! The Pirate’s Guide to R”: Logistic Regression
Comment: In subchapter 15.5, only the first part about logistic regression is relevant.
Solve Task 16-18 of the exercise sheet.
Compare your solutions to the sample solution for exercise sheet 5.