Inprobability theory andstatistics, theexponential distribution ornegative exponential distribution is theprobability distribution of the distance between events in aPoisson 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.[1] It is a particular case of thegamma distribution. It is the continuous analogue of thegeometric distribution, and it has the key property of beingmemoryless.[2] In addition to being used for the analysis of Poisson point processes it is found in various other contexts.[3]
The exponential distribution is not the same as the class ofexponential 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 thenormal,binomial,gamma, andPoisson distributions.[3]
Hereλ > 0 is the parameter of the distribution, often called therate parameter. The distribution is supported on the interval [0, ∞). If arandom variableX has this distribution, we write X ~ Exp(λ).
The exponential distribution is sometimes parametrized in terms of thescale parameterβ = 1/λ, which is also the mean:
Properties
Mean, variance, moments, and median
The mean is the probability mass centre, that is, thefirst moment.The median is thepreimageF−1(1/2).
The mean orexpected value of an exponentially distributed random variableX with rate parameterλ is given by
In light of the examples givenbelow, 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.
WhenT is interpreted as the waiting time for an event to occur relative to some initial time, this relation implies that, ifT is conditioned on a failure to observe the event over some initial period of times, 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, theconditional 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.
Distribution of the minimum of exponential random variables
LetX1, ...,Xn beindependent exponentially distributed random variables with rate parametersλ1, ...,λn. Thenis also exponentially distributed, with parameter
The first equation follows from thelaw of total expectation.The second equation exploits the fact that once we condition on, it must follow that. The third equation relies on the memoryless property to replace with.
Sum of two independent exponential random variables
The probability distribution function (PDF) of a sum of two independent random variables is theconvolution of their individual PDFs. If and are independent exponential random variables with respective rate parameters and then the probability density of is given byThe entropy of this distribution is available in closed form: assuming (without loss of generality), thenwhere is theEuler-Mascheroni constant, and is thedigamma function.[7]
In the case of equal rate parameters, the result is anErlang distribution with shape 2 and parameter which in turn is a special case ofgamma distribution.
The sum of n independent Exp(λ) exponential random variables is Gamma(n,λ) distributed.
TheFisher information, denoted, for an estimator of the rate parameter is given as:
Plugging in the distribution and solving gives:
This determines the amount of information each independent sample of an exponential distribution carries about the unknown rate parameter.
Confidence intervals
An exact 100(1 − α)% confidence interval for the rate parameter of an exponential distribution is given by:[13]which is also equal towhereχ2 p,v is the100(p)percentile of thechi squared distribution withvdegrees 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χ2 p,v distribution. This approximation gives the following values for a 95% confidence interval:
This approximation may be acceptable for samples containing at least 15 to 20 elements.[14]
Bayesian inference with a conjugate prior
Theconjugate prior for the exponential distribution is thegamma distribution (of which the exponential distribution is a special case). The following parameterization of the gamma probability density function is useful:
Theposterior distributionp can then be expressed in terms of the likelihood function defined above and a gamma prior:
Now the posterior densityp 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:
Here thehyperparameterα can be interpreted as the number of prior observations, andβ as the sum of the prior observations.The posterior mean here is:
Bayesian inference with a calibrating prior
The exponential distribution is one of a number of statistical distributions withgroup structure. As a result of the group structure, the exponential has an associatedHaar measure, which isThe use of theHaar measure as theprior (known as the Haar prior) in a Bayesian prediction gives probabilities that are perfectly calibrated, for any underlying true parameter values.[15][16][17] 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
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 theR software package fitdistcp.[1]
The same prediction can be derived from a number of other perspectives, as discussed in theprediction section below.
Occurrence and applications
Occurrence of events
The exponential distribution occurs naturally when describing the lengths of the inter-arrival times in a homogeneousPoisson process.
The exponential distribution may be viewed as a continuous counterpart of thegeometric distribution, which describes the number ofBernoulli trials necessary for adiscrete 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 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 betweenmutations on aDNA strand, or betweenroadkills on a given road.
Inqueuing 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 thePoisson 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 theErlang distribution (which is the distribution of the sum of several independent exponentially distributed variables).
Reliability theory andreliability engineering also make extensive use of the exponential distribution. Because of the memoryless property of this distribution, it is well-suited to model the constanthazard rate portion of thebathtub curve used in reliability theory. It is also very convenient because it is so easy to addfailure 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.
Fitted cumulative exponential distribution to annually maximum 1-day rainfalls
Inphysics, if you observe agas at a fixedtemperature andpressure in a uniformgravitational field, the heights of the various molecules also follow an approximate exponential distribution, known as theBarometric formula. This is a consequence of the entropy property mentioned below.
Inhydrology, 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.[18]
In operating-rooms management, the distribution of surgery duration for a category of surgeries withno typical work-content (like in an emergency room, encompassing all types of surgeries).
Prediction
Having observed a sample ofn 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 samplexn+1, conditioned on the observed samplesx = (x1, ...,xn) given by
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
a profile predictive likelihood, obtained by eliminating the parameterλ from the joint likelihood ofxn+1 andλ by maximization;[20]
an objective Bayesian predictive posterior distribution, obtained using the non-informativeJeffreys 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.[21][22]
the Conditional Normalized Maximum Likelihood (CNML) predictive distribution, from information theoretic considerations.[23]
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 samplex. TheKullback–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 distributionp it can be shown that
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 sizesn > 0.
^Eckford, Andrew W.; Thomas, Peter J. (2016). "Entropy of the sum of two independent, non-identically-distributed exponential random variables".arXiv:1609.02911 [cs.IT].
^Ritzema, H.P., ed. (1994).Frequency and Regression Analysis. Chapter 6 in: Drainage Principles and Applications, Publication 16, International Institute for Land Reclamation and Improvement (ILRI), Wageningen, The Netherlands. pp. 175–224.ISBN90-70754-33-9.
^Lawless, J. F.; Fredette, M. (2005). "Frequentist predictions intervals and predictive distributions".Biometrika.92 (3):529–542.doi:10.1093/biomet/92.3.529.