GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - open-source-modelling/insurance_python: Smith-Wilson, Nelson-Siegel-Svensson, Vasicek, Hull-White, stationary bootstrap and more: actuarial algorithms in Python, each with unit tests.

BranchesTags
Open more actions menu

Latest commit

 

History

407 Commits
407 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bisection_alpha
bisection_alpha
 
 
black_scholes
black_scholes
 
 
correlated_brownian_motion
correlated_brownian_motion
 
 
dothan_one_factor
dothan_one_factor
 
 
hull_white_one_factor
hull_white_one_factor
 
 
images
images
 
 
nelson_siegel_svensson
nelson_siegel_svensson
 
 
singular_spectrum_analysis
singular_spectrum_analysis
 
 
smith_wilson
smith_wilson
 
 
stationary_bootstrap
stationary_bootstrap
 
 
stationary_bootstrap_calibration
stationary_bootstrap_calibration
 
 
vasicek_one_factor
vasicek_one_factor
 
 
vasicek_two_factor
vasicek_two_factor
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CITATION.cff
CITATION.cff
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Logo

🐍 Actuarial models in Python 🐍


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

Tests

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_Svensson BIS whitepaper Nelson-Siegel-Svensson model for approximating the yield curve.
Black_Scholes Wiki Black&Scholes Black&Scholes model for simulating stock prices.
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.

Getting started

Each algorithm is in its own folder, with a README that explains the method and shows an example. The examples import the code from the same folder, so run them from inside that folder, for example cd smith_wilson followed by python main.py.

The required packages are listed in requirements.txt and can be installed with pip install -r requirements.txt. The tests are run with pytest from the root of the repository.

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; [email protected]

About

Smith-Wilson, Nelson-Siegel-Svensson, Vasicek, Hull-White, stationary bootstrap and more: actuarial algorithms in Python, each with unit tests.

qnityconsultants.com/

Topics

actuarialactuarial-modelingactuarial-statisticsbisection-methodbootstrapcalibrationcapital-marketsfreehull-whiteinsurancelife-insurancepythonriskrisk-analysisrisk-managementrisk-modelssingular-spectrum-analysissmith-wilsonsolvency2stationary-bootstrap

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity

Stars

50 stars

Watchers

5 watching

Forks

10 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.