gompertz {IBMPopSim}R Documentation

Gompertz–Makeham intensity function.

Description

The intensity function (or hazard function) for the Gompertz-Makeham law of mortality distribution is defined as

h(x) = \alpha e^{\beta x} + \lambda

with \alpha, \beta, \lambda \in {R}_+.

Usage

gompertz(alpha, beta, lambda = 0)

Arguments

alpha

Non-negative real parameter.

beta

Non-negative real parameter.

lambda

Non-negative real parameter.

Details

A C++ version of this function is available. See vignette('IBMPopSim_cpp') for more details.

Value

Function which associates x to \alpha exp(\beta x) + \lambda.

See Also

https://en.wikipedia.org/wiki/Gompertz%E2%80%93Makeham_law_of_mortality


[Package IBMPopSim version 1.0.0 Index]