In probability theory and statistics, the Laplace distribution is a continuous probability distribution named after Pierre-Simon Laplace. It is also sometimes called the double exponential distribution, because it can be thought of as two exponential distributions (with an additional location parameter) spliced together along the abscissa, although the term is also sometimes used to refer to the Gumbel distribution. The difference between two independent identically distributed exponential random variables is governed by a Laplace distribution, as is a Brownian motion evaluated at an exponentially distributed random time[citation needed]. Increments of Laplace motion or a variance gamma process evaluated over the time scale also have a Laplace distribution.
Definitions
Probability density function
A random variable has a distribution if its probability density function is
where is a location parameter, and , which is sometimes referred to as the "diversity", is a scale parameter. If and , the positive half-line is exactly an exponential distribution scaled by 1/2.[2]
The probability density function of the Laplace distribution is also reminiscent of the normal distribution; however, whereas the normal distribution is expressed in terms of the squared difference from the mean , the Laplace density is expressed in terms of the absolute difference from the mean. Consequently, the Laplace distribution has fatter tails than the normal distribution. It is a special case of the generalized normal distribution and the hyperbolic distribution. Continuous symmetric distributions that have exponential tails, like the Laplace distribution, but which have probability density functions that are differentiable at the mode include the logistic distribution, hyperbolic secant distribution, and the Champernowne distribution.
Cumulative distribution function
The Laplace distribution is easy to integrate (if one distinguishes two symmetric cases) due to the use of the absolute value function. Its cumulative distribution function is as follows:
The inverse cumulative distribution function is given by
Properties
Moments
Related distributions
- If then .
- If then .
- If then (exponential distribution).
- If then .
- If then .
- If then (exponential power distribution).
- If (normal distribution) then and .
- If then (chi-squared distribution).
- If then . (F-distribution)
- If (uniform distribution) then .
- If and (Bernoulli distribution) independent of , then .
- If and independent of , then .
- If has a Rademacher distribution and then .
- If and independent of , then .
- If (geometric stable distribution) then .
- The Laplace distribution is a limiting case of the hyperbolic distribution.
- If with (Rayleigh distribution) then . Note that if , then with , which in turn equals the exponential distribution .
- Given an integer , if (gamma distribution, using characterization), then (infinite divisibility)[3]
- If X has a Laplace distribution, then Y = eX has a log-Laplace distribution; conversely, if X has a log-Laplace distribution, then its logarithm has a Laplace distribution.
Probability of a Laplace being greater than another
Let be independent laplace random variables: and , and we want to compute .
The probability of can be reduced (using the properties below) to , where . This probability is equal to
When , both expressions are replaced by their limit as :
To compute the case for , note that
since when .
Relation to the exponential distribution
A Laplace random variable can be represented as the difference of two independent and identically distributed (iid) exponential random variables.[3] One way to show this is by using the characteristic function approach. For any set of independent continuous random variables, for any linear combination of those variables, its characteristic function (which uniquely determines the distribution) can be acquired by multiplying the corresponding characteristic functions.
Consider two i.i.d random variables . The characteristic functions for are
respectively. On multiplying these characteristic functions (equivalent to the characteristic function of the sum of the random variables ), the result is
This is the same as the characteristic function for , which is
Sargan distributions
Sargan distributions are a system of distributions of which the Laplace distribution is a core member. A th order Sargan distribution has density[4][5]
for parameters . The Laplace distribution results for .
Statistical inference
Given independent and identically distributed samples , the maximum likelihood (MLE) estimator of is the sample median,[6]
The MLE estimator of is the mean absolute deviation from the median,[citation needed]
revealing a link between the Laplace distribution and least absolute deviations. A correction for small samples can be applied as follows:
Occurrence and applications
The Laplacian distribution has been used in speech recognition to model priors on DFT coefficients [7] and in JPEG image compression to model AC coefficients [8] generated by a DCT.
- The addition of noise drawn from a Laplacian distribution, with scaling parameter appropriate to a function's sensitivity, to the output of a statistical database query is the most common means to provide differential privacy in statistical databases.
- In regression analysis, the least absolute deviations estimate arises as the maximum likelihood estimate if the errors have a Laplace distribution.
- The Lasso can be thought of as a Bayesian regression with a Laplacian prior for the coefficients.[10]
- In hydrology the Laplace distribution is applied to extreme events such as annual maximum one-day rainfalls and river discharges. The blue picture, made with CumFreq, illustrates an example of fitting the Laplace distribution to ranked annually maximum one-day rainfalls showing also the 90% confidence belt based on the binomial distribution. The rainfall data are represented by plotting positions as part of the cumulative frequency analysis.
- The Laplace distribution has applications in finance. For example, S.G. Kou developed a model for financial instrument prices incorporating a Laplace distribution (in some cases an asymmetric Laplace distribution) to address problems of skewness, kurtosis and the volatility smile that often occur when using a normal distribution for pricing these instruments.[11][12]
- The Laplace distribution, being a composite or double distribution, is applicable in situations where the lower values originate under different external conditions than the higher ones so that they follow a different pattern.[13]
Random variate generation
Given a random variable drawn from the uniform distribution in the interval , the random variable
has a Laplace distribution with parameters and . This follows from the inverse cumulative distribution function given above.
A variate can also be generated as the difference of two i.i.d. random variables. Equivalently, can also be generated as the logarithm of the ratio of two i.i.d. uniform random variables.
History
This distribution is often referred to as "Laplace's first law of errors". He published it in 1774, modeling the frequency of an error as an exponential function of its magnitude once its sign was disregarded. Laplace would later replace this model with his "second law of errors", based on the normal distribution, after the discovery of the central limit theorem.[14][15]
Keynes published a paper in 1911 based on his earlier thesis wherein he showed that the Laplace distribution minimised the absolute deviation from the median.[16]
See also
- Generalized normal distribution#Symmetric version
- Multivariate Laplace distribution
- Besov measure, a generalisation of the Laplace distribution to function spaces
- Cauchy distribution, also called the "Lorentzian distribution", ie the Fourier transform of the Laplace
- Characteristic function (probability theory)
References
External links
Wikiwand in your browser!
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.