Erlang distribution explained

x\in[0,infty)

. The two parameters are:

k,

the "shape", and

λ,

the "rate". The "scale",

\beta,

the reciprocal of the rate, is sometimes used instead.

The Erlang distribution is the distribution of a sum of

k

independent exponential variables with mean

1/λ

each. Equivalently, it is the distribution of the time until the kth event of a Poisson process with a rate of

λ

. The Erlang and Poisson distributions are complementary, in that while the Poisson distribution counts the events that occur in a fixed amount of time, the Erlang distribution counts the amount of time until the occurrence of a fixed number of events. When

k=1

, the distribution simplifies to the exponential distribution. The Erlang distribution is a special case of the gamma distribution in which the shape of the distribution is discretized.

The Erlang distribution was developed by A. K. Erlang to examine the number of telephone calls that might be made at the same time to the operators of the switching stations. This work on telephone traffic engineering has been expanded to consider waiting times in queueing systems in general. The distribution is also used in the field of stochastic processes.

Characterization

Probability density function

The probability density function of the Erlang distribution is

f(x;k,λ)={λkxk-1e\over(k-1)!}forx,λ\geq0,

The parameter k is called the shape parameter, and the parameter

λ

is called the rate parameter.

An alternative, but equivalent, parametrization uses the scale parameter

\beta

, which is the reciprocal of the rate parameter (i.e.,

\beta=1/λ

):

f(x;k,\beta)=

xk-1
-x
\beta
e
\betak(k-1)!

forx,\beta\geq0.

When the scale parameter

\beta

equals 2, the distribution simplifies to the chi-squared distribution with 2k degrees of freedom. It can therefore be regarded as a generalized chi-squared distribution for even numbers of degrees of freedom.

Cumulative distribution function (CDF)

The cumulative distribution function of the Erlang distribution is

F(x;k,λ)=P(k,λx)=

\gamma(k,λx)
\Gamma(k)

=

\gamma(k,λx)
(k-1)!

,

where

\gamma

is the lower incomplete gamma function and

P

is the lower regularized gamma function.The CDF may also be expressed as

F(x;k,λ)=1-

k-1
\sum
n=0
1
n!

e(λx)n.

Erlang-k

The Erlang-k distribution (where k is a positive integer)

Ek(λ)

is defined by setting k in the PDF of the Erlang distribution.[1] For instance, the Erlang-2 distribution is

E2(λ)={λ2x}eforx,λ\geq0

, which is the same as

f(x;2,λ)

.

Median

An asymptotic expansion is known for the median of an Erlang distribution,[2] for which coefficients can be computed and bounds are known.[3] [4] An approximation is

k
λ

\left(1-\dfrac{1}{3k+0.2}\right),

i.e. below the mean
k
λ

.

[5]

Generating Erlang-distributed random variates

Erlang-distributed random variates can be generated from uniformly distributed random numbers (

U\in[0,1]

) using the following formula:[6]

E(k,λ)=-

1
λ

ln

k
\prod
i=1

Ui=-

1
λ
k
\sum
i=1

lnUi

Applications

Waiting times

Events that occur independently with some average rate are modeled with a Poisson process. The waiting times between k occurrences of the event are Erlang distributed. (The related question of the number of events in a given amount of time is described by the Poisson distribution.)

The Erlang distribution, which measures the time between incoming calls, can be used in conjunction with the expected duration of incoming calls to produce information about the traffic load measured in erlangs. This can be used to determine the probability of packet loss or delay, according to various assumptions made about whether blocked calls are aborted (Erlang B formula) or queued until served (Erlang C formula). The Erlang-B and C formulae are still in everyday use for traffic modeling for applications such as the design of call centers.

Other applications

The age distribution of cancer incidence often follows the Erlang distribution, whereas the shape and scale parameters predict, respectively, the number of driver events and the time interval between them.[7] [8] More generally, the Erlang distribution has been suggested as good approximation of cell cycle time distribution, as result of multi-stage models.[9] [10]

The kinesin is a molecular machine with two "feet" that "walks" along a filament. The waiting time between each step is exponentially distributed. When green fluorescent protein is attached to a foot of the kinesin, then the green dot visibly moves with Erlang distribution of k = 2.[11]

It has also been used in business economics for describing interpurchase times.[12]

Properties

X\sim\operatorname{Erlang}(k,λ)

then

aX\sim\operatorname{Erlang}\left(k,

λ
a

\right)

with

a\inR

X\sim\operatorname{Erlang}(k1,λ)

and

Y\sim\operatorname{Erlang}(k2,λ)

then

X+Y\sim\operatorname{Erlang}(k1+k2,λ)

if

X,Y

are independent

Related distributions

X,

that is,

λ/k.

The (age specific event) rate of the Erlang distribution is, for

k>1,

monotonic in

x,

increasing from 0 at

x=0,

to

λ

as

x

tends to infinity.[13]

Xi\sim\operatorname{Exponential}(λ),

then \sum_^k \sim \operatorname(k, \lambda)

k=2

). The gamma distribution generalizes the Erlang distribution by allowing k to be any positive real number, using the gamma function instead of the factorial function.

X\sim\operatorname{Gamma}(k,λ),

then

X\sim\operatorname{Erlang}(k,λ)

U\sim\operatorname{Exponential}(λ)

and

V\sim\operatorname{Erlang}(n,λ)

then
U
V

+1\sim\operatorname{Pareto}(1,n)

X\sim\operatorname{Erlang}(k,λ),

then

X\sim

2
\chi
2k

.

Sn=

n
\sum
i=1

Xi

such that

Xi\sim\operatorname{Exponential}(λ),

then S_n \sim \operatorname(n, \lambda) and \operatorname(N(x) \leq n - 1) = \operatorname(S_n > x) = 1 - F_X(x; n, \lambda) = \sum_^ \frace^ (\lambda x)^k. Taking the differences over

n

gives the Poisson distribution.

See also

Notes

  1. Web site: h1.pdf .
  2. Choi . K. P. . 10.1090/S0002-9939-1994-1195477-8 . On the medians of gamma distributions and an equation of Ramanujan . Proceedings of the American Mathematical Society . 121 . 245–251 . 1994 . 2160389.
  3. Adell . J. A. . Jodrá . P. . 10.1090/S0002-9947-07-04411-X . On a Ramanujan equation connected with the median of the gamma distribution . Transactions of the American Mathematical Society . 360 . 7 . 3631 . 2010. free .
  4. Jodrá . P. . Computing the Asymptotic Expansion of the Median of the Erlang Distribution . 10.3846/13926292.2012.664571 . Mathematical Modelling and Analysis . 17 . 2 . 281–292 . 2012 . free .
  5. Banneheka . BMSG . Ekanayake . GEMUPD . 2009 . A new point estimator for the median of gamma distribution . Viyodaya J Science . 14 . 95–103 .
  6. Web site: Statistical Distributions - Erlang Distribution - Random Number Generator. Resa. www.xycoon.com. 4 April 2018.
  7. Belikov . Aleksey V. . The number of key carcinogenic events can be predicted from cancer incidence . Scientific Reports . 22 September 2017 . 7 . 1 . 10.1038/s41598-017-12448-7. 5610194 . 28939880 .
  8. Belikov. Aleksey V.. Vyatkin. Alexey. Leonov. Sergey V.. 2021-08-06. The Erlang distribution approximates the age distribution of incidence of childhood and young adulthood cancers. PeerJ. en. 9. e11976. 34434669. 10.7717/peerj.11976. 8351573. 2167-8359. free.
  9. Yates . Christian A. . A Multi-stage Representation of Cell Proliferation as a Markov Process . Bulletin of Mathematical Biology . 21 April 2017 . 79 . 1 . 10.1007/s11538-017-0356-4 . 2905–2928. free . 5709504 .
  10. Gavagnin . Enrico . The invasion speed of cell migration models with realistic cell cycle time distributions . Journal of Theoretical Biology . 21 November 2019 . 481 . 10.1016/j.jtbi.2018.09.010. 1806.03140 . 91–99 .
  11. Yildiz . Ahmet . Forkey . Joseph N. . McKinney . Sean A. . Ha . Taekjip . Goldman . Yale E. . Selvin . Paul R. . 2003-06-27 . Myosin V Walks Hand-Over-Hand: Single Fluorophore Imaging with 1.5-nm Localization . Science . en . 300 . 5628 . 2061–2065 . 10.1126/science.1084398 . 0036-8075.
  12. C. . Chatfield . G.J. . Goodhardt . A Consumer Purchasing Model with Erlang Interpurchase Times . Journal of the American Statistical Association . December 1973 . 68 . 828-835.
  13. Cox, D.R. (1967) Renewal Theory, p20, Methuen.

References

External links