The document contains questions and complete standard solutions to the Compulsory assignment in BAN404 at NHH.
In the tasks, the dataset dataOhlsson in the R-package insuranceData shall be analyzed, first in a regression framework and then in a classification framework. Use help(dataOhlsson) to read about the dataset but note that the variable kon is gender and not age as said in the help-function. In both tasks you should split the data into training and test datasets and use the them in

Vis mer

Forhåndsvisning

2 av totalt 13 sider er tilgjengelig for forhåndsvisning