Skip to content
Back to projects
Data Science Freelance project · 2026

Longevity risk modelling

Measure how rising life expectancy affects the reserves of a life-annuity portfolio.

Private code / team project
13 % out-of-sample error (Lee-Carter)
+14 % reserves in 2060 vs static table
~621 M DH reserve gap

Problem

An insurer paying life annuities is exposed to policyholders living longer than expected. A static mortality table underestimates that risk: the task was to quantify the reserve gap on a concrete portfolio.

Data

  • Human Mortality Database (HMD), Canada, 1950–2019
  • Portfolio of 5,000 life annuities

Approach

  • 6 models compared: Lee-Carter, CBD, APC, Random Forest, XGBoost…
  • Out-of-sample evaluation
  • Mortality projected to 2060 and reserves computed against a static table

Results

  • Lee-Carter selected: 13% out-of-sample error, versus 26–28% for Random Forest and XGBoost
  • Reserves 5% higher in 2030 and 14% higher in 2060 than with a static table
  • A gap of about MAD 621M on 5,000 life annuities

What I would improve

  • Quantify projection uncertainty (confidence intervals) rather than a single central scenario
  • Test how sensitive the reserves are to the reference population, beyond Canadian data
Enlarged image