Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-06T17:39:23.716Z Has data issue: false hasContentIssue false

TREE-BASED MACHINE LEARNING METHODS FOR MODELING AND FORECASTING MORTALITY

Published online by Cambridge University Press:  20 May 2022

Dorethe Skovgaard Bjerre*
Affiliation:
CREATES and Department of Economics and Business Economics Aarhus University Fuglesangs Allé 4 8210 Aarhus V, Denmark E-Mail: dorethebjerre@econ.au.dk
Rights & Permissions [Opens in a new window]

Abstract

Machine learning has recently entered the mortality literature in order to improve the forecasts of stochastic mortality models. This paper proposes to use two pure, tree-based machine learning models: random forests and gradient boosting, based on the differenced log-mortality rates to produce more accurate mortality forecasts. These forecasts are compared with forecasts from traditional, stochastic mortality models and with forecasts from random forests and gradient boosting variants of the stochastic models. The comparisons are based on the Model Confidence Set procedure. The results show that the pure, tree-based models significantly outperform all other models in the majority of cases considered. To address the lack of interpretability issue associated with machine learning models, we demonstrate how to extract information about the relationships uncovered by the tree-based models. For this purpose, we consider variable importance, partial dependence plots, and variable split conditions. Results from the in-sample fit suggest that tree-based models can be very useful tools for detecting patterns within and between variables that are not commonly identifiable with traditional methods.

Information

Type
Research Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press on behalf of The International Actuarial Association
Figure 0

Table 1 Combinations of fitting periods and forecast horizons.

Figure 1

Table 2 Superior sets of models for each training and test set combination.

Figure 2

Table 3 Head-to-head forecasting comparison based on MCS for 30-year forecast and fitting period 1961–1986.

Figure 3

Figure 1: Variable importance for all fitting periods and both age ranges.

Figure 4

Figure 2: Distribution of split points (left axis) and partial dependence (right axis) for the input variables year, cohort, and age. Age range: 59–89, fitting period: 1961–1986.

Figure 5

Table 4 Most frequent 4-way groupings of countries. Fitting period: 1961–1986, age range: 59–89.

Figure 6

Figure 3: Average partial dependence of age by regions. Age range: 59–89, fitting period: 1961–1986.

Supplementary material: File

Bjerre supplementary material

Bjerre supplementary material 1

Download Bjerre supplementary material(File)
File 81 KB
Supplementary material: PDF

Bjerre supplementary material

Bjerre supplementary material 2

Download Bjerre supplementary material(PDF)
PDF 591.6 KB