Skip to content

open-source-modelling/insurance_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

db27be7 Β· May 12, 2025
Apr 1, 2024
Nov 7, 2024
Apr 10, 2024
Aug 4, 2023
Mar 24, 2024
Jul 12, 2023
Mar 24, 2024
May 12, 2025
Nov 14, 2024
Jan 24, 2025
Jan 9, 2025
Aug 4, 2023
Dec 3, 2022
Dec 11, 2021
Apr 3, 2022
Dec 30, 2022
May 12, 2025

Repository files navigation

🐍 Actuarial models in Python 🐍


Collection of useful models that actuaries can use to speed up their tasks.

Algorithms available

Algorithm Source Description
Smith_Wilson Technical-documentation Interpolation and extrapolation of missing interest rates.
Stationary_boot_calib Whitepaper-2004 Automatic calibration of the stationary bootstrap algorithm.
Stationary_bootstrap Politis-Romano-1994 Resampling procedure for weakly dependent stationary observations.
Calibration_of_alpha Technical-documentation Calibration of the Smith & Wilson's alpha parameter.
Correlated Brownian Wiki Brownian motion Simple function to generate correlated Brownian motion in multiple dimensions.
Nel_Si_Svansson BIS whitepaper Nelson-Siegel-Svansson model for approximating the yield curve.
Black_Scholes Wiki Black&Sholes Black&Scholes model for pricing option contracts.
Vasicek one factor Wiki Vasicek Vasicek model for modelling the evolution of interest rates.
Vasicek two factor Wiki Vasicek Vasicek model for modelling the evolution of a pair of interest rates.
1F Hull White Wiki Hull White One factor Hull White model of short rates.
Dothan one factor Quant Exchange One factor Dothan model of short rates.
Singular Spectrum analysis Paper SSA Non-parametric technique used for time series analysis and forecasting.

Algorithms planned

Algorithm Source Description
Matrix on fraction TBD Heuristics for calculating transition matrices on fractions of power
G2++ with piec cons vol TBD Calibration of a G2++ model with piecewise constant volatility
Carter-Lee model TBD Simple stochastic mortality model
Metropolis-Hastings TBD Sampling of probability distributions

New suggestions for algorithms are welcome.

If anybody is interested in publishing an algorithm they implemented, or help with the project, contact us and we will make it happen.

Queries and suggestions; gregor@osmodelling.com