Gompertz distribution

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 code 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.

Probability density function
The probability density function of the Gompertz distribution is:


 * $$f\left(x;\eta, b\right)=b\eta \exp\left(\eta + b x -\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^{-t X}\right)=\eta e^{\eta}\text{E}_{t/b}\left(\eta\right)$$

where
 * $$\text{E}_{t/b}\left(\eta\right)=\int_1^\infin 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 $$h(x)=\eta b e^{bx}$$ 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 < F\left(x^*\right)<1-e^{-1} = 0.632121$$

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{align} 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{align} $$ 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=&minus;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.
 * If $$Y \sim \mathrm{Gompertz}$$, then $$X = \exp(Y) \sim \mathrm{Weibull}^{-1}$$, and hence $$\exp(-Y) \sim \mathrm{Weibull}$$.

Applications

 * In hydrology the Gompertz distribution is applied to extreme events such as annual maximum one-day rainfalls and river discharges. The blue picture illustrates an example of fitting the Gompertz distribution to ranked annually maximum one-day rainfalls showing also the 90% confidence belt based on the binomial distribution. The rainfall data are represented by plotting positions as part of the cumulative frequency analysis.