Asymmetric Laplace distribution

From testwiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Probability distribution

In probability theory and statistics, the asymmetric Laplace distribution (ALD) is a continuous probability distribution which is a generalization of the Laplace distribution. Just as the Laplace distribution consists of two exponential distributions of equal scale back-to-back about x = m, the asymmetric Laplace consists of two exponential distributions of unequal scale back to back about x = m, adjusted to assure continuity and normalization. The difference of two variates exponentially distributed with different means and rate parameters will be distributed according to the ALD. When the two rate parameters are equal, the difference will be distributed according to the Laplace distribution.

Characterization

Probability density function

A random variable has an asymmetric Laplace(m, λ, κ) distribution if its probability density function is[1][2]

f(x;m,λ,κ)=(λκ+1/κ)e(xm)λsκs

where s=sgn(x-m), or alternatively:

f(x;m,λ,κ)=λκ+1/κ{exp((λ/κ)(xm))if x<mexp(λκ(xm))if xm

Here, m is a location parameter, λ > 0 is a scale parameter, and κ is an asymmetry parameter. When κ = 1, (x-m)s κs simplifies to |x-m| and the distribution simplifies to the Laplace distribution.

Cumulative distribution function

The cumulative distribution function is given by:

F(x;m,λ,κ)={κ21+κ2exp((λ/κ)(xm))if xm111+κ2exp(λκ(xm))if x>m

Characteristic function

The ALD characteristic function is given by:

φ(t;m,λ,κ)=eimt(1+itκλ)(1itκλ)

For m = 0, the ALD is a member of the family of geometric stable distributions with α = 2. It follows that if φ1 and φ2 are two distinct ALD characteristic functions with m = 0, then

φ=11/φ1+1/φ21

is also an ALD characteristic function with location parameter m=0. The new scale parameter λ obeys

1λ2=1λ12+1λ22

and the new skewness parameter κ obeys:

κ21κλ=κ121κ1λ1+κ221κ2λ2

Moments, mean, variance, skewness

The n-th moment of the ALD about m is given by

E[(xm)n]=n!λn(κ+1/κ)(κ(n+1)(κ)n+1)

From the binomial theorem, the n-th moment about zero (for m not zero) is then:

E[xn]=λmn+1κ+1/κ(i=0nn!(ni)!1(mλκ)i+1i=0nn!(ni)!1(mλ/κ)i+1)
=λmn+1κ+1/κ(emλκEn(mλκ)emλ/κEn(mλ/κ))

where En() is the generalized exponential integral function En(x)=xn1Γ(1n,x)

The first moment about zero is the mean:

μ=E[x]=mκ1/κλ

The variance is:

σ2=E[x2]μ2=1+κ4κ2λ2

and the skewness is:

E[x3]3μσ2μ3σ3=2(1κ6)(κ4+1)3/2

Generating asymmetric Laplace variates

Asymmetric Laplace variates (X) may be generated from a random variate U drawn from the uniform distribution in the interval (-κ,1/κ) by:

X=m1λsκslog(1UsκS)

where s=sgn(U).

They may also be generated as the difference of two exponential distributions. If X1 is drawn from exponential distribution with mean and rate (m1,λ/κ) and X2 is drawn from an exponential distribution with mean and rate (m2,λκ) then X1 - X2 is distributed according to the asymmetric Laplace distribution with parameters (m1-m2, λ, κ)

Entropy

The differential entropy of the ALD is

H=fAL(x)log(fAL(x))dx=1log(λκ+1/κ)

The ALD has the maximum entropy of all distributions with a fixed value (1/λ) of (xm)sκs where s=sgn(xm).

Alternative parametrization

An alternative parametrization is made possible by the characteristic function:

φ(t;μ,σ,β)=eiμt1iβσt+σ2t2

where μ is a location parameter, σ is a scale parameter, β is an asymmetry parameter. This is specified in Section 2.6.1 and Section 3.1 of Lihn (2015). [3] Its probability density function is

f(x;μ,σ,β)=12σB0{exp(xμσB)if x<μexp(xμσB+)if xμ

where B0=1+β2/4 and B±=B0±β/2. It follows that B+B=1,B+B=β.

The n-th moment about μ is given by

E[(xμ)n]=σnn!2B0((B+)n+1+(1)n(B)n+1)

The mean about zero is:Template:QuoteThe variance is:Template:QuoteThe skewness is:Template:QuoteThe excess kurtosis is:Template:QuoteFor small β, the skewness is about 3β/2 . Thus β represents skewness in an almost direct way.

Alternative parameterization for Bayesian quantile regression

The Asymmetric Laplace distribution is commonly used with an alternative parameterization for performing quantile regression in a Bayesian inference context.[4] Under this approach, the κ parameter describing asymmetry is replaced with a p parameter indicating the percentile or quantile desired. Using this parameterization, the likelihood of the Asymmetric Laplace Distribution is equivalent to the loss function employed in quantile regression. With this alternative parameterization, the probability density function is defined as:

f(x;m,λ,p)=p(1p)λ{exp(((p1)/λ)(xm))if xmexp((p/λ)(xm))if x>m

Where, m is a location parameter, λ > 0 is a scale parameter, and 0 < p < 1 is a percentile parameter.

The mean (μ) and variance (σ2) are calculated as:

μ=m+12pp(1p)λ
σ2=12p+2p2p2(1p)2λ2

The cumulative distribution function is given[5] by:

F(x;m,λ,p)={pexp(1pλ(xm))if xm1(1p)exp(pλ(xm))if x>m

Applications

The asymmetric Laplace distribution has applications in finance and neuroscience. For the example in finance, S.G. Kou developed a model for financial instrument prices incorporating 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.[6] Another example is in neuroscience in which its convolution with normal distribution is considered as a model for brain stopping reaction times.[7]

References

Template:Reflist

Template:ProbDistributions