- Source: Asymmetric Laplace 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
f
(
x
;
m
,
λ
,
κ
)
=
(
λ
κ
+
1
/
κ
)
e
−
(
x
−
m
)
λ
s
κ
s
{\displaystyle f(x;m,\lambda ,\kappa )=\left({\frac {\lambda }{\kappa +1/\kappa }}\right)\,e^{-(x-m)\lambda \,s\kappa ^{s}}}
where s=sgn(x-m), or alternatively:
f
(
x
;
m
,
λ
,
κ
)
=
λ
κ
+
1
/
κ
{
exp
(
(
λ
/
κ
)
(
x
−
m
)
)
if
x
<
m
exp
(
−
λ
κ
(
x
−
m
)
)
if
x
≥
m
{\displaystyle f(x;m,\lambda ,\kappa )={\frac {\lambda }{\kappa +1/\kappa }}{\begin{cases}\exp \left((\lambda /\kappa )(x-m)\right)&{\text{if }}x
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
,
λ
,
κ
)
=
{
κ
2
1
+
κ
2
exp
(
(
λ
/
κ
)
(
x
−
m
)
)
if
x
≤
m
1
−
1
1
+
κ
2
exp
(
−
λ
κ
(
x
−
m
)
)
if
x
>
m
{\displaystyle F(x;m,\lambda ,\kappa )={\begin{cases}{\frac {\kappa ^{2}}{1+\kappa ^{2}}}\exp((\lambda /\kappa )(x-m))&{\text{if }}x\leq m\\[4pt]1-{\frac {1}{1+\kappa ^{2}}}\exp(-\lambda \kappa (x-m))&{\text{if }}x>m\end{cases}}}
= Characteristic function
=The ALD characteristic function is given by:
φ
(
t
;
m
,
λ
,
κ
)
=
e
i
m
t
(
1
+
i
t
κ
λ
)
(
1
−
i
t
κ
λ
)
{\displaystyle \varphi (t;m,\lambda ,\kappa )={\frac {e^{imt}}{(1+{\frac {it\kappa }{\lambda }})(1-{\frac {it}{\kappa \lambda }})}}}
For m = 0, the ALD is a member of the family of geometric stable distributions with α = 2. It follows that if
φ
1
{\displaystyle \varphi _{1}}
and
φ
2
{\displaystyle \varphi _{2}}
are two distinct ALD characteristic functions with m = 0, then
φ
=
1
1
/
φ
1
+
1
/
φ
2
−
1
{\displaystyle \varphi ={\frac {1}{1/\varphi _{1}+1/\varphi _{2}-1}}}
is also an ALD characteristic function with location parameter
m
=
0
{\displaystyle m=0}
. The new scale parameter λ obeys
1
λ
2
=
1
λ
1
2
+
1
λ
2
2
{\displaystyle {\frac {1}{\lambda ^{2}}}={\frac {1}{\lambda _{1}^{2}}}+{\frac {1}{\lambda _{2}^{2}}}}
and the new skewness parameter κ obeys:
κ
2
−
1
κ
λ
=
κ
1
2
−
1
κ
1
λ
1
+
κ
2
2
−
1
κ
2
λ
2
{\displaystyle {\frac {\kappa ^{2}-1}{\kappa \lambda }}={\frac {\kappa _{1}^{2}-1}{\kappa _{1}\lambda _{1}}}+{\frac {\kappa _{2}^{2}-1}{\kappa _{2}\lambda _{2}}}}
Moments, mean, variance, skewness
The n-th moment of the ALD about m is given by
E
[
(
x
−
m
)
n
]
=
n
!
λ
n
(
κ
+
1
/
κ
)
(
κ
−
(
n
+
1
)
−
(
−
κ
)
n
+
1
)
{\displaystyle E[(x-m)^{n}]={\frac {n!}{\lambda ^{n}(\kappa +1/\kappa )}}\,(\kappa ^{-(n+1)}-(-\kappa )^{n+1})}
From the binomial theorem, the n-th moment about zero (for m not zero) is then:
E
[
x
n
]
=
λ
m
n
+
1
κ
+
1
/
κ
(
∑
i
=
0
n
n
!
(
n
−
i
)
!
1
(
m
λ
κ
)
i
+
1
−
∑
i
=
0
n
n
!
(
n
−
i
)
!
1
(
−
m
λ
/
κ
)
i
+
1
)
{\displaystyle E[x^{n}]={\frac {\lambda \,m^{n+1}}{\kappa +1/\kappa }}\,\left(\sum _{i=0}^{n}{\frac {n!}{(n-i)!}}\,{\frac {1}{(m\lambda \kappa )^{i+1}}}-\sum _{i=0}^{n}{\frac {n!}{(n-i)!}}\,{\frac {1}{(-m\lambda /\kappa )^{i+1}}}\right)}
=
λ
m
n
+
1
κ
+
1
/
κ
(
e
m
λ
κ
E
−
n
(
m
λ
κ
)
−
e
−
m
λ
/
κ
E
−
n
(
−
m
λ
/
κ
)
)
{\displaystyle ={\frac {\lambda \,m^{n+1}}{\kappa +1/\kappa }}\left(e^{m\lambda \kappa }E_{-n}(m\lambda \kappa )-e^{-m\lambda /\kappa }E_{-n}(-m\lambda /\kappa )\right)}
where
E
n
(
)
{\displaystyle E_{n}()}
is the generalized exponential integral function
E
n
(
x
)
=
x
n
−
1
Γ
(
1
−
n
,
x
)
{\displaystyle E_{n}(x)=x^{n-1}\Gamma (1-n,x)}
The first moment about zero is the mean:
μ
=
E
[
x
]
=
m
−
κ
−
1
/
κ
λ
{\displaystyle \mu =E[x]=m-{\frac {\kappa -1/\kappa }{\lambda }}}
The variance is:
σ
2
=
E
[
x
2
]
−
μ
2
=
1
+
κ
4
κ
2
λ
2
{\displaystyle \sigma ^{2}=E[x^{2}]-\mu ^{2}={\frac {1+\kappa ^{4}}{\kappa ^{2}\lambda ^{2}}}}
and the skewness is:
E
[
x
3
]
−
3
μ
σ
2
−
μ
3
σ
3
=
2
(
1
−
κ
6
)
(
κ
4
+
1
)
3
/
2
{\displaystyle {\frac {E[x^{3}]-3\mu \sigma ^{2}-\mu ^{3}}{\sigma ^{3}}}={\frac {2\left(1-\kappa ^{6}\right)}{\left(\kappa ^{4}+1\right)^{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
=
m
−
1
λ
s
κ
s
log
(
1
−
U
s
κ
S
)
{\displaystyle X=m-{\frac {1}{\lambda \,s\kappa ^{s}}}\log(1-U\,s\kappa ^{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
=
−
∫
−
∞
∞
f
A
L
(
x
)
log
(
f
A
L
(
x
)
)
d
x
=
1
−
log
(
λ
κ
+
1
/
κ
)
{\displaystyle H=-\int _{-\infty }^{\infty }f_{AL}(x)\log(f_{AL}(x))dx=1-\log \left({\frac {\lambda }{\kappa +1/\kappa }}\right)}
The ALD has the maximum entropy of all distributions with a fixed value (1/λ) of
(
x
−
m
)
s
κ
s
{\displaystyle (x-m)\,s\kappa ^{s}}
where
s
=
sgn
(
x
−
m
)
{\displaystyle s=\operatorname {sgn}(x-m)}
.
Alternative parametrization
An alternative parametrization is made possible by the characteristic function:
φ
(
t
;
μ
,
σ
,
β
)
=
e
i
μ
t
1
−
i
β
σ
t
+
σ
2
t
2
{\displaystyle \varphi (t;\mu ,\sigma ,\beta )={\frac {e^{i\mu t}}{1-i\beta \sigma t+\sigma ^{2}t^{2}}}}
where
μ
{\displaystyle \mu }
is a location parameter,
σ
{\displaystyle \sigma }
is a scale parameter,
β
{\displaystyle \beta }
is an asymmetry parameter. This is specified in Section 2.6.1 and Section 3.1 of Lihn (2015).
Its probability density function is
f
(
x
;
μ
,
σ
,
β
)
=
1
2
σ
B
0
{
exp
(
x
−
μ
σ
B
−
)
if
x
<
μ
exp
(
−
x
−
μ
σ
B
+
)
if
x
≥
μ
{\displaystyle f(x;\mu ,\sigma ,\beta )={\frac {1}{2\sigma B_{0}}}{\begin{cases}\exp \left({\frac {x-\mu }{\sigma B^{-}}}\right)&{\text{if }}x<\mu \\[4pt]\exp(-{\frac {x-\mu }{\sigma B^{+}}})&{\text{if }}x\geq \mu \end{cases}}}
where
B
0
=
1
+
β
2
/
4
{\displaystyle B_{0}={\sqrt {1+\beta ^{2}/4}}}
and
B
±
=
B
0
±
β
/
2
{\displaystyle B^{\pm }=B_{0}\pm \beta /2}
. It follows that
B
+
B
−
=
1
,
¶
B
+
−
B
−
=
β
{\displaystyle B^{+}B^{-}=1,\P B^{+}-B^{-}=\beta }
.
The n-th moment about
μ
{\displaystyle \mu }
is given by
E
[
(
x
−
μ
)
n
]
=
σ
n
n
!
2
B
0
(
(
B
+
)
n
+
1
+
(
−
1
)
n
(
B
−
)
n
+
1
)
{\displaystyle E[(x-\mu )^{n}]={\frac {\sigma ^{n}n!}{2B_{0}}}((B^{+})^{n+1}+(-1)^{n}(B^{-})^{n+1})}
The mean about zero is:
E
[
x
]
=
μ
+
σ
β
{\displaystyle E[x]=\mu +\sigma \beta }
The variance is:
E
[
x
2
]
−
E
[
x
]
2
=
σ
2
(
2
+
β
2
)
{\displaystyle E[x^{2}]-E[x]^{2}=\sigma ^{2}(2+\beta ^{2})}
The skewness is:
2
β
(
3
+
β
2
)
(
2
+
β
2
)
3
/
2
{\displaystyle {\frac {2\beta (3+\beta ^{2})}{(2+\beta ^{2})^{3/2}}}}
The excess kurtosis is:
6
(
2
+
4
β
2
+
β
4
)
(
2
+
β
2
)
2
{\displaystyle {\frac {6(2+4\beta ^{2}+\beta ^{4})}{(2+\beta ^{2})^{2}}}}
For small
β
{\displaystyle \beta }
, the skewness is about
3
β
/
2
{\displaystyle 3\beta /{\sqrt {2}}}
. Thus
β
{\displaystyle \beta }
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. Under this approach, the
κ
{\displaystyle \kappa }
parameter describing asymmetry is replaced with a
p
{\displaystyle 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
(
1
−
p
)
λ
{
exp
(
−
(
(
p
−
1
)
/
λ
)
(
x
−
m
)
)
if
x
≤
m
exp
(
−
(
p
/
λ
)
(
x
−
m
)
)
if
x
>
m
{\displaystyle f(x;m,\lambda ,p)={\frac {p(1-p)}{\lambda }}{\begin{cases}\exp \left(-((p-1)/\lambda )(x-m)\right)&{\text{if }}x\leq m\\[4pt]\exp(-(p/\lambda )(x-m))&{\text{if }}x>m\end{cases}}}
Where, m is a location parameter, λ > 0 is a scale parameter, and 0 < p < 1 is a percentile parameter.
The mean (
μ
{\displaystyle \mu }
) and variance (
σ
2
{\displaystyle \sigma ^{2}}
) are calculated as:
μ
=
m
+
1
−
2
p
p
(
1
−
p
)
λ
{\displaystyle \mu =m+{\frac {1-2p}{p(1-p)}}\lambda }
σ
2
=
1
−
2
p
+
2
p
2
p
2
(
1
−
p
)
2
λ
2
{\displaystyle \sigma ^{2}={\frac {1-2p+2p^{2}}{p^{2}(1-p)^{2}}}\lambda ^{2}}
The cumulative distribution function is given by:
F
(
x
;
m
,
λ
,
p
)
=
{
p
exp
(
1
−
p
λ
(
x
−
m
)
)
if
x
≤
m
1
−
(
1
−
p
)
exp
(
−
p
λ
(
x
−
m
)
)
if
x
>
m
{\displaystyle F(x;m,\lambda ,p)={\begin{cases}p\exp({\frac {1-p}{\lambda }}(x-m))&{\text{if }}x\leq m\\[4pt]1-(1-p)\exp({\frac {-p}{\lambda }}(x-m))&{\text{if }}x>m\end{cases}}}
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. Another example is in neuroscience in which its convolution with normal distribution is considered as a model for brain stopping reaction times.
References
Kata Kunci Pencarian:
- Distribusi Asimetrik Laplace
- Asymmetric Laplace distribution
- Laplace distribution
- Wrapped asymmetric Laplace distribution
- Multivariate Laplace distribution
- List of probability distributions
- Log-Laplace distribution
- Geometric stable distribution
- Beta distribution
- ALD
- List of things named after Pierre-Simon Laplace