Exercises the coming week
Week 6
Exercises from ISLR: Exercise 3.8, 3.5
Extra exercises (see link above): 1, 2 and 3
Exercises for past weeks
Week 5
Exercises from the book: 2.7
- Solutions: See pages 8-9 in /studier/emner/matnat/math/STK2100/v23/Exercise%20solutions/esl_ch2ex.pdf (note a typo in (a) for linear regression, where $\hat\beta$ should be $(X^TX)^{-1}X^Ty$ not $X(X^TX)^{-1}X^Ty$)).
Exercises from ISLR: 1, 2, and 8 from Chapter 2 (see the webpage for the book for downloading data; the easiest alternative is to install the ISLR library (through the command install.packages("ISLR")), make the library available (through the library("ISLR")), and then make the data available through data(College))
- Solutions: link to R-file.