# Gompertz distribution

Parameters Probability density function Cumulative distribution function $\eta ,b>0\,\!$ $x\in [0,\infty )\!$ $b\eta e^{bx}e^{\eta }\exp \left(-\eta e^{bx}\right)$ $1-\exp \left(-\eta \left(e^{bx}-1\right)\right)$ $(1/b)e^{\eta }{\text{Ei}}\left(-\eta \right)$ ${\text{where Ei}}\left(z\right)=\int \limits _{-z}^{\infty }\left(e^{-v}/v\right)dv$ $\left(1/b\right)\ln \left[\left(-1/\eta \right)\ln \left(1/2\right)+1\right]$ $=\left(1/b\right)\ln \left(1/\eta \right)\$ ${\text{with }}0<{\text{F}}\left(x^{*}\right)<1-e^{-1}=0.632121,0<\eta <1$ $=0,\quad \eta \geq 1$ $\left(1/b\right)^{2}e^{\eta }\{-2\eta {\ }_{3}{\text{F}}_{3}\left(1,1,1;2,2,2;-\eta \right)+\gamma ^{2}$ $+\left(\pi ^{2}/6\right)+2\gamma \ln \left(\eta \right)+[\ln \left(\eta \right)]^{2}-e^{\eta }[{\text{Ei}}\left(-\eta \right)]^{2}\}$ {\begin{aligned}{\text{ where }}&\gamma {\text{ is the Euler constant: }}\,\!\\&\gamma =-\psi \left(1\right)={\text{0.577215... }}\end{aligned}} {\begin{aligned}{\text{ and }}{}_{3}{\text{F}}_{3}&\left(1,1,1;2,2,2;-z\right)=\\&\sum _{k=0}^{\infty }\left[1/\left(k+1\right)^{3}\right]\left(-1\right)^{k}\left(z^{k}/k!\right)\end{aligned}} ${\text{E}}\left(e^{-tx}\right)=\eta e^{\eta }{\text{E}}_{t/b}\left(\eta \right)$ ${\text{with E}}_{t/b}\left(\eta \right)=\int _{1}^{\infty }e^{-\eta v}v^{-t/b}dv,\ t>0$ In probability and statistics, the Gompertz distribution is a continuous probability distribution, named after Benjamin Gompertz. The Gompertz distribution is often applied to describe the distribution of adult lifespans by demographers and actuaries. Related fields of science such as biology and gerontology also considered the Gompertz distribution for the analysis of survival. More recently, computer scientists have also started to model the failure rates of computer codes by the Gompertz distribution. In Marketing Science, it has been used as an individual-level simulation for customer lifetime value modeling. In network theory, particularly the Erdős–Rényi model, the walk length of a random self-avoiding walk (SAW) is distributed according to the Gompertz distribution.

## Specification

### Probability density function

The probability density function of the Gompertz distribution is:

$f\left(x;\eta ,b\right)=b\eta e^{\eta }e^{bx}\exp \left(-\eta e^{bx}\right){\text{for }}x\geq 0,\,$ where $b>0\,\!$ is the scale parameter and $\eta >0\,\!$ is the shape parameter of the Gompertz distribution. In the actuarial and biological sciences and in demography, the Gompertz distribution is parametrized slightly differently (Gompertz–Makeham law of mortality).

### Cumulative distribution function

The cumulative distribution function of the Gompertz distribution is:

$F\left(x;\eta ,b\right)=1-\exp \left(-\eta \left(e^{bx}-1\right)\right),$ where $\eta ,b>0,$ and $x\geq 0\,.$ ### Moment generating function

The moment generating function is:

${\text{E}}\left(e^{-tX}\right)=\eta e^{\eta }{\text{E}}_{t/b}\left(\eta \right)$ where

${\text{E}}_{t/b}\left(\eta \right)=\int _{1}^{\infty }e^{-\eta v}v^{-t/b}dv,\ t>0.$ ## Properties

The Gompertz distribution is a flexible distribution that can be skewed to the right and to the left. Its hazard function is a convex function of $F\left(x;\eta ,b\right)$ . The model can be fitted into the innovation-imitation paradigm with $p=\eta b$ as the coefficient of innovation and $b$ as the coefficient of imitation. When $t$ becomes large, $z(t)$ approaches $\infty$ . The model can also belong to the propensity-to-adopt paradigm with $\eta$ as the propensity to adopt and $b$ as the overall appeal of the new offering.

### Shapes

The Gompertz density function can take on different shapes depending on the values of the shape parameter $\eta \,\!$ :

• When $\eta \geq 1,\,$ the probability density function has its mode at 0.
• When $0<\eta <1,\,$ the probability density function has its mode at
$x^{*}=\left(1/b\right)\ln \left(1/\eta \right){\text{with }}0 ### Kullback-Leibler divergence

If $f_{1}$ and $f_{2}$ are the probability density functions of two Gompertz distributions, then their Kullback-Leibler divergence is given by

{\begin{aligned}D_{KL}(f_{1}\parallel f_{2})&=\int _{0}^{\infty }f_{1}(x;b_{1},\eta _{1})\,\ln {\frac {f_{1}(x;b_{1},\eta _{1})}{f_{2}(x;b_{2},\eta _{2})}}dx\\&=\ln {\frac {e^{\eta _{1}}\,b_{1}\,\eta _{1}}{e^{\eta _{2}}\,b_{2}\,\eta _{2}}}+e^{\eta _{1}}\left[\left({\frac {b_{2}}{b_{1}}}-1\right)\,\operatorname {Ei} (-\eta _{1})+{\frac {\eta _{2}}{\eta _{1}^{\frac {b_{2}}{b_{1}}}}}\,\Gamma \left({\frac {b_{2}}{b_{1}}}+1,\eta _{1}\right)\right]-(\eta _{1}+1)\end{aligned}} where $\operatorname {Ei} (\cdot )$ denotes the exponential integral and $\Gamma (\cdot ,\cdot )$ is the upper incomplete gamma function.

## Related distributions

• If X is defined to be the result of sampling from a Gumbel distribution until a negative value Y is produced, and setting X=−Y, then X has a Gompertz distribution.
• The gamma distribution is a natural conjugate prior to a Gompertz likelihood with known scale parameter $b\,\!.$ • When $\eta \,\!$ varies according to a gamma distribution with shape parameter $\alpha \,\!$ and scale parameter $\beta \,\!$ (mean = $\alpha /\beta \,\!$ ), the distribution of $x$ is Gamma/Gompertz.