by Katrien Antonio, Bavo Campo and Sander Devriendt.
Course materials for the Advanced Life Insurance Mathematics course taught in academic year 2020-2021 at KU Leuven.
📆 March - June, 2022
🕤 approx. 2-3h per computer lab
📍
Advanced Life Insurance Mathematics class at KU Leuven
You’ll work through the essential steps of the implementation in R
of
the concepts discussed in the Advanced Life Insurance Mathematics
course.
The schedule is subject to small changes.
Description | Lecture material | R script | sheets in pdf |
---|---|---|---|
Computer lab 1 - Getting mortality data | sheets data | script | sheets in pdf |
Computer lab 1 - Parametric mortality laws | sheets mortality laws | script | |
Computer lab 2 - Fitting Lee Carter with iterative LS | sheets iterative LS | script | |
Computer lab 2 - Fitting Lee Carter with Poisson likelihood | sheets Poisson | script | |
Computer lab 2 - Forecasting with Lee Carter | sheets forecasting | script | |
Computer lab 3 - Multiple state models | sheets multi-state | script |
Please bring a laptop with a recent version of R and RStudio installed. Make sure you can connect your laptop to the internet (or download the course material one day before the start of the workshop). You will need:
- R (at least 3.5.2 https://cloud.r-project.org/bin/windows/base/ )
- RStudio ( https://www.rstudio.com/products/rstudio/download/#download )
You should install and load the packages that will be used throughout
the workshop. You can use the following instructions to install (if
necessary) and load the packages. These instructions are also available
in prework_installation_packages.R
from the scripts
folder.
packages <- c("tidyverse", "demography")
suppressMessages(packages <- lapply(packages, FUN = function(x) {
if (!require(x, character.only = TRUE)) {
install.packages(x)
library(x, character.only = TRUE)
}
}))
We provide a back-up plan in case your local installation of R (and the necessary packages) is not working properly. Please join our project on RStudio Cloud via the link posted on TOLEDO.
After creating an account for RStudio you will be able to work with the scripts and data sets in the cloud.
Katrien Antonio is professor in insurance data science at KU Leuven and associate professor at University of Amsterdam. She teaches courses on data science for insurance, life and non-life insurance mathematics and loss models. Research-wise Katrien puts focus on pricing, reserving and fraud analytics, as well as mortality dynamics.
You are now ready to load the data and build predictive models for life insurance applications.