represents an exponential distribution with scale inversely proportional to parameter λ.
- The probability density for value in an exponential distribution is proportional to for , and is zero for . »
- ExponentialDistribution allows λ to be any positive real number.
- ExponentialDistribution allows λ to be a quantity of any unit dimension. »
- ExponentialDistribution can be used with such functions as Mean, CDF, and RandomVariate. »
Background & Context
- ExponentialDistribution[λ] represents a continuous statistical distribution defined over the interval and parametrized by a positive real number λ. The probability density function (PDF) of an exponential distribution is monotonically decreasing. In addition, the tails of the PDF are "thin", in the sense that the PDF decreases exponentially for large values of . (This behavior can be made quantitatively precise by analyzing the SurvivalFunction of the distribution.) The exponential distribution is sometimes referred to as the negative exponential distribution, the one-parameter exponential distribution, or the antilogarithmic distribution.
- Historically, the exponential distribution has been used most widely to describe events recurring "at random in time", i.e. in circumstances for which the future lifetime of an individual has the same distribution regardless of its present state. Use of the exponential distribution has increased significantly over the last 75 years, due in part to considerable research within the field of order statistics beginning in the early to mid-1950s. Since then, the exponential distribution has been used to model various phenomena over intervals of approximately constant rate, e.g. the number of phone calls placed in a specific time interval each day. In stochastic processes, the exponential distribution describes the lengths of interarrival times in homogeneous Poisson processes (i.e. continuous-time counting processes whose increments are independent, stationary, and Poisson-distributed—implemented as PoissonProcess). The exponential distribution is also used in credit risk modeling, queueing theory, reliability theory, physics, and hydrology.
- RandomVariate can be used to give one or more machine- or arbitrary-precision (the latter via the WorkingPrecision option) pseudorandom variates from an exponential distribution. Distributed[x,ExponentialDistribution[λ]], written more concisely as xExponentialDistribution[λ], can be used to assert that a random variable x is distributed according to an exponential distribution. Such an assertion can then be used in functions such as Probability, NProbability, Expectation, and NExpectation.
- The probability density and cumulative distribution functions may be given using PDF[ExponentialDistribution[λ],x] and CDF[ExponentialDistribution[λ],x]. The mean, median, variance, raw moments, and central moments may be computed using Mean, Median, Variance, Moment, and CentralMoment, respectively.
- DistributionFitTest can be used to test if a given dataset is consistent with an exponential distribution, EstimatedDistribution to estimate an exponential parametric distribution from given data, and FindDistributionParameters to fit data to an exponential distribution. ProbabilityPlot can be used to generate a plot of the CDF of given data against the CDF of a symbolic exponential distribution and QuantilePlot to generate a plot of the quantiles of given data against the quantiles of a symbolic exponential distribution.
- TransformedDistribution can be used to represent a transformed exponential distribution, CensoredDistribution to represent the distribution of values censored between upper and lower values, and TruncatedDistribution to represent the distribution of values truncated between upper and lower values. CopulaDistribution can be used to build higher-dimensional distributions that contain an exponential distribution, and ProductDistribution can be used to compute a joint distribution with independent component distributions involving exponential distributions.
- The exponential distribution is related to a large number of other distributions. Its occurrence relative to a PoissonProcess induces a relationship with PoissonDistribution and CompoundPoissonDistribution. ExponentialDistribution can be thought of as a basis for the extreme value distributions family, due to the fact that ExponentialDistribution can be transformed into each of ExtremeValueDistribution, GumbelDistribution, FrechetDistribution, and WeibullDistribution, while ExponentialDistribution can be obtained from each of GammaDistribution, LaplaceDistribution, BenktanderWeibullDistribution, LogisticDistribution, ParetoDistribution, PearsonDistribution, PowerDistribution, and RayleighDistribution by way of TransformedDistribution and/or TruncatedDistribution. Several distributions can be derived by combining various other distributions with ExponentialDistribution, e.g. GeometricDistribution (by combining ExponentialDistribution with PoissonDistribution), KDistribution (by combining with GammaDistribution), HoytDistribution (by combining with ArcSinDistribution), and ParetoDistribution (by combining with either ErlangDistribution or GammaDistribution).
Examplesopen allclose all
Basic Examples (4)
A relay has an exponentially distributed lifetime with a failure rate of failures per year. In order to estimate warranty costs, estimate the number of relays out of 10000 that will fail in the first six months of use. The failure rate is also known as the hazard rate:
A product has a time to failure that is exponentially distributed with parameter . Find the product's reliability at 1, 2, and 3 years. Reliability is another name for SurvivalFunction:
Using the memoryless property of ExponentialDistribution:
Assume the waiting time a customer spends in a restaurant is exponentially distributed with an average wait time of 5 minutes. Find the probability that the customer will have to wait more than 10 minutes:
Fit ExponentialDistribution to the data:
Waiting times at a receiver for signals coming from four independent transmitters are exponentially distributed with parameters , , , and , respectively. Find the probability that the signal from the third transmitter arrives first to the receiver:
Directly use SurvivalFunction:
By using BooleanCountingFunction, you can also define the logical condition:
In an optical communication system, transmitted light generates current at the receiver. The number of electrons follows the parametric mixture of Poisson distribution and other distributions, depending on the type of light. If the source uses coherent laser light of intensity λ, then the electron count distribution is Poisson:
Which is PoissonDistribution:
If the source uses thermal illumination, then the Poisson parameter follows ExponentialDistribution with parameter and the electron count distribution is:
Properties & Relations (31)
Exponential distribution is a limit of a scaled BetaDistribution:
PowerDistribution is a transformation of an exponential distribution:
Exponential distribution can be obtained from PowerDistribution:
Exponential distribution can be obtained from BetaDistribution:
Sum of independent exponentially distributed random variables follows ErlangDistribution:
ExponentialDistribution can be transformed into an extreme value distributions family:
The difference of two variates from the same exponential distribution follows LaplaceDistribution:
The difference of two different exponential distributions follows VarianceGammaDistribution:
Exponential distribution is a transformation of LaplaceDistribution:
LogisticDistribution is a transformation from exponential distribution:
LogisticDistribution is a transformation of exponential distribution:
ParetoDistribution is a transformation of exponential distribution:
Transformation of a ParetoDistribution yields an exponential distribution:
Exponential distribution is a special case of type 3 PearsonDistribution:
PowerDistribution is a transformation of exponential distribution:
Exponential distribution can be obtained from RayleighDistribution:
Exponential distribution is the limiting distribution of the where has UniformDistribution:
Possible Issues (2)
ExponentialDistribution is not defined when λ is not a positive real number: