In probability theory and statistics, the exponential distribution or negative exponential distribution is the probability distribution of the distance between events in a Poisson point process, i.e., a process in which events occur continuously and independently at a constant average rate; the distance parameter could be any meaningful mono-dimensional measure of the process, such as time between production errors, or length along a roll of fabric in the weaving manufacturing process. It is a particular case of the gamma distribution. It is the continuous analogue of the geometric distribution, and it has the key property of being memoryless. In addition to being used for the analysis of Poisson point processes it is found in various other contexts.
The exponential distribution is not the same as the class of exponential families of distributions. This is a large class of probability distributions that includes the exponential distribution as one of its members, but also includes many other distributions, such as the normal, binomial, gamma, and Poisson distributions.
The probability density function (pdf) of an exponential distribution is
Here λ > 0 is the parameter of the distribution, often called the rate parameter. The distribution is supported on the interval [0, ∞). If a random variable X has this distribution, we write X ~ Exp(λ).
The exponential distribution exhibits infinite divisibility.
The cumulative distribution function is given by
The exponential distribution is sometimes parametrized in terms of the scale parameter β = 1/λ, which is also the mean: f ( x ; β ) = { 1 β e − x / β x ≥ 0 , 0 x < 0. F ( x ; β ) = { 1 − e − x / β x ≥ 0 , 0 x < 0. {\displaystyle f(x;\beta )={\begin{cases}{\frac {1}{\beta }}e^{-x/\beta }&x\geq 0,\\0&x<0.\end{cases}}\qquad \qquad F(x;\beta )={\begin{cases}1-e^{-x/\beta }&x\geq 0,\\0&x<0.\end{cases}}}
The mean or expected value of an exponentially distributed random variable X with rate parameter λ is given by E ⁡ [ X ] = 1 λ . {\displaystyle \operatorname {E} [X]={\frac {1}{\lambda }}.}
In light of the examples given below, this makes sense; a person who receives an average of two telephone calls per hour can expect that the time between consecutive calls will be 0.5 hour, or 30 minutes.
The variance of X is given by Var ⁡ [ X ] = 1 λ 2 , {\displaystyle \operatorname {Var} [X]={\frac {1}{\lambda ^{2}}},} so the standard deviation is equal to the mean.
The moments of X, for n ∈ N {\displaystyle n\in \mathbb {N} } are given by E ⁡ [ X n ] = n ! λ n . {\displaystyle \operatorname {E} \left[X^{n}\right]={\frac {n!}{\lambda ^{n}}}.}
The central moments of X, for n ∈ N {\displaystyle n\in \mathbb {N} } are given by μ n = ! n λ n = n ! λ n ∑ k = 0 n ( − 1 ) k k ! . {\displaystyle \mu _{n}={\frac {!n}{\lambda ^{n}}}={\frac {n!}{\lambda ^{n}}}\sum _{k=0}^{n}{\frac {(-1)^{k}}{k!}}.} where !n is the subfactorial of n.
The median of X is given by m ⁡ [ X ] = ln ⁡ ( 2 ) λ < E ⁡ [ X ] , {\displaystyle \operatorname {m} [X]={\frac {\ln(2)}{\lambda }}<\operatorname {E} [X],} where ln refers to the natural logarithm. Thus the absolute difference between the mean and median is | E ⁡ [ X ] − m ⁡ [ X ] | = 1 − ln ⁡ ( 2 ) λ < 1 λ = σ ⁡ [ X ] , {\displaystyle \left|\operatorname {E} \left[X\right]-\operatorname {m} \left[X\right]\right|={\frac {1-\ln(2)}{\lambda }}<{\frac {1}{\lambda }}=\operatorname {\sigma } [X],}
in accordance with the median-mean inequality.
An exponentially distributed random variable T obeys the relation Pr ( T > s + t ∣ T > s ) = Pr ( T > t ) , ∀ s , t ≥ 0. {\displaystyle \Pr \left(T>s+t\mid T>s\right)=\Pr(T>t),\qquad \forall s,t\geq 0.}
This can be seen by considering the complementary cumulative distribution function: Pr ( T > s + t ∣ T > s ) = Pr ( T > s + t ∩ T > s ) Pr ( T > s ) = Pr ( T > s + t ) Pr ( T > s ) = e − λ ( s + t ) e − λ s = e − λ t = Pr ( T > t ) . {\displaystyle {\begin{aligned}\Pr \left(T>s+t\mid T>s\right)&={\frac {\Pr \left(T>s+t\cap T>s\right)}{\Pr \left(T>s\right)}}\\[4pt]&={\frac {\Pr \left(T>s+t\right)}{\Pr \left(T>s\right)}}\\[4pt]&={\frac {e^{-\lambda (s+t)}}{e^{-\lambda s}}}\\[4pt]&=e^{-\lambda t}\\[4pt]&=\Pr(T>t).\end{aligned}}}
When T is interpreted as the waiting time for an event to occur relative to some initial time, this relation implies that, if T is conditioned on a failure to observe the event over some initial period of time s, the distribution of the remaining waiting time is the same as the original unconditional distribution. For example, if an event has not occurred after 30 seconds, the conditional probability that occurrence will take at least 10 more seconds is equal to the unconditional probability of observing the event more than 10 seconds after the initial time.
The exponential distribution and the geometric distribution are the only memoryless probability distributions.
The exponential distribution is consequently also necessarily the only continuous probability distribution that has a constant failure rate.
The quantile function (inverse cumulative distribution function) for Exp(λ) is F − 1 ( p ; λ ) = − ln ⁡ ( 1 − p ) λ , 0 ≤ p < 1 {\displaystyle F^{-1}(p;\lambda )={\frac {-\ln(1-p)}{\lambda }},\qquad 0\leq p<1}
The quartiles are therefore:
first quartile: ln(4/3)/λ
median: ln(2)/λ
third quartile: ln(4)/λ
And as a consequence the interquartile range is ln(3)/λ.
The conditional value at risk (CVaR) also known as the expected shortfall or superquantile for Exp(λ) is derived as follows:
q ¯ α ( X ) = 1 1 − α ∫ α 1 q p ( X ) d p = 1 ( 1 − α ) ∫ α 1 − ln ⁡ ( 1 − p ) λ d p = − 1 λ ( 1 − α ) ∫ 1 − α 0 − ln ⁡ ( y ) d y = − 1 λ ( 1 − α ) ∫ 0 1 − α ln ⁡ ( y ) d y = − 1 λ ( 1 − α ) [ ( 1 − α ) ln ⁡ ( 1 − α ) − ( 1 − α ) ] = − ln ⁡ ( 1 − α ) + 1 λ {\displaystyle {\begin{aligned}{\bar {q}}_{\alpha }(X)&={\frac {1}{1-\alpha }}\int _{\alpha }^{1}q_{p}(X)dp\\&={\frac {1}{(1-\alpha )}}\int _{\alpha }^{1}{\frac {-\ln(1-p)}{\lambda }}dp\\&={\frac {-1}{\lambda (1-\alpha )}}\int _{1-\alpha }^{0}-\ln(y)dy\\&={\frac {-1}{\lambda (1-\alpha )}}\int _{0}^{1-\alpha }\ln(y)dy\\&={\frac {-1}{\lambda (1-\alpha )}}[(1-\alpha )\ln(1-\alpha )-(1-\alpha )]\\&={\frac {-\ln(1-\alpha )+1}{\lambda }}\\\end{aligned}}}
The buffered probability of exceedance is one minus the probability level at which the CVaR equals the threshold x {\displaystyle x} . It is derived as follows:
p ¯ x ( X ) = { 1 − α | q ¯ α ( X ) = x } = { 1 − α | − ln ⁡ ( 1 − α ) + 1 λ = x } = { 1 − α | ln ⁡ ( 1 − α ) = 1 − λ x } = { 1 − α | e ln ⁡ ( 1 − α ) = e 1 − λ x } = { 1 − α | 1 − α = e 1 − λ x } = e 1 − λ x {\displaystyle {\begin{aligned}{\bar {p}}_{x}(X)&=\{1-\alpha |{\bar {q}}_{\alpha }(X)=x\}\\&=\{1-\alpha |{\frac {-\ln(1-\alpha )+1}{\lambda }}=x\}\\&=\{1-\alpha |\ln(1-\alpha )=1-\lambda x\}\\&=\{1-\alpha |e^{\ln(1-\alpha )}=e^{1-\lambda x}\}=\{1-\alpha |1-\alpha =e^{1-\lambda x}\}=e^{1-\lambda x}\end{aligned}}}
The directed Kullback–Leibler divergence in nats of e λ {\displaystyle e^{\lambda }} ("approximating" distribution) from e λ 0 {\displaystyle e^{\lambda _{0}}} ('true' distribution) is given by Δ ( λ 0 ∥ λ ) = E λ 0 ( log ⁡ p λ 0 ( x ) p λ ( x ) ) = E λ 0 ( log ⁡ λ 0 e λ 0 x λ e λ x ) = log ⁡ ( λ 0 ) − log ⁡ ( λ ) − ( λ 0 − λ ) E λ 0 ( x ) = log ⁡ ( λ 0 ) − log ⁡ ( λ ) + λ λ 0 − 1. {\displaystyle {\begin{aligned}\Delta (\lambda _{0}\parallel \lambda )&=\mathbb {E} _{\lambda _{0}}\left(\log {\frac {p_{\lambda _{0}}(x)}{p_{\lambda }(x)}}\right)\\&=\mathbb {E} _{\lambda _{0}}\left(\log {\frac {\lambda _{0}e^{\lambda _{0}x}}{\lambda e^{\lambda x}}}\right)\\&=\log(\lambda _{0})-\log(\lambda )-(\lambda _{0}-\lambda )E_{\lambda _{0}}(x)\\&=\log(\lambda _{0})-\log(\lambda )+{\frac {\lambda }{\lambda _{0}}}-1.\end{aligned}}}
Among all continuous probability distributions with support [0, ∞) and mean μ, the exponential distribution with λ = 1/μ has the largest differential entropy. In other words, it is the maximum entropy probability distribution for a random variate X which is greater than or equal to zero and for which E[X] is fixed.
For a random variable X ∼ E x p ( λ ) {\displaystyle X\sim \mathrm {Exp} (\lambda )} with parameter λ {\displaystyle \lambda } , the variable multiplied with a constant c > 0 {\displaystyle c>0} is again exponentially distributed: c X ∼ E x p ( λ / c ) . {\displaystyle cX\sim \mathrm {Exp} (\lambda /c).}
Let X1, ..., Xn be independent exponentially distributed random variables with rate parameters λ1, ..., λn. Then min { X 1 , … , X n } {\displaystyle \min \left\{X_{1},\dotsc ,X_{n}\right\}} is also exponentially distributed, with parameter λ = λ 1 + ⋯ + λ n . {\displaystyle \lambda =\lambda _{1}+\dotsb +\lambda _{n}.}
This can be seen by considering the complementary cumulative distribution function: Pr ( min { X 1 , … , X n } > x ) = Pr ( X 1 > x , … , X n > x ) = ∏ i = 1 n Pr ( X i > x ) = ∏ i = 1 n exp ⁡ ( − x λ i ) = exp ⁡ ( − x ∑ i = 1 n λ i ) . {\displaystyle {\begin{aligned}&\Pr \left(\min\{X_{1},\dotsc ,X_{n}\}>x\right)\\={}&\Pr \left(X_{1}>x,\dotsc ,X_{n}>x\right)\\={}&\prod _{i=1}^{n}\Pr \left(X_{i}>x\right)\\={}&\prod _{i=1}^{n}\exp \left(-x\lambda _{i}\right)=\exp \left(-x\sum _{i=1}^{n}\lambda _{i}\right).\end{aligned}}}
The index of the variable which achieves the minimum is distributed according to the categorical distribution Pr ( X k = min { X 1 , … , X n } ) = λ k λ 1 + ⋯ + λ n . {\displaystyle \Pr \left(X_{k}=\min\{X_{1},\dotsc ,X_{n}\}\right)={\frac {\lambda _{k}}{\lambda _{1}+\dotsb +\lambda _{n}}}.}
A proof can be seen by letting I = argmin i ∈ { 1 , ⋯ , n } ⁡ { X 1 , … , X n } {\displaystyle I=\operatorname {argmin} _{i\in \{1,\dotsb ,n\}}\{X_{1},\dotsc ,X_{n}\}} . Then, Pr ( I = k ) = ∫ 0 ∞ Pr ( X k = x ) Pr ( ∀ i ≠ k X i > x ) d x = ∫ 0 ∞ λ k e − λ k x ( ∏ i = 1 , i ≠ k n e − λ i x ) d x = λ k ∫ 0 ∞ e − ( λ 1 + ⋯ + λ n ) x d x = λ k λ 1 + ⋯ + λ n . {\displaystyle {\begin{aligned}\Pr(I=k)&=\int _{0}^{\infty }\Pr(X_{k}=x)\Pr(\forall _{i\neq k}X_{i}>x)\,dx\\&=\int _{0}^{\infty }\lambda _{k}e^{-\lambda _{k}x}\left(\prod _{i=1,i\neq k}^{n}e^{-\lambda _{i}x}\right)dx\\&=\lambda _{k}\int _{0}^{\infty }e^{-\left(\lambda _{1}+\dotsb +\lambda _{n}\right)x}dx\\&={\frac {\lambda _{k}}{\lambda _{1}+\dotsb +\lambda _{n}}}.\end{aligned}}}
In contrast, max { X 1 , … , X n } {\displaystyle \max\{X_{1},\dotsc ,X_{n}\}} is not exponentially distributed, if X1, ..., Xn do not all have parameter 0.
Let X 1 , … , X n {\displaystyle X_{1},\dotsc ,X_{n}} be n {\displaystyle n} independent and identically distributed exponential random variables with rate parameter λ. Let X ( 1 ) , … , X ( n ) {\displaystyle X_{(1)},\dotsc ,X_{(n)}} denote the corresponding order statistics. For i < j {\displaystyle i<j} , the joint moment E ⁡ [ X ( i ) X ( j ) ] {\displaystyle \operatorname {E} \left[X_{(i)}X_{(j)}\right]} of the order statistics X ( i ) {\displaystyle X_{(i)}} and X ( j ) {\displaystyle X_{(j)}} is given by E ⁡ [ X ( i ) X ( j ) ] = ∑ k = 0 j − 1 1 ( n − k ) λ E ⁡ [ X ( i ) ] + E ⁡ [ X ( i ) 2 ] = ∑ k = 0 j − 1 1 ( n − k ) λ ∑ k = 0 i − 1 1 ( n − k ) λ + ∑ k = 0 i − 1 1 ( ( n − k ) λ ) 2 + ( ∑ k = 0 i − 1 1 ( n − k ) λ ) 2 . {\displaystyle {\begin{aligned}\operatorname {E} \left[X_{(i)}X_{(j)}\right]&=\sum _{k=0}^{j-1}{\frac {1}{(n-k)\lambda }}\operatorname {E} \left[X_{(i)}\right]+\operatorname {E} \left[X_{(i)}^{2}\right]\\&=\sum _{k=0}^{j-1}{\frac {1}{(n-k)\lambda }}\sum _{k=0}^{i-1}{\frac {1}{(n-k)\lambda }}+\sum _{k=0}^{i-1}{\frac {1}{((n-k)\lambda )^{2}}}+\left(\sum _{k=0}^{i-1}{\frac {1}{(n-k)\lambda }}\right)^{2}.\end{aligned}}}
This can be seen by invoking the law of total expectation and the memoryless property: E ⁡ [ X ( i ) X ( j ) ] = ∫ 0 ∞ E ⁡ [ X ( i ) X ( j ) ∣ X ( i ) = x ] f X ( i ) ( x ) d x = ∫ x = 0 ∞ x E ⁡ [ X ( j ) ∣ X ( j ) ≥ x ] f X ( i ) ( x ) d x ( since X ( i ) = x ⟹ X ( j ) ≥ x ) = ∫ x = 0 ∞ x [ E ⁡ [ X ( j ) ] + x ] f X ( i ) ( x ) d x ( by the memoryless property ) = ∑ k = 0 j − 1 1 ( n − k ) λ E ⁡ [ X ( i ) ] + E ⁡ [ X ( i ) 2 ] . {\displaystyle {\begin{aligned}\operatorname {E} \left[X_{(i)}X_{(j)}\right]&=\int _{0}^{\infty }\operatorname {E} \left[X_{(i)}X_{(j)}\mid X_{(i)}=x\right]f_{X_{(i)}}(x)\,dx\\&=\int _{x=0}^{\infty }x\operatorname {E} \left[X_{(j)}\mid X_{(j)}\geq x\right]f_{X_{(i)}}(x)\,dx&&\left({\textrm {since}}~X_{(i)}=x\implies X_{(j)}\geq x\right)\\&=\int _{x=0}^{\infty }x\left[\operatorname {E} \left[X_{(j)}\right]+x\right]f_{X_{(i)}}(x)\,dx&&\left({\text{by the memoryless property}}\right)\\&=\sum _{k=0}^{j-1}{\frac {1}{(n-k)\lambda }}\operatorname {E} \left[X_{(i)}\right]+\operatorname {E} \left[X_{(i)}^{2}\right].\end{aligned}}}
The first equation follows from the law of total expectation. The second equation exploits the fact that once we condition on X ( i ) = x {\displaystyle X_{(i)}=x} , it must follow that X ( j ) ≥ x {\displaystyle X_{(j)}\geq x} . The third equation relies on the memoryless property to replace E ⁡ [ X ( j ) ∣ X ( j ) ≥ x ] {\displaystyle \operatorname {E} \left[X_{(j)}\mid X_{(j)}\geq x\right]} with E ⁡ [ X ( j ) ] + x {\displaystyle \operatorname {E} \left[X_{(j)}\right]+x} .
The probability distribution function (PDF) of a sum of two independent random variables is the convolution of their individual PDFs. If X 1 {\displaystyle X_{1}} and X 2 {\displaystyle X_{2}} are independent exponential random variables with respective rate parameters λ 1 {\displaystyle \lambda _{1}} and λ 2 , {\displaystyle \lambda _{2},} then the probability density of Z = X 1 + X 2 {\displaystyle Z=X_{1}+X_{2}} is given by f Z ( z ) = ∫ − ∞ ∞ f X 1 ( x 1 ) f X 2 ( z − x 1 ) d x 1 = ∫ 0 z λ 1 e − λ 1 x 1 λ 2 e − λ 2 ( z − x 1 ) d x 1 = λ 1 λ 2 e − λ 2 z ∫ 0 z e ( λ 2 − λ 1 ) x 1 d x 1 = { λ 1 λ 2 λ 2 − λ 1 ( e − λ 1 z − e − λ 2 z ) if λ 1 ≠ λ 2 λ 2 z e − λ z if λ 1 = λ 2 = λ . {\displaystyle {\begin{aligned}f_{Z}(z)&=\int _{-\infty }^{\infty }f_{X_{1}}(x_{1})f_{X_{2}}(z-x_{1})\,dx_{1}\\&=\int _{0}^{z}\lambda _{1}e^{-\lambda _{1}x_{1}}\lambda _{2}e^{-\lambda _{2}(z-x_{1})}\,dx_{1}\\&=\lambda _{1}\lambda _{2}e^{-\lambda _{2}z}\int _{0}^{z}e^{(\lambda _{2}-\lambda _{1})x_{1}}\,dx_{1}\\&={\begin{cases}{\dfrac {\lambda _{1}\lambda _{2}}{\lambda _{2}-\lambda _{1}}}\left(e^{-\lambda _{1}z}-e^{-\lambda _{2}z}\right)&{\text{ if }}\lambda _{1}\neq \lambda _{2}\\[4pt]\lambda ^{2}ze^{-\lambda z}&{\text{ if }}\lambda _{1}=\lambda _{2}=\lambda .\end{cases}}\end{aligned}}} The entropy of this distribution is available in closed form: assuming λ 1 > λ 2 {\displaystyle \lambda _{1}>\lambda _{2}} (without loss of generality), then H ( Z ) = 1 + γ + ln ⁡ ( λ 1 − λ 2 λ 1 λ 2 ) + ψ ( λ 1 λ 1 − λ 2 ) , {\displaystyle {\begin{aligned}H(Z)&=1+\gamma +\ln \left({\frac {\lambda _{1}-\lambda _{2}}{\lambda _{1}\lambda _{2}}}\right)+\psi \left({\frac {\lambda _{1}}{\lambda _{1}-\lambda _{2}}}\right),\end{aligned}}} where γ {\displaystyle \gamma } is the Euler-Mascheroni constant, and ψ ( ⋅ ) {\displaystyle \psi (\cdot )} is the digamma function.
In the case of equal rate parameters, the result is an Erlang distribution with shape 2 and parameter λ , {\displaystyle \lambda ,} which in turn is a special case of gamma distribution.
The sum of n independent Exp(λ) exponential random variables is Gamma(n, λ) distributed.
In this section, the following conventions are used:
U ( a , b ) {\displaystyle U(a,b)} for the (continuous) uniform distribution on the interval ( a , b ) {\displaystyle (a,b)} with a < b {\displaystyle a<b} .
B e t a ( a , b ) {\displaystyle \mathrm {Beta} (a,b)} for the beta distribution with parameters a , b > 0 {\displaystyle a,b>0} .
P o i s s o n ( λ ) {\displaystyle \mathrm {Poisson} (\lambda )} for the Poisson distribution with parameter λ > 0 {\displaystyle \lambda >0} .
G a m m a ( α , λ ) {\displaystyle \mathrm {Gamma} (\alpha ,\lambda )} for the Gamma distribution with shape parameter α > 0 {\displaystyle \alpha >0} and rate parameter λ > 0 {\displaystyle \lambda >0} .
E r l a n g ( k , λ ) {\displaystyle \mathrm {Erlang} (k,\lambda )} for the Erlang distribution with shape parameter k ∈ N {\displaystyle k\in \mathbb {N} } and rate parameter λ > 0 {\displaystyle \lambda >0} .
χ n 2 {\displaystyle \chi _{n}^{2}} for the chi-squared distribution with n {\displaystyle n} degrees of freedom.
P a r e t o ( x m , α ) {\displaystyle \mathrm {Pareto} (x_{m},\alpha )} the Pareto distribution with scale parameter x m > 0 {\displaystyle x_{m}>0} and shape parameter α > 0 {\displaystyle \alpha >0} .
L a p l a c e ( μ , b ) {\displaystyle \mathrm {Laplace} (\mu ,b)} for the Laplace distribution with location μ ∈ R {\displaystyle \mu \in \mathbb {R} } and scale parameter b > 0 {\displaystyle b>0} .
S k e w L o g i s t i c ( θ ) {\displaystyle \mathrm {SkewLogistic} (\theta )} for the type I generalized logistic distribution with parameter θ > 0 {\displaystyle \theta >0} .
R e i g h l e y ( σ ) {\displaystyle \mathrm {Reighley} (\sigma )} for the Reyleigh distribution with parameter σ > 0 {\displaystyle \sigma >0} .
W e i b u l l ( λ , k ) {\displaystyle \mathrm {Weibull} (\lambda ,k)} for the Weibull distribution with scale and shape parameters λ , k > 0 {\displaystyle \lambda ,k>0} .
G u m b e l ( μ , β ) {\displaystyle \mathrm {Gumbel} (\mu ,\beta )} for the Gumbel distribution with location parameter μ ∈ R {\displaystyle \mu \in \mathbb {R} } and scale parameter β > 0 {\displaystyle \beta >0} .
L o g i s t i c ( μ , β ) {\displaystyle \mathrm {Logistic} (\mu ,\beta )} for the logistic distribution with location parameter μ ∈ R {\displaystyle \mu \in \mathbb {R} } and scale parameter β > 0 {\displaystyle \beta >0} .
G e o m e t r i c 0 ( p ) {\displaystyle \mathrm {Geometric} _{0}(p)} the geometric distribution with success probability p ∈ ( 0 , 1 ] {\displaystyle p\in (0,1]} and support N 0 = { 0 , 1 , 2 , … } {\displaystyle \mathbb {N} _{0}=\{0,1,2,\dots \}} .
G e o m e t r i c 1 ( p ) {\displaystyle \mathrm {Geometric} _{1}(p)} the geometric distribution with success probability p ∈ ( 0 , 1 ] {\displaystyle p\in (0,1]} and support N = { 1 , 2 , 3 , … } {\displaystyle \mathbb {N} =\{1,2,3,\dots \}} .
L o m a x ( α , λ ) {\displaystyle \mathrm {Lomax} (\alpha ,\lambda )} for the Lomax distribution with shape parameter α > 0 {\displaystyle \alpha >0} and scale parameter λ > 0 {\displaystyle \lambda >0} .
G E V ( μ , σ , ξ ) {\displaystyle \mathrm {GEV} (\mu ,\sigma ,\xi )} for the generalized extreme value distribution with location parameter μ ∈ R {\displaystyle \mu \in \mathbb {R} } , scale parameter σ > 0 {\displaystyle \sigma >0} and shape parameter ξ ∈ R {\displaystyle \xi \in \mathbb {R} } .
B e n k t a n d e r W e i b u l l ( a , b ) {\displaystyle \mathrm {BenktanderWeibull} (a,b)} for the Benktander type II distribution with parameters a > 0 {\displaystyle a>0} and b ∈ ( 0 , 1 ] {\displaystyle b\in (0,1]} .
The exponential distribution is a special case of type 3 Pearson distribution.
For any λ > 0 {\displaystyle \lambda >0} : E x p ( λ ) ∼ Weibull ⁡ ( 1 λ , 1 ) {\displaystyle \mathrm {Exp} (\lambda )\sim \operatorname {Weibull} \left({\frac {1}{\lambda }},1\right)} = G a m m a ( 1 , λ ) {\displaystyle =\mathrm {Gamma} (1,\lambda )} = E r l a n g ( 1 , λ ) {\displaystyle =\mathrm {Erlang} (1,\lambda )} .
E x p ( 1 / 2 ) = χ 2 2 {\displaystyle \mathrm {Exp} (1/2)=\chi _{2}^{2}} .
If X ~ Laplace(μ, β-1), then |X − μ| ~ Exp(β). On the other hand, if X, Y ~ Exp(λ) are independent, then X - Y ~ Laplace(0, λ-1). Also, if X ~ Exp(λ1) and Y ~ Exp(λ2) are independent, then λ1X - λ2Y ~ Laplace(0, 1).
If X ~ Beta(λ, 1), then −log(X) ~ Exp(λ). Equivalently, if Y ~ Exp(λ), then e−Y ~ Beta(λ, 1).
As a special case of the above: If X ~ U(0, 1) then −log(X)/λ ~ Exp(λ). Equivalently, if Y ~ Exp(λ), then e−λY ~ U(0, 1). This is a direct consequence of the probability integral transform.
If X ~ Pareto(k, λ), then log(X/k) ~ Exp(λ). Equivalently, if Y ~ Exp(λ), then keY ~ Pareto(k, λ).
If X ~ SkewLogistic(θ), then log ⁡ ( 1 + e − X ) ∼ Exp ⁡ ( θ ) {\displaystyle \log \left(1+e^{-X}\right)\sim \operatorname {Exp} (\theta )} . Equivalently, if Y ~ Exp(λ), then −log(eY−1) ~ SkewLogistic(λ).
If X ~ Rayleigh(σ), then X 2 ∼ E x p ( 1 / ( 2 σ 2 ) ) {\displaystyle X^{2}\sim \mathrm {Exp} (1/(2\sigma ^{2}))} . Equivalently, if Y ~ Exp(λ), then Y ∼ Rayleigh ⁡ ( 1 / 2 λ ) {\displaystyle {\sqrt {Y}}\sim \operatorname {Rayleigh} \left(1/{\sqrt {2\lambda }}\right)} .
If X ~ Weibull(λ, k), then Xk ~ Exp(1/λk). In particular, if Y ~ Exp(λ), then Y2 ~ Weibull(1/λ2, 1/2).
If X ~ Gumbel(μ, β), then exp((X-μ)/β) ~ Exp(1). Equivalently, if Y ~ Exp(λ), then μ − β log(λX) ∼ Gumbel(μ, β) = GEV(μ, σ, 0).
If X ~ BenktanderWeibull(λ, 1), then X - 1 ~ Exp(λ). Equivalently, if Y ~ Exp(λ), then 1 + Y ~ BenktanderWeibull(λ, 1), which reduces to a truncated exponential distribution.
If X ~ Exp(λ), then ⌊ X ⌋ ∼ Geometric 0 ⁡ ( 1 − e − λ ) {\displaystyle \lfloor X\rfloor \sim \operatorname {Geometric} _{0}\left(1-e^{-\lambda }\right)} , ⌈ X ⌉ ∼ Geometric 1 ⁡ ( 1 − e − λ ) {\displaystyle \lceil X\rceil \sim \operatorname {Geometric} _{1}\left(1-e^{-\lambda }\right)} and ⁠1/k⁠eX ~ PowerLaw(k, λ).
If X ~ Exp(1), then μ − β log ⁡ ( e − X 1 − e − X ) ∼ Logistic ⁡ ( μ , β ) {\displaystyle \mu -\beta \log \left({\frac {e^{-X}}{1-e^{-X}}}\right)\sim \operatorname {Logistic} (\mu ,\beta )} .
If X, Y ~ Exp(1) are independent, then X/Y ~ Lomax(1, 1) and μ − β log ⁡ ( X Y ) ∼ Logistic ⁡ ( μ , β ) {\displaystyle \mu -\beta \log \left({\frac {X}{Y}}\right)\sim \operatorname {Logistic} (\mu ,\beta )} . The former can be used to obtain a confidence interval for quotients of rates λ i λ j {\displaystyle {\frac {\lambda _{i}}{\lambda _{j}}}} .
If X ~ Exp(1) and Y ∼ G a m m a ( α , β α ) {\displaystyle Y\sim \mathrm {Gamma} \left(\alpha ,{\frac {\beta }{\alpha }}\right)} are independent, then X Y ∼ K ⁡ ( α , β ) {\displaystyle {\sqrt {XY}}\sim \operatorname {K} (\alpha ,\beta )} .
If X ~ Exp(λ) and λ ~ Gamma(k, Λ), then the marginal distribution of X is Lomax(k, Λ), the gamma mixture.
If X ~ Exp(λ) and Y ∣ X {\displaystyle Y\mid X} ~ Poisson(X), then Y ∼ Geometric 0 ⁡ ( 1 1 + λ − 1 ) {\displaystyle Y\sim \operatorname {Geometric} _{0}\left({\frac {1}{1+\lambda ^{-1}}}\right)} .
If Yi ~ U(0, 1), then n min ( Y 1 , … , Y n ) ⟶ d Exp ⁡ ( 1 ) . {\displaystyle n\min \left(Y_{1},\ldots ,Y_{n}\right)\ {\overset {d}{\longrightarrow }}\ \operatorname {Exp} (1).} Since min ( Y 1 , … , Y n ) ∼ Beta ⁡ ( 1 , n ) {\displaystyle \min \left(Y_{1},\ldots ,Y_{n}\right)\sim \operatorname {Beta} (1,n)} , the exponential distribution is therefore a (weak) limit of a scaled beta distribution: n Beta ⁡ ( 1 , n ) ⟶ w Exp ⁡ ( 1 ) . {\displaystyle n\operatorname {Beta} (1,n)\ {\overset {w}{\longrightarrow }}\ \operatorname {Exp} (1).}
The Hoyt distribution can be obtained from exponential distribution and arcsine distribution.
The exponential distribution is a limit of the κ-exponential distribution in the κ = 0 {\displaystyle \kappa =0} case.
Exponential distribution is a limit of the κ-Generalized Gamma distribution in the α = 1 {\displaystyle \alpha =1} and ν = 1 {\displaystyle \nu =1} cases: lim ( α , ν ) → ( 0 , 1 ) p κ ( x ) = ( 1 + κ ν ) ( 2 κ ) ν Γ ( 1 2 κ + ν 2 ) Γ ( 1 2 κ − ν 2 ) α λ ν Γ ( ν ) x α ν − 1 exp κ ⁡ ( − λ x α ) = λ e − λ x . {\displaystyle \lim _{(\alpha ,\nu )\to (0,1)}p_{\kappa }(x)=(1+\kappa \nu )(2\kappa )^{\nu }{\frac {\Gamma {\Big (}{\frac {1}{2\kappa }}+{\frac {\nu }{2}}{\Big )}}{\Gamma {\Big (}{\frac {1}{2\kappa }}-{\frac {\nu }{2}}{\Big )}}}{\frac {\alpha \lambda ^{\nu }}{\Gamma (\nu )}}x^{\alpha \nu -1}\exp _{\kappa }(-\lambda x^{\alpha })=\lambda e^{-\lambda x}.}
Indirectly related distributions:
Hyper-exponential distribution – the distribution whose density is a weighted sum of exponential densities.
Hypoexponential distribution – the distribution of a general sum of exponential random variables.
exGaussian distribution – the sum of an exponential distribution and a normal distribution.
In the following, let X, X1, ..., Xn ~ Exp(λ) be all independent.
X 1 + ⋯ + X n = ∑ i = 1 n X i ∼ {\displaystyle X_{1}+\cdots +X_{n}=\sum _{i=1}^{n}X_{i}\sim } Erlang(n, λ) = Gamma(n, λ).
If T = X 1 + ⋯ + X n = ∑ i = 1 n X i {\displaystyle T=X_{1}+\cdots +X_{n}=\sum _{i=1}^{n}X_{i}} , then 2 λ T ∼ χ 2 n 2 {\displaystyle 2\lambda T\sim \chi _{2n}^{2}} .
X ∑ i = 1 n X i ∼ {\displaystyle {\frac {X}{\sum _{i=1}^{n}X_{i}}}\sim } Lomax(n, 1) and X ∑ i = 1 n X i + 1 ∼ {\displaystyle {\frac {X}{\sum _{i=1}^{n}X_{i}}}+1\sim } Pareto(1, n).
X X + ∑ i = 1 n X i ∼ {\displaystyle {\frac {X}{X+\sum _{i=1}^{n}X_{i}}}\sim } Beta(1, n). In particular, X X + X 1 ∼ {\displaystyle {\frac {X}{X+X_{1}}}\sim } U(0,1).
Below, suppose random variable X is exponentially distributed with rate parameter λ, and x 1 , … , x n {\displaystyle x_{1},\dotsc ,x_{n}} are n independent samples from X, with sample mean x ¯ {\displaystyle {\bar {x}}} .
The maximum likelihood estimator for λ is constructed as follows.
The likelihood function for λ, given an independent and identically distributed sample x = (x1, ..., xn) drawn from the variable, is: L ( λ ) = ∏ i = 1 n λ exp ⁡ ( − λ x i ) = λ n exp ⁡ ( − λ ∑ i = 1 n x i ) = λ n exp ⁡ ( − λ n x ¯ ) , {\displaystyle L(\lambda )=\prod _{i=1}^{n}\lambda \exp(-\lambda x_{i})=\lambda ^{n}\exp \left(-\lambda \sum _{i=1}^{n}x_{i}\right)=\lambda ^{n}\exp \left(-\lambda n{\overline {x}}\right),}
where: x ¯ = 1 n ∑ i = 1 n x i {\displaystyle {\overline {x}}={\frac {1}{n}}\sum _{i=1}^{n}x_{i}} is the sample mean.
The derivative of the likelihood function's logarithm is: d d λ ln ⁡ L ( λ ) = d d λ ( n ln ⁡ λ − λ n x ¯ ) = n λ − n x ¯ { > 0 , 0 < λ < 1 x ¯ , = 0 , λ = 1 x ¯ , < 0 , λ > 1 x ¯ . {\displaystyle {\frac {d}{d\lambda }}\ln L(\lambda )={\frac {d}{d\lambda }}\left(n\ln \lambda -\lambda n{\overline {x}}\right)={\frac {n}{\lambda }}-n{\overline {x}}\ {\begin{cases}>0,&0<\lambda <{\frac {1}{\overline {x}}},\\[8pt]=0,&\lambda ={\frac {1}{\overline {x}}},\\[8pt]<0,&\lambda >{\frac {1}{\overline {x}}}.\end{cases}}}
Consequently, the maximum likelihood estimate for the rate parameter is: λ ^ mle = 1 x ¯ = n ∑ i = 1 n x i {\displaystyle {\widehat {\lambda }}_{\text{mle}}={\frac {1}{\overline {x}}}={\frac {n}{\sum _{i=1}^{n}x_{i}}}}
This is not an unbiased estimator of λ , {\displaystyle \lambda ,} although x ¯ {\displaystyle {\overline {x}}} is an unbiased MLE of 1 / λ {\displaystyle 1/\lambda } and the distribution mean. There are methods to reduce the bias of λ ^ mle {\displaystyle {\widehat {\lambda }}_{\text{mle}}} yielding a bias-corrected maximum likelihood estimator.
An approximate minimizer of the mean squared error (see also: bias–variance tradeoff) can be found, assuming a sample size greater than two, with a correction factor to the MLE: λ ^ = ( n − 2 n ) ( 1 x ¯ ) = n − 2 ∑ i = 1 n x i {\displaystyle {\widehat {\lambda }}=\left({\frac {n-2}{n}}\right)\left({\frac {1}{\bar {x}}}\right)={\frac {n-2}{\sum _{i=1}^{n}x_{i}}}} This is derived from the mean and variance of the inverse-gamma distribution, Inv-Gamma ( n , λ ) {\textstyle {\mbox{Inv-Gamma}}(n,\lambda )} .
The uniformly minimum-variance unbiased estimator for λ {\displaystyle \lambda } is
λ ^ u m v u e = n − 1 ∑ i = 1 n x i , {\displaystyle {\widehat {\lambda }}_{\mathrm {umvue} }={\frac {n-1}{\sum _{i=1}^{n}x_{i}}},}
which, in contrast to the MLE, is unbiased by definition.
The Fisher information, denoted I ( λ ) {\displaystyle {\mathcal {I}}(\lambda )} , for an estimator of the rate parameter λ {\displaystyle \lambda } is given as: I ( λ ) = E ⁡ [ ( ∂ ∂ λ log ⁡ f ( x ; λ ) ) 2 | λ ] = ∫ ( ∂ ∂ λ log ⁡ f ( x ; λ ) ) 2 f ( x ; λ ) d x {\displaystyle {\mathcal {I}}(\lambda )=\operatorname {E} \left[\left.\left({\frac {\partial }{\partial \lambda }}\log f(x;\lambda )\right)^{2}\right|\lambda \right]=\int \left({\frac {\partial }{\partial \lambda }}\log f(x;\lambda )\right)^{2}f(x;\lambda )\,dx}
Plugging in the distribution and solving gives: I ( λ ) = ∫ 0 ∞ ( ∂ ∂ λ log ⁡ λ e − λ x ) 2 λ e − λ x d x = ∫ 0 ∞ ( 1 λ − x ) 2 λ e − λ x d x = λ − 2 . {\displaystyle {\mathcal {I}}(\lambda )=\int _{0}^{\infty }\left({\frac {\partial }{\partial \lambda }}\log \lambda e^{-\lambda x}\right)^{2}\lambda e^{-\lambda x}\,dx=\int _{0}^{\infty }\left({\frac {1}{\lambda }}-x\right)^{2}\lambda e^{-\lambda x}\,dx=\lambda ^{-2}.}
This determines the amount of information each independent sample of an exponential distribution carries about the unknown rate parameter λ {\displaystyle \lambda } .
An exact 100(1 − α)% confidence interval for the rate parameter of an exponential distribution is given by: 2 n λ ^ mle χ α 2 , 2 n 2 < 1 λ < 2 n λ ^ mle χ 1 − α 2 , 2 n 2 , {\displaystyle {\frac {2n}{{\widehat {\lambda }}_{\textrm {mle}}\chi _{{\frac {\alpha }{2}},2n}^{2}}}<{\frac {1}{\lambda }}<{\frac {2n}{{\widehat {\lambda }}_{\textrm {mle}}\chi _{1-{\frac {\alpha }{2}},2n}^{2}}}\,,} which is also equal to 2 n x ¯ χ α 2 , 2 n 2 < 1 λ < 2 n x ¯ χ 1 − α 2 , 2 n 2 , {\displaystyle {\frac {2n{\overline {x}}}{\chi _{{\frac {\alpha }{2}},2n}^{2}}}<{\frac {1}{\lambda }}<{\frac {2n{\overline {x}}}{\chi _{1-{\frac {\alpha }{2}},2n}^{2}}}\,,} where χ2p,v is the 100(p) percentile of the chi squared distribution with v degrees of freedom, n is the number of observations and x-bar is the sample average. A simple approximation to the exact interval endpoints can be derived using a normal approximation to the χ2p,v distribution. This approximation gives the following values for a 95% confidence interval: λ lower = λ ^ ( 1 − 1.96 n ) λ upper = λ ^ ( 1 + 1.96 n ) {\displaystyle {\begin{aligned}\lambda _{\text{lower}}&={\widehat {\lambda }}\left(1-{\frac {1.96}{\sqrt {n}}}\right)\\\lambda _{\text{upper}}&={\widehat {\lambda }}\left(1+{\frac {1.96}{\sqrt {n}}}\right)\end{aligned}}}
The conjugate prior for the exponential distribution is the gamma distribution (of which the exponential distribution is a special case). The following parameterization of the gamma probability density function is useful:
Gamma ⁡ ( λ ; α , β ) = β α Γ ( α ) λ α − 1 exp ⁡ ( − λ β ) . {\displaystyle \operatorname {Gamma} (\lambda ;\alpha ,\beta )={\frac {\beta ^{\alpha }}{\Gamma (\alpha )}}\lambda ^{\alpha -1}\exp(-\lambda \beta ).}
The posterior distribution p can then be expressed in terms of the likelihood function defined above and a gamma prior:
p ( λ ) ∝ L ( λ ) Γ ( λ ; α , β ) = λ n exp ⁡ ( − λ n x ¯ ) β α Γ ( α ) λ α − 1 exp ⁡ ( − λ β ) ∝ λ ( α + n ) − 1 exp ⁡ ( − λ ( β + n x ¯ ) ) . {\displaystyle {\begin{aligned}p(\lambda )&\propto L(\lambda )\Gamma (\lambda ;\alpha ,\beta )\\&=\lambda ^{n}\exp \left(-\lambda n{\overline {x}}\right){\frac {\beta ^{\alpha }}{\Gamma (\alpha )}}\lambda ^{\alpha -1}\exp(-\lambda \beta )\\&\propto \lambda ^{(\alpha +n)-1}\exp(-\lambda \left(\beta +n{\overline {x}}\right)).\end{aligned}}}
Now the posterior density p has been specified up to a missing normalizing constant. Since it has the form of a gamma pdf, this can easily be filled in, and one obtains:
p ( λ ) = Gamma ⁡ ( λ ; α + n , β + n x ¯ ) . {\displaystyle p(\lambda )=\operatorname {Gamma} (\lambda ;\alpha +n,\beta +n{\overline {x}}).}
Here the hyperparameter α can be interpreted as the number of prior observations, and β as the sum of the prior observations. The posterior mean here is: α + n β + n x ¯ . {\displaystyle {\frac {\alpha +n}{\beta +n{\overline {x}}}}.}
The exponential distribution is one of a number of statistical distributions with group structure. As a result of the group structure, the exponential has an associated Haar measure, which is 1 / λ . {\displaystyle 1/\lambda .} The use of the Haar measure as the prior (known as the Haar prior) in a Bayesian prediction gives probabilities that are perfectly calibrated, for any underlying true parameter values. Perfectly calibrated probabilities have the property that the predicted probabilities match the frequency of out-of-sample events exactly. For the exponential, there is an exact expression for Bayesian predictions generated using the Haar prior, given by
p H a a r − p r i o r ( x n + 1 ∣ x 1 , … , x n ) = n n + 1 ( x ¯ ) n ( n x ¯ + x n + 1 ) n + 1 . {\displaystyle p_{\rm {Haar-prior}}(x_{n+1}\mid x_{1},\ldots ,x_{n})={\frac {n^{n+1}\left({\overline {x}}\right)^{n}}{\left(n{\overline {x}}+x_{n+1}\right)^{n+1}}}.}
This is an example of calibrating prior prediction, in which the prior is chosen to improve calibration (and, in this case, to make the calibration perfect). Calibrating prior prediction for the exponential using the Haar prior is implemented in the R software package fitdistcp.[1]
The same prediction can be derived from a number of other perspectives, as discussed in the prediction section below.
The exponential distribution occurs naturally when describing the lengths of the inter-arrival times in a homogeneous Poisson process.
The exponential distribution may be viewed as a continuous counterpart of the geometric distribution, which describes the number of Bernoulli trials necessary for a discrete process to change state. In contrast, the exponential distribution describes the time for a continuous process to change state.
In real-world scenarios, the assumption of a constant rate (or probability per unit time) is rarely satisfied. For example, the rate of incoming phone calls differs according to the time of day. But if we focus on a time interval during which the rate is roughly constant, such as from 2 to 4 p.m. during work days, the exponential distribution can be used as a good approximate model for the time until the next phone call arrives. Similar caveats apply to the following examples which yield approximately exponentially distributed variables:
The time until a radioactive particle decays, or the time between clicks of a Geiger counter
The time between receiving one telephone call and the next
The time until default (on payment to company debt holders) in reduced-form credit risk modeling
Exponential variables can also be used to model situations where certain events occur with a constant probability per unit length, such as the distance between mutations on a DNA strand, or between roadkills on a given road.
In queuing theory, the service times of agents in a system (e.g. how long it takes for a bank teller etc. to serve a customer) are often modeled as exponentially distributed variables. (The arrival of customers for instance is also modeled by the Poisson distribution if the arrivals are independent and distributed identically.) The length of a process that can be thought of as a sequence of several independent tasks follows the Erlang distribution (which is the distribution of the sum of several independent exponentially distributed variables).
Reliability theory and reliability engineering also make extensive use of the exponential distribution. Because of the memoryless property of this distribution, it is well-suited to model the constant hazard rate portion of the bathtub curve used in reliability theory. It is also very convenient because it is so easy to add failure rates in a reliability model. The exponential distribution is however not appropriate to model the overall lifetime of organisms or technical devices, because the "failure rates" here are not constant: more failures occur for very young and for very old systems.
In physics, if you observe a gas at a fixed temperature and pressure in a uniform gravitational field, the heights of the various molecules also follow an approximate exponential distribution, known as the Barometric formula. This is a consequence of the entropy property mentioned below.
In hydrology, the exponential distribution is used to analyze extreme values of such variables as monthly and annual maximum values of daily rainfall and river discharge volumes.
In operating-rooms management, the distribution of surgery duration for a category of surgeries with no typical work-content (like in an emergency room, encompassing all types of surgeries).
Having observed a sample of n data points from an unknown exponential distribution a common task is to use these samples to make predictions about future data from the same source. A common predictive distribution over future samples is the so-called plug-in distribution, formed by plugging a suitable estimate for the rate parameter λ into the exponential density function. A common choice of estimate is the one provided by the principle of maximum likelihood, and using this yields the predictive density over a future sample xn+1, conditioned on the observed samples x = (x1, ..., xn) given by p M L ( x n + 1 ∣ x 1 , … , x n ) = ( 1 x ¯ ) exp ⁡ ( − x n + 1 x ¯ ) . {\displaystyle p_{\rm {ML}}(x_{n+1}\mid x_{1},\ldots ,x_{n})=\left({\frac {1}{\overline {x}}}\right)\exp \left(-{\frac {x_{n+1}}{\overline {x}}}\right).}
The Bayesian approach provides a predictive distribution which takes into account the uncertainty of the estimated parameter, although this may depend crucially on the choice of prior.
A predictive distribution free of the issues of choosing priors that arise under the subjective Bayesian approach is
p C N M L ( x n + 1 ∣ x 1 , … , x n ) = n n + 1 ( x ¯ ) n ( n x ¯ + x n + 1 ) n + 1 , {\displaystyle p_{\rm {CNML}}(x_{n+1}\mid x_{1},\ldots ,x_{n})={\frac {n^{n+1}\left({\overline {x}}\right)^{n}}{\left(n{\overline {x}}+x_{n+1}\right)^{n+1}}},}
which can be considered as
a frequentist confidence distribution, obtained from the distribution of the pivotal quantity x n + 1 / x ¯ {\displaystyle {x_{n+1}}/{\overline {x}}} ;
a profile predictive likelihood, obtained by eliminating the parameter λ from the joint likelihood of xn+1 and λ by maximization;
an objective Bayesian predictive posterior distribution, obtained using the non-informative Jeffreys prior 1/λ, which is equal to the right Haar prior in this case. Predictions generated using the right Haar prior are guaranteed to give perfectly calibrated probabilities.
the Conditional Normalized Maximum Likelihood (CNML) predictive distribution, from information theoretic considerations.
The accuracy of a predictive distribution may be measured using the distance or divergence between the true exponential distribution with rate parameter, λ0, and the predictive distribution based on the sample x. The Kullback–Leibler divergence is a commonly used, parameterisation free measure of the difference between two distributions. Letting Δ(λ0||p) denote the Kullback–Leibler divergence between an exponential with rate parameter λ0 and a predictive distribution p it can be shown that
E λ 0 ⁡ [ Δ ( λ 0 ∥ p M L ) ] = ψ ( n ) + 1 n − 1 − log ⁡ ( n ) E λ 0 ⁡ [ Δ ( λ 0 ∥ p C N M L ) ] = ψ ( n ) + 1 n − log ⁡ ( n ) {\displaystyle {\begin{aligned}\operatorname {E} _{\lambda _{0}}\left[\Delta (\lambda _{0}\parallel p_{\rm {ML}})\right]&=\psi (n)+{\frac {1}{n-1}}-\log(n)\\\operatorname {E} _{\lambda _{0}}\left[\Delta (\lambda _{0}\parallel p_{\rm {CNML}})\right]&=\psi (n)+{\frac {1}{n}}-\log(n)\end{aligned}}}
where the expectation is taken with respect to the exponential distribution with rate parameter λ0 ∈ (0, ∞), and ψ( · ) is the digamma function. It is clear that the CNML predictive distribution is strictly superior to the maximum likelihood plug-in distribution in terms of average Kullback–Leibler divergence for all sample sizes n > 0.
A conceptually very simple method for generating exponential variates is based on inverse transform sampling: Given a random variate U drawn from the uniform distribution on the unit interval (0, 1), the variate
T = F − 1 ( U ) {\displaystyle T=F^{-1}(U)}
has an exponential distribution, where F−1 is the quantile function, defined by
F − 1 ( p ) = − ln ⁡ ( 1 − p ) λ . {\displaystyle F^{-1}(p)={\frac {-\ln(1-p)}{\lambda }}.}
Moreover, if U is uniform on (0, 1), then so is 1 − U. This means one can generate exponential variates as follows:
T = − ln ⁡ ( U ) λ . {\displaystyle T={\frac {-\ln(U)}{\lambda }}.}
Other methods for generating exponential variates are discussed by Knuth and Devroye.
A fast method for generating a set of ready-ordered exponential variates without using a sorting routine is also available.
Dead time – an application of exponential distribution to particle detector analysis.
Laplace distribution, or the "double exponential distribution".
Relationships among probability distributions
Marshall–Olkin exponential distribution
