Lekser / Exercises

  • Week 1:
    • exercises 2.1 - 2.3 of the textbook;
    • exercises 1, 2 and 8 from Section 2.4 (pp. 52-55) of the ISL book
    • R solutions
  • Week 2:
    • exercises 2.7 and 2.8 of the textbook;
    • exercise 3, 7, 9 and 10 from Section 3 (pp. 120-123) of the ISL book
    • R solutions
  • Week 3:
    • exercise 1, points (a), (b), (c) and (d) of the 1st mandatory assignment  from 2018 (here the original in Norwegian by Geir Storvik - note that only page 2 is relevant, until "Hvilken fortolkning har γ-ene i dette tilfellet.");
    • exercise 4.10, points (a), (b) and (c) page 171 in ISL book. Note:
    • R solutions
    • Solutions to exercises from mandatory assignment 2018
  • Week 5:
  • Week 6:
    • Exercises 1 and 8 (only a-d) from Section 6 (pp. 259-263) of the ISL book
    • Download the body fat data (here is the R code to do that). It contains a response variable (pcfat, percentage of body fat) and 13 explanatory variables (age and 12 measures of different body part circumferences). Fit a linear Gaussian model by using both backward elimination and forward selection, in both cases using AIC as stopping criterion. Do you obtain the same model with both procedures? Comment the result.
    • Solutions
  • Week 7:
    • Exercises 2, 3, 4, 10 and 11 from Section 6 (pp. 259-264) of the ISL book (note that the dataset for the last exercises is in the R-package MASS)
    • Solutions
  • Week 8:
    • Exercise 4.3 of the text book;
    • Exercises 1, 3 and 9 from Section 7 (pp. 297-300) of the ISL book (note that the dataset for the last exercises is in the R-package MASS).
    • R solutions
    • Solution exercise 7.1
  • Week 10:
    • Exercises 5, 10, 11 and 12 from Section 7 (pp. 297-300) of the ISL book
    • Solutions
  • Week 11:
  • Week 12:
  • Week 13:
    • Exercise 5.11 of the text book;
    • Exercises 3 and 9 from Section 8 (pp. 332-334) of the ISL book;
    • Exercises 3 and 7 from Section 9 (pp. 368-371) of the ISL book.
    • R solutions
  • Week 16:
  • Week 17:
    • Exercises 4 and 9 from Section 10 (pp. 414-416) of the ISL book.
    • R solutions
Publisert 9. jan. 2020 11:27 - Sist endret 15. mars 2023 11:20