IBMPopSim (version 0.3.0)

gompertz: Gompertz<U+2013>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.

Value

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

Details

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

See Also

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