Supriya Ghosh (Editor)

Erlang distribution

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Median
  
No simple closed form

Erlang distribution

Parameters
  
k ∈ N {displaystyle scriptstyle k;in ;mathbb {N} } shape λ > 0 {displaystyle scriptstyle lambda ;>;0} , rate (real) alt.: μ = 1 λ > 0 {displaystyle scriptstyle mu ;=;{ rac {1}{lambda }}>0,} scale (real)

Support
  
x ∈ [ 0 , ∞ ) {displaystyle scriptstyle x;in ;[0,,infty )!}

PDF
  
λ k x k − 1 e − λ x ( k − 1 ) ! {displaystyle scriptstyle { rac {lambda ^{k}x^{k-1}e^{-lambda x}}{(k-1)!,}}}

CDF
  
γ ( k , λ x ) ( k − 1 ) ! = 1 − ∑ n = 0 k − 1 1 n ! e − λ x ( λ x ) n {displaystyle scriptstyle { rac {gamma (k,,lambda x)}{(k,-,1)!}};=;1,-,sum _{n=0}^{k-1}{ rac {1}{n!}}e^{-lambda x}(lambda x)^{n}}

Mean
  
k λ {displaystyle scriptstyle { rac {k}{lambda }},}

The Erlang distribution is a two parameter family of continuous probability distributions with support x [ 0 , ) . The two parameters are:

Contents

  • a positive integer 'shape' k
  • a positive real 'rate' λ ; sometimes the scale μ , the inverse of the rate is used.
  • The Erlang distribution with shape parameter k equal to 1 simplifies to the exponential distribution. It is a special case of the Gamma distribution. It is the distribution of a sum of k independent exponential variables with mean 1 / λ each.

    The Erlang distribution was developed by A. K. Erlang to examine the number of telephone calls which 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 now used in the fields of stochastic processes and of biomathematics.

    Probability density function

    The probability density function of the Erlang distribution is

    f ( x ; k , λ ) = λ k x k 1 e λ x ( k 1 ) ! for  x , λ 0 ,

    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 μ , which is the reciprocal of the rate parameter (i.e., μ = 1 / λ ):

    f ( x ; k , μ ) = x k 1 e x μ μ k ( k 1 ) ! for  x , μ 0.

    When the scale parameter μ 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.

    Because of the factorial function in the denominator, the Erlang distribution is only defined when the parameter k is a positive integer. In fact, this distribution is sometimes called the Erlang-k distribution (e.g., an Erlang-2 distribution is an Erlang distribution with k = 2). The gamma distribution generalizes the Erlang distribution by allowing k to be any real number, using the gamma function instead of the factorial function.

    Cumulative distribution function (CDF)

    The cumulative distribution function of the Erlang distribution is

    F ( x ; k , λ ) = γ ( k , λ x ) ( k 1 ) ! ,

    where γ is the lower incomplete gamma function. The CDF may also be expressed as

    F ( x ; k , λ ) = 1 n = 0 k 1 1 n ! e λ x ( λ x ) n .

    Properties

    The Erlang distribution is a solution of the following differential equation:

    x f ( x ) + ( λ x + 1 k ) f ( x ) = 0

    with initial condition f ( 1 ) = e λ λ k ( k 1 ) ! .

    Median

    An asymptotic expansion is known for the median of an Erlang distribution, for which coefficients can be computed and bounds are known. An approximation is k λ ( 1 1 3 k + 0.2 ) , i.e. below the mean k λ .

    Generating Erlang-distributed random numbers

    Erlang-distributed random numbers can be generated from uniform distribution random numbers ( U ( 0 , 1 ] ) using the following formula:

    E ( k , λ ) 1 λ ln i = 1 k U i

    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.

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

    There are also two other Erlang distributions, both used in modeling traffic:

    Erlang B distribution: this is the easier of the two, and can be used, for example, in a call centre to calculate the number of trunks one need to carry a certain amount of phone traffic with a certain "target service".

    Erlang C distribution: this formula is much more difficult and is often used, for example, to calculate how long callers will have to wait before being connected to a human in a call centre or similar situation.

    Stochastic processes

    The Erlang distribution is the distribution of the sum of k independent and identically distributed random variables each having an exponential distribution. The long-run rate at which events occur is the reciprocal of the expectation of X , that is λ / k . The (age specific event) rate of the Erlang distribution is, for k > 1 , monotonic in x , increasing from zero at x = 0 , to λ as x tends to infinity.

  • If X E r l a n g ( k , λ ) then a X E r l a n g ( k , λ a ) with a R
  • lim k 1 σ k ( E r l a n g ( k , λ ) μ k ) d N ( 0 , 1 ) (normal distribution)
  • If X E r l a n g ( k 1 , λ ) and Y E r l a n g ( k 2 , λ ) then X + Y E r l a n g ( k 1 + k 2 , λ )
  • If X i Exponential(λ) then i = 1 k X i E r l a n g ( k , λ )
  • If k is an integer: X Γ ( k , λ ) (gamma distribution) then X E r l a n g ( k , λ )
  • If U E x p o n e n t i a l ( λ ) and V E r l a n g ( n , λ ) then U V P a r e t o ( 1 , n )
  • The Erlang distribution is a special case of the Pearson type III distribution
  • The chi-squared distribution is a special case of the Erlang distribution.
  • The Erlang distribution is related to Poisson distribution by the Poisson process: If S n = i = 1 n X i such that X i Exponential(λ), then S n E r l a n g ( n , λ ) and P r ( N ( x ) n ) = P r ( S n x ) = 1 F X ( x ; n , λ ) = k = 0 n 1 1 k ! e λ x ( λ x ) k . Taking the differences over n gives the Poisson distribution.
  • References

    Erlang distribution Wikipedia