<- openintro::bdims d
HW 3 - Simple linear regression
Due Sunday, May 22, 9:00pm on Gradescope
This assignment needs to be completed with RMarkdown and submitted as a PDF on Gradescope. Feel free to re-use the template provided for HW1.
When submitting your work on Gradescope, please assign a page for each question.
Problem set (25 points)
- 7.6, a-c (3 points)
- 7.18 (2 points)
- 7.20 (4 points)
- 7.22 (7 points)
fit the model in
R
; the variablessho_gi
andhgt
respectively correspond to shoulder girth and height.do parts a-f
- 7.24 (5 points)
fit the model in
R
<- MASS::cats d
do parts a-d
- 7.26 (3 points)
- 7.28 (1 point)
Lab exercises - the Human Freedom Index (25 points)
You can find the lab here
- Exercise 1 (2 points)
- Exercise 2 (2 points)
- Exercise 3 (3 points)
- Exercise 4 (2 points)
- Exercise 5 (2 points)
- Exercise 6 (3 points)
- Exercise 7 (2 points)
- Exercise 8 (2 points)
Skip exercises 9-10.
- Practice 1 (2 points)
- Practice 2 (2 points)
- Practice 3 (1 points) – only evaluate linearity
- Practice 4 (2 points)