Parameters ${\displaystyle \lambda _{1},\dots ,\lambda _{k}>0\,}$ rates (real) ${\displaystyle x\in [0;\infty )\!}$ Expressed as a phase-type distribution${\displaystyle -{\boldsymbol {\alpha ))e^{x\Theta }\Theta {\boldsymbol {1))}$Has no other simple form; see article for details Expressed as a phase-type distribution${\displaystyle 1-{\boldsymbol {\alpha ))e^{x\Theta }{\boldsymbol {1))}$ ${\displaystyle \sum _{i=1}^{k}1/\lambda _{i}\,}$ General closed form does not exist[1] ${\displaystyle (k-1)/\lambda }$ if ${\displaystyle \lambda _{k}=\lambda }$, for all k ${\displaystyle \sum _{i=1}^{k}1/\lambda _{i}^{2))$ ${\displaystyle 2(\sum _{i=1}^{k}1/\lambda _{i}^{3})/(\sum _{i=1}^{k}1/\lambda _{i}^{2})^{3/2))$ no simple closed form ${\displaystyle {\boldsymbol {\alpha ))(tI-\Theta )^{-1}\Theta \mathbf {1} }$ ${\displaystyle {\boldsymbol {\alpha ))(itI-\Theta )^{-1}\Theta \mathbf {1} }$

In probability theory the hypoexponential distribution or the generalized Erlang distribution is a continuous distribution, that has found use in the same fields as the Erlang distribution, such as queueing theory, teletraffic engineering and more generally in stochastic processes. It is called the hypoexponetial distribution as it has a coefficient of variation less than one, compared to the hyper-exponential distribution which has coefficient of variation greater than one and the exponential distribution which has coefficient of variation of one.

## Overview

The Erlang distribution is a series of k exponential distributions all with rate ${\displaystyle \lambda }$. The hypoexponential is a series of k exponential distributions each with their own rate ${\displaystyle \lambda _{i))$, the rate of the ${\displaystyle i^{th))$ exponential distribution. If we have k independently distributed exponential random variables ${\displaystyle {\boldsymbol {X))_{i))$, then the random variable,

${\displaystyle {\boldsymbol {X))=\sum _{i=1}^{k}{\boldsymbol {X))_{i))$

is hypoexponentially distributed. The hypoexponential has a minimum coefficient of variation of ${\displaystyle 1/k}$.

### Relation to the phase-type distribution

As a result of the definition it is easier to consider this distribution as a special case of the phase-type distribution. The phase-type distribution is the time to absorption of a finite state Markov process. If we have a k+1 state process, where the first k states are transient and the state k+1 is an absorbing state, then the distribution of time from the start of the process until the absorbing state is reached is phase-type distributed. This becomes the hypoexponential if we start in the first 1 and move skip-free from state i to i+1 with rate ${\displaystyle \lambda _{i))$ until state k transitions with rate ${\displaystyle \lambda _{k))$ to the absorbing state k+1. This can be written in the form of a subgenerator matrix,

${\displaystyle \left[{\begin{matrix}-\lambda _{1}&\lambda _{1}&0&\dots &0&0\\0&-\lambda _{2}&\lambda _{2}&\ddots &0&0\\\vdots &\ddots &\ddots &\ddots &\ddots &\vdots \\0&0&\ddots &-\lambda _{k-2}&\lambda _{k-2}&0\\0&0&\dots &0&-\lambda _{k-1}&\lambda _{k-1}\\0&0&\dots &0&0&-\lambda _{k}\end{matrix))\right]\;.}$

For simplicity denote the above matrix ${\displaystyle \Theta \equiv \Theta (\lambda _{1},\dots ,\lambda _{k})}$. If the probability of starting in each of the k states is

${\displaystyle {\boldsymbol {\alpha ))=(1,0,\dots ,0)}$

then ${\displaystyle Hypo(\lambda _{1},\dots ,\lambda _{k})=PH({\boldsymbol {\alpha )),\Theta ).}$

## Two parameter case

Where the distribution has two parameters (${\displaystyle \lambda _{1}\neq \lambda _{2))$) the explicit forms of the probability functions and the associated statistics are[2]

CDF: ${\displaystyle F(x)=1-{\frac {\lambda _{2)){\lambda _{2}-\lambda _{1))}e^{-\lambda _{1}x}+{\frac {\lambda _{1)){\lambda _{2}-\lambda _{1))}e^{-\lambda _{2}x))$

PDF: ${\displaystyle f(x)={\frac {\lambda _{1}\lambda _{2)){\lambda _{1}-\lambda _{2))}(e^{-x\lambda _{2))-e^{-x\lambda _{1)))}$

Mean: ${\displaystyle {\frac {1}{\lambda _{1))}+{\frac {1}{\lambda _{2))))$

Variance: ${\displaystyle {\frac {1}{\lambda _{1}^{2))}+{\frac {1}{\lambda _{2}^{2))))$

Coefficient of variation: ${\displaystyle {\frac {\sqrt {\lambda _{1}^{2}+\lambda _{2}^{2))}{\lambda _{1}+\lambda _{2))))$

The coefficient of variation is always < 1.

Given the sample mean (${\displaystyle {\bar {x))}$) and sample coefficient of variation (${\displaystyle c}$), the parameters ${\displaystyle \lambda _{1))$ and ${\displaystyle \lambda _{2))$ can be estimated as follows:

${\displaystyle \lambda _{1}={\frac {2}{\bar {x))}\left[1+{\sqrt {1+2(c^{2}-1)))\right]^{-1))$

${\displaystyle \lambda _{2}={\frac {2}{\bar {x))}\left[1-{\sqrt {1+2(c^{2}-1)))\right]^{-1))$

The resulting parameters ${\displaystyle \lambda _{1))$ and ${\displaystyle \lambda _{2))$ are real values if ${\displaystyle c^{2}\in [0.5,1]}$.

## Characterization

A random variable ${\displaystyle {\boldsymbol {X))\sim Hypo(\lambda _{1},\dots ,\lambda _{k})}$ has cumulative distribution function given by,

${\displaystyle F(x)=1-{\boldsymbol {\alpha ))e^{x\Theta }{\boldsymbol {1))}$

and density function,

${\displaystyle f(x)=-{\boldsymbol {\alpha ))e^{x\Theta }\Theta {\boldsymbol {1))\;,}$

where ${\displaystyle {\boldsymbol {1))}$ is a column vector of ones of the size k and ${\displaystyle e^{A))$ is the matrix exponential of A. When ${\displaystyle \lambda _{i}\neq \lambda _{j))$ for all ${\displaystyle i\neq j}$, the density function can be written as

${\displaystyle f(x)=\sum _{i=1}^{k}\lambda _{i}e^{-x\lambda _{i))\left(\prod _{j=1,j\neq i}^{k}{\frac {\lambda _{j)){\lambda _{j}-\lambda _{i))}\right)=\sum _{i=1}^{k}\ell _{i}(0)\lambda _{i}e^{-x\lambda _{i))}$

where ${\displaystyle \ell _{1}(x),\dots ,\ell _{k}(x)}$ are the Lagrange basis polynomials associated with the points ${\displaystyle \lambda _{1},\dots ,\lambda _{k))$.

The distribution has Laplace transform of

${\displaystyle {\mathcal {L))\{f(x)\}=-{\boldsymbol {\alpha ))(sI-\Theta )^{-1}\Theta {\boldsymbol {1))}$

Which can be used to find moments,

${\displaystyle E[X^{n}]=(-1)^{n}n!{\boldsymbol {\alpha ))\Theta ^{-n}{\boldsymbol {1))\;.}$

## General case

In the general case where there are ${\displaystyle a}$ distinct sums of exponential distributions with rates ${\displaystyle \lambda _{1},\lambda _{2},\cdots ,\lambda _{a))$ and a number of terms in each sum equals to ${\displaystyle r_{1},r_{2},\cdots ,r_{a))$ respectively. The cumulative distribution function for ${\displaystyle t\geq 0}$ is given by

${\displaystyle F(t)=1-\left(\prod _{j=1}^{a}\lambda _{j}^{r_{j))\right)\sum _{k=1}^{a}\sum _{l=1}^{r_{k)){\frac {\Psi _{k,l}(-\lambda _{k})t^{r_{k}-l}\exp(-\lambda _{k}t)}{(r_{k}-l)!(l-1)!)),}$

with

${\displaystyle \Psi _{k,l}(x)=-{\frac {\partial ^{l-1)){\partial x^{l-1))}\left(\prod _{j=0,j\neq k}^{a}\left(\lambda _{j}+x\right)^{-r_{j))\right).}$

with the additional convention ${\displaystyle \lambda _{0}=0,r_{0}=1}$.

## Uses

This distribution has been used in population genetics,[3] cell biology,[4][5] and queuing theory[6][7]

## References

1. ^ "HypoexponentialDistribution—Wolfram Language Documentation".
2. ^ Bolch, Gunter; Greiner, Stefan; de Meer, Hermann; Trivedi, Kishor Shridharbhai (2006). "Chapter 1. Introduction". Queueing Networks and Markov Chains: Modeling and Performance Evaluation with Computer Science Applications (2nd ed.). Wiley-Blackwell. doi:10.1002/0471200581.ch1. ISBN 978-0-471-56525-3.
3. ^ Strimmer K, Pybus OG (2001) "Exploring the demographic history of DNA sequences using the generalized skyline plot", Mol Biol Evol 18(12):2298-305
4. ^ Yates, Christian A. (21 April 2017). "A Multi-stage Representation of Cell Proliferation as a Markov Process". Bulletin of Mathematical Biology. 79 (1): 2905–2928. doi:10.1007/s11538-017-0356-4. PMC 5709504. PMID 29030804.
5. ^ Gavagnin, Enrico (14 October 2018). "The invasion speed of cell migration models with realistic cell cycle time distributions". Journal of Theoretical Biology. 79 (1): 91–99. arXiv:1806.03140. doi:10.1016/j.jtbi.2018.09.010. PMID 30219568. S2CID 47015362.
6. ^ "Faculty of Science" (PDF).
7. ^ Bekker R, Koeleman PM (2011) "Scheduling admissions and reducing variability in bed demand". Health Care Manag Sci, 14(3):237-249