Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
To cite this article: Keming Yu & Jin Zhang (2005): A Three-Parameter Asymmetric Laplace
Distribution and Its Extension, Communications in Statistics - Theory and Methods, 34:9-10, 1867-1879
To link to this article: http://dx.doi.org/10.1080/03610920500199018
1867
1868
Yu and Zhang
Figure 1. ALD densities (a) for 0 < p < 0 5 with = 1; (b) for 0 5 < p < 1 with = 1;
(c) for 0 1 1 with p = 0 75.
1869
1
1
if x
p
exp
x
pX x p
=
1 p
1 exp
x if x <
exp
x if x
2 k
pX x k =
1 + k2
2
exp
x
if x <
k
can be regarded as a split of gx via k+2 1 gk 2xI0 x + g k2x I 0
k
x (Fernndez and Steel, 1998).
The ALD considered in this article, however, is different from these
existing asymmetric distributions except p = 21 , which reduces to the doubleexponential distribution. Specically, if a random variable X ALD p, then
PrX < = p and PrX > = 1 p which shows that the parameters and p
in ALD satisfy: is the pth quantile of the distribution. This important feature
of ALD has been generally adopted for quantile inference (Yu et al., 2003) and
made it more popular than other asymmetric Laplace distributions. However, a deep
investigation of ALD has not been addressed anywhere else.
If a random variable X ALD p, then the distribution function, quantile
function and moment generating function
t = E exptX of X are given,
respectively, by
1p
x
if x
p exp
Fx p =
(3)
1 1 p exp x if x >
x
+ 1 p log p if 0 x p
F 1 x p =
(4)
1
if p < x 1
log
p
1p
and
t = p1 p
expt
p tt + 1 p
(5)
where p1
< t < p .
Furthermore, the ALD has the exibility of different proportions and
exponential coefcients in each part, and there is, presumably, the further
1870
Yu and Zhang
(four parameter) generalization in which all parameters are free. In fact, this
four-parameter generalized ALD has pdf
exp 1 x if x
1
fG x p1 p2 = 1
p
2
p + p1
exp
x
if x <
1
2
Figure 2 displays a variety of fG x p1 p2 . The distribution is skewed to
the left when p1 > p2 , and skewed to the right when p1 < p2 . Due to PrX < =
p1
2
and PrX > = p p+p
the location parameter in four-parameter generalized
p1 +p2
1
2
p1
ALD is now the p +p th quantile of the distribution.
2
Figure 2. The generalized ALD densities for = 0 5 and p2 = cp1 with c = 0 5 (solid line),
1 (dotted line), and 1.5 (dashed line), having increasing amount of right skewness from left,
in the cases (a) p1 = 0 1 (b) p1 = 0 5, and (c) p1 = 0 6.
1871
Corresponding to Eqs. (3), (4), and (5) of the three-parameter ALD, the
distribution function, quantile function, and the moment generating function
t =
E exptX of the four-parameter generalized ALD are given, respectively, by
p2
p1
if x
p + p exp x
1
2
FG x p1 p2 =
p2
p
exp 1 x if x >
1
p1 + p 2
p1 + p2 x
if 0 x p p+p
log
+
1
2
p
p
2
1
1
FG x p1 p2 =
p1 + p2 1 x
if p p+p
log
<x1
1
2
p1
p2
(6)
(7)
and
t = p1 p2
expt
p1 tp2 + t
(8)
(9)
2p13 p23
p12 + p22 3/2
and
kurtosisG =
respectively.
We mainly discuss the estimation and application of ALD in this article.
Some properties of ALD are present in Sec. 2. Proofs of the results are given in
Appendix A. Although ALD is mainly in quantile or quantile regression studies, we
present a data analysis example by tting ALD in Sec. 3. Finally, in Sec. 4, some
closing comments are made.
1872
Yu and Zhang
(10)
12p
p1p
and
2 12p+2p2
2p3 1 p3
1 p2 + p2 3/2
and
kurtosis =
respectively. These quantities do not depend on the value of the scale parameter ,
although controls the range of the density of ALD. Furthermore, Fig. 3 illustrates
the dependence of both skewness and kurtosis on p.
As skewness characterizes the degree of asymmetry of a distribution around its
mean. Figure 3(a) shows that positive skewness and negative skewness occur for
p > 0 5 and p < 0 5, respectively, which indicates a distribution with an asymmetric
tail extending towards more positive values and more negative values, respectively.
Similarly, kurtosis characterizes the relative peakedness or atness of a
distribution compared to the normal distribution. Positive kurtosis indicates a
relatively peaked distribution. Clearly, Fig. 3(b) gives ALD a relatively peaked
distribution, even for p = 0 5.
In addition,
EX =
1 2p + 2p2
p1 p
1873
Figure 3. The skewness and kurtosis-3 of ALD against p (0 < p < 1).
estimators (MLEs) below. Many computing packages can solve the moment
estimation equations conveniently. For example, the LINGO (Winston) can do this
computing very simple and efciently. However, if one wants to make his own code
for the moment estimation via numerical approach, he could choose the initial value
p = 1/2 or from
skewness = 22p 1/gx
(11)
where gx = 1 2x3/2 /1 x, x = p1 p and 0 < x < 1/4 Substituting gx
by g1/8 + g1/8x 1/8 into (11), a quadratic equation for p would be obtained,
from which he can solve p and then solve and from the equations decided by
mean and variance.
1874
Yu and Zhang
To begin the MLE, let p t = tp It < 0, and let
p be the MLEs of
parameters p, respectively, then we have the following likelihood equations:
= Argmin
p xi
i=1
n
1
x
n i=1 p i
a + a2 x a
p =
x
=
(12)
where a = n1 ni=1 xi Ix
i .
Equation (12) provides alternative solutions for parameter , p, and : is the
pth
order statistic. That is, the likelihood function about attains its largest value
when is the mth order statistic xm with m = np
+ 1 where c is the integer part
of c. And
+ a
x
p1
p
x
=
1 2p
p =
(13)
2 1p2
Appendix A has proved that np p N 0 p12p
asymptotically. Thus,
2
after using the consistent estimators to substitute the parameters and , we may
get the asymptotic 1
% condence interval of p as
p1
p
p1
p
p 1
/2
/ n p 1 1
/2
/ n
1 2p
1 2p
2
2n/n + a
2
x
<p<
2
1
2n/n + a
2
x
= 1
1875
2
2n/n + a
2
x
<p<
2
1
2n/n + a
2
x
= 1
1
/2
1 1
/2
n
n
In addition, note that is the pth quantile of ALDx p we can estimate
condence intervals for it using the binomial distribution (Bland, 2000). This is also
a large sample method. The 95% condence interval for the pth quantile can be
found by an application of the binomial distribution. The number of observations
less than the pth quantile will be an observation from a binomial distribution
with parameters n and p, and hence has mean np and standard
deviation root
np1
p.
We
calculate
j
and
k
such
that:
j
=
np
1 96
np1
p k = np +
1 96 np1 p We round j and k up to the next integer. Then the 95%
condence interval is between the jth and the kth observations in the ordered data.
Finally, the asymptotic 1
% condence interval of is given by
= 1
Pr
<<
1
1
/2
1 + 1
/2
1
+
n
n
Yu and Zhang
1876
Figure 4. (a) Histogram of the ood data (solid line), together with the tted ALD (dash
line) and (b) PP-plot for the same data and t.
suitability for the distribution of the data. With this data the maximum likelihood
estimates of the three parameters of ALD and their estimated standard errors
(in brackets) are = 0 407 0 065, p = 0 453 0 082, and = 0 053 0 021. The
right skewness of this data set is from p < 0 5 with evidence from the straggling tail
to the right. A likelihood ratio test based on twice the log-likelihood ratio, which
gives value of 7.39 thus has approximately p-value 0.007 from 1 degree of freedom
1877
1878
Yu and Zhang
4. Closing Remarks
We have made a full investigation of the asymmetric Laplace distribution. The
distribution is new to the class of asymmetric Laplace distributions, and is useful for
tting quantile and quantile regression as well as for data analysis in general. The
distribution is sufciently tractable that simple simulation and likelihood theory for
it can be easily made.
exp
x if x
p1 p
If X fx p =
p
exp x
if x >
then both XIX < and XIX have the exponential distribution densities
1p
exp 1p
x , x < , and p exp p x , x > , respectively, and
independently. Also
p
1p
1p
EXIX > 0 =
p
2p
EX 2 IX < 0 = 2
1 p2
EXIX < 0 =
EXIX > 0 = 2
21 p
p2
1879
p
a < 0 and a 1p
following in the large number theorem when n
12p
Similarly, x + p1p , thus and p are the consistent estimators of and p,
respectively. We will discuss the asymptoic normality of parameter estimates below.
As is the pth
order statistic, the asymptotic normality holds for .
Moreover,
if a n and b n are chosen so that an1 Fb n + ta n bn t, n ,
Pra n1 xm b n t = t + o1, where t is the standard normal
distribution function.
by taking
See Sec. 4.1 of Reiss (1989) for details. In particular,
an = p1 p/ n, bn = p, a n = an/F F 1
p and b n = F 1 , and notice
n
N0 1 asymptotically.
When p = 21 , using p = x + x a and note that x P 12p
, a P
p1p
p
1p
, so that both p p and p1p
1 have asymptotically identical
12p
2
2
1p
distributions, thus np p N0 p12p
2 asymptotically.
Acknowledgments
We thank Dr. Alan Watkins and a referee for thoughtful comments which led to a
substantial improvement of the article.
References
Bland, M. (2000). An Introduction to Medical Statistics. 3rd ed. Oxford: Oxford
University Press.
Fernndez , G., Steel, M. F. J. (1998). On Bayesian modelling of fat tails and skewness.
J. Amer. Statist. Assoc. 93(1):359371.
Gilchrist, W. G. (2000). Statistical Modelling with Quantile Function. London: Chapman &
Hall.
Hsu, D. A. (1978). Long-tailed distributions for position errors in navigation. Appl. Statist.
28(1):6272.
Johnson, N. L., Kotz, S., Balakrishnan, N. (1995). Distributions in Statistics, Volume 2:
Continuous Univariate Distributions. 2nd ed. New York: John Wiley.
Koenker, R., Machado, J. (1999). Goodness of t and related inference processes for quantile
regression. J. Amer. Statist. Assoc. 94(3):12961309.
Kotz, S., Kozabowski, T. J., Podgrski, K. (2001). The Laplace Distribution and
Generalizations: A Revisit with Applications to Communications, Economics, Engineering,
and Finance. Boston: Birkhuser.
Kotz, S., Kozabowski, T. J., Podgrski, K. (2002). Maximum likelihood estimation of
asymmetric Laplace parameters. Ann. Inst. Statist. Math. 54(2):816826.
Puig, P., Stephens, M. A. (2000). Tests of t for the Laplace distribution, with applications.
Technometrics 42:417424.
Yu, K., Moyeed, R. A. (2001). Bayesian quantile regression. Statist. Probab. Lett. 54:437447.
Yu, K., Lu, Z., Stander, J. (2003). Quantile regression: applications and current research
area. The Statistician 52(2):331350.