\( \newcommand{\matr}[1] {\mathbf{#1}} \newcommand{\vertbar} {\rule[-1ex]{0.5pt}{2.5ex}} \newcommand{\horzbar} {\rule[.5ex]{2.5ex}{0.5pt}} \newcommand{\E} {\mathrm{E}} \)
deepdream of
          a sidewalk
Show Question
\( \newcommand{\cat}[1] {\mathrm{#1}} \newcommand{\catobj}[1] {\operatorname{Obj}(\mathrm{#1})} \newcommand{\cathom}[1] {\operatorname{Hom}_{\cat{#1}}} \newcommand{\multiBetaReduction}[0] {\twoheadrightarrow_{\beta}} \newcommand{\betaReduction}[0] {\rightarrow_{\beta}} \newcommand{\betaEq}[0] {=_{\beta}} \newcommand{\string}[1] {\texttt{"}\mathtt{#1}\texttt{"}} \newcommand{\symbolq}[1] {\texttt{`}\mathtt{#1}\texttt{'}} \newcommand{\groupMul}[1] { \cdot_{\small{#1}}} \newcommand{\groupAdd}[1] { +_{\small{#1}}} \newcommand{\inv}[1] {#1^{-1} } \newcommand{\bm}[1] { \boldsymbol{#1} } \require{physics} \require{ams} \require{mathtools} \)
Math and science::INF ML AI

Gompertz distribution

Gompertz distribution

The Gompertz distribution is defined equivalently by:

Probability density function

\[ f(t) = k e^{\alpha t} e^{-\frac{k}{\alpha}(e^{\alpha t} - 1)} \]

Survival function

\[ S(t) = e^{-\frac{k}{\alpha}(e^{\alpha t} - 1)} \]

Hazard function

\[ h(t) = k e^{\alpha t} \]

Gompertz distribution. Motivation.

A survival function can be expressed as:

\[ \begin{align*} S(t) &= \exp(-\int_{t_0}^t h(x) \, dx) && \text{ (where } h \text{ is the hazard function)}\\ &= \exp(-y(t)) && \text{(thus defining \( y \))} \end{align*} \]

The transformation \( y \) is constrained so that all 3 of the following statements hold:

\[ \begin{align} y(t_0) &= 0 \\ y(\infty) &= \infty \\ y'(t) &\ge 0 \end{align} \]

From here on, we are concerned with the situation where \( t \ge 0 \).

Gompertz (1825) assumed that \( y \) took the form:

\[ y(t) = \frac{k}{\alpha}(e^{\alpha t} - 1). \]

Gompertz describes the motivation in detail, relating it to a geometric progression of deaths within long fixed length periods. The transformation satisfies the constraints above, on the condition that \( k > 0 \). That \( k \) must be positive is implied by the survival function being positive function.

Gompertz distribution. Properties.

Below are some properties of the Gompertz distribution.

Mode

Differentiating \( f(t) \) and equating to zero, we find the mode:

\[ \begin{align*} & 0 = f'(t) = (-k e^{\alpha t} + \alpha) k e^{-\frac{k}{\alpha}(e^{\alpha t} - 1) + \alpha t} \\ & \implies \alpha = k e^{\alpha t} \\ & \implies t = \frac{1}{\alpha} \ln(\frac{\alpha}{k}) \end{align*} \]

If \( \alpha < k \), then the mode is at \( t = 0 \). If \( \alpha > k \), then the mode is at \( t_m = \frac{1}{\alpha} \ln(\frac{\alpha}{k}) \). Wikipedia also notes that when the mode is positive, the cumulative distribution evaluated at \( t_m \) is always between 0 and 0.6321:

\[ 0 < F(t_m) < 1-e^{-1} \]

Translation

If \( X : \Omega \to [0, \infty) \) is Gompertz distributed with parameters \( (k, \alpha) \), then a forward shifted variable \( Y = X - t_a \) is Gompertz distributed with parameters \( (h(t_a), \alpha) \).

Proof. With a change of variable, \( t' = t - v \), we will show that \( S(t) = S(v)S*(t') \) where \( S* \) is the same survival function as \( S \), but with the \( k \) parameter being set to \( k \to h(v) = k \exp^{\alpha v} \). With this done, it will follow that \( S(t|t>v) = S*(t').

Let \( t' = t - v \).

\[ \begin{align*} S(t) &= e^{-\frac{k}{\alpha}(e^{\alpha t} - 1)} && \text{by definition of } S \\ &= e^{-\frac{k}{\alpha}(e^{\alpha (v + t')} - 1)} && \text{substitute } t \\ &= e^{-\frac{k}{\alpha}(e^{\alpha v}e^{\alpha t'} - 1)} && \text{expand } \\ &= e^{-\frac{k}{\alpha}(e^{\alpha v} - e^{\alpha v} + e^{\alpha v}e^{\alpha t'} - 1)} && (0\to+1-1) \text{ trick} \\ &= e^{-\frac{k}{\alpha}(e^{\alpha v} + e^{\alpha v}(e^{\alpha t} - 1) -1)} && \text{ group} \\ &= e^{-\frac{k}{\alpha}(e^{\alpha v} -1 + e^{\alpha v}(e^{\alpha t} - 1))} && \text{ rearrange} \\ &= e^{-\frac{k}{\alpha}(e^{\alpha v} -1)}e^{\frac{ke^{\alpha v}}{\alpha}(e^{\alpha t} - 1)} && \text{ rearrange} \\ &= S(v)S^*(t') && \text{by definition of } S^* \end{align*} \]

The consequence of this truncating a Gompertz distribution at time \( t_a \) (i.e. setting to zero the all probability mass at times less than \( t_a \)) and making a variable change such that \( t_0 = t_a \) leaves a Gompertz distribution with parameters \( (h(t_a), \alpha) \).

\( f, F, S \) and \( h \), definitions

Let \( T \subset \mathbb{R} \) be the codomain of a random variable. Typically, the codomain is non-negative, \( T \subseteq [0, \infty) \). Use \( t \in T \) to denote a generic value in the codomain. Let \( t_0 \) denote the infimum of the codomain (typically \( t_0 = 0 \)).

Let \( f : \mathbb{R} \to T \) be a probability density function of the underlying random variable. We then make a number of definitions:

  • Cumulative distribution function: \( F : T \to [0, 1] \).
    \[ F(t) = \int_{t_0}^t f(x) \, dx \]
  • Survival function: \( S : T \to [0, 1] \).
    \[ S(t) = 1 - F(t) \]
  • Hazard function: \( h : T \to [0, \infty) \).
    \[ h(t) = \frac{f(t)}{S(t)} \]

    Also called the intensity function.

Survival function. Intuition.

The survival function maps a time \( t \) to a probability mass, representing the probability that the event has not occurred yet, by time \( t \ge t_0 \). This is the most natural representation to work with when answering the question: what is the probability I will live until at least age 46.

The survival function acts as a re-normalizing factor in

\[ f_{t>t_a}(t) = \frac{f(t)}{S(t_a)} \]
that allows \( f \) to be transformed with the information that the event has not occurred by time \( t_a \). While \( f \) is normalized by \( F(\infty) = 0 \), \( f_{t>t_a} \) should be normalized by the remaining probability mass \( 1 - F(t_a) = S(t_a) \), which will be less that 1.

When \( t=t_a \) \( f_{t>t_a} \) is the hazard function:

\[ f_{t>t_a}(t_a) = h(t_a) \]

and so, the hazard function is the continually re-normalized density function. When worrying about dying, the hazard function \( h(t_b) \) tells us the danger of dying at \( t=t_b \), assuming that one has lived until \( t_b \). If you knew that you would go to war for 4 years once you reach 18, then your hazard function would sharply spike at 18 and then sharply drop again when the war ends, or you get discharged. High hazard values denote times at which you should exercise caution.


Source

Page 513 of Philosophical Transactions for the Year 1825 (link)

"Maximum-likelihood Estimation of the Parameters of the Gompertz Survival Function", by Garg et. al (1970) (link)