Skip to content

felipepenha/Gompertz-Makehan-Fit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gompertz-Makehan-Fit

Gompertz–Makeham law of mortality fit to the 2016 English Life Table (ELT16)

Check out our wiki for equations and graphical results.

The ELT16 table can be found in the data directory, in the xlsx format. We read and interpret the table by using the following Python libraries:

import pyexcel_xlsx as pe
import json
import ast

Usage:

# Read data from ELT16.xlsx
age = np.asarray([
                     n[0] for n in list(
        ast.literal_eval(
            json.dumps(
                pe.get_data('./data/ELT16.xlsx', start_column=0, column_limit=1)
            )[:-2][101:]
        )
    )][:-5],
                 dtype=float)

About

Actuarial Sciences project (life insurance related)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%