Solution to the exam

What are you allowed to bring to the exam?

  • A hand-written A4 sheet. You can write on both sides of the sheet.
  • The course book: Either you take it along physically (only the original book is allowed), or you use the pdf that we will provide in Inspera during the exam. The pdf will be searchable with ctrl + f in case you need to quickly find some keywords.

How will the exam be?

We have a few principles that you might find useful to know:

  • We will try to put more or less equal weight on all the topics (modules) in the course.
  • If you have solved all the recommended and compulsory exercises and understood the details, you should be prepared quite well.
  • We will test both your skills to do data analysis and test your theoretical understanding.
  • One task will be a bit more mathy where you have to derive something (similar to question 1 in compulsory 1). There will be the possibility to hand-write the derivation on a separate sheet. Note that latex will not be running on the computers in the exam room.
  • It is definitely very smart to also check the questions at the end of each chapter in the course book.
  • There will be a couple of single-/multiple choice questions.

Practical issues

The computers in the exam room

  • Keyboard: In previous years, the NTNU Computers at Sluppen used to have “Norwegian” as default language in their keyboard settings, but it is possible to change the default language on these computers at the exam.
  • R: We have demanded a list of R packages to be available in RStudio during the exam, namely all the packages we have used in the course. Even though we don't expect you to learn all the code details by heart, you must be able to understand and handle the basics. Code that can be looked up in the course book (which you will have access to) is of course possible to ask for. You can use the R-help as well. For more tricky coding, we will add R-hints.

Here is a list of R packages that were installed for the exam last year (list may change slightly this year):
knitr, MASS, pls, glmnet, gam, gbm, randomForest, ggfortify, leaps, poROC, plotROC, ggplot2, tidyverse, palmerpenguins, GGally, caret, leaps, e1071, tree,m boot, factoextra, FactoMineR, class, ISLR

Previous exams

2025-05-19, Stefanie Muff