- Source: Stable distribution
In probability theory, a distribution is said to be stable if a linear combination of two independent random variables with this distribution has the same distribution, up to location and scale parameters. A random variable is said to be stable if its distribution is stable. The stable distribution family is also sometimes referred to as the Lévy alpha-stable distribution, after Paul Lévy, the first mathematician to have studied it.
Of the four parameters defining the family, most attention has been focused on the stability parameter,
α
{\displaystyle \alpha }
(see panel). Stable distributions have
0
<
α
≤
2
{\displaystyle 0<\alpha \leq 2}
, with the upper bound corresponding to the normal distribution, and
α
=
1
{\displaystyle \alpha =1}
to the Cauchy distribution. The distributions have undefined variance for
α
<
2
{\displaystyle \alpha <2}
, and undefined mean for
α
≤
1
{\displaystyle \alpha \leq 1}
. The importance of stable probability distributions is that they are "attractors" for properly normed sums of independent and identically distributed (iid) random variables. The normal distribution defines a family of stable distributions. By the classical central limit theorem the properly normed sum of a set of random variables, each with finite variance, will tend toward a normal distribution as the number of variables increases. Without the finite variance assumption, the limit may be a stable distribution that is not normal. Mandelbrot referred to such distributions as "stable Paretian distributions", after Vilfredo Pareto. In particular, he referred to those maximally skewed in the positive direction with
1
<
α
<
2
{\displaystyle 1<\alpha <2}
as "Pareto–Lévy distributions", which he regarded as better descriptions of stock and commodity prices than normal distributions.
Definition
A non-degenerate distribution is a stable distribution if it satisfies the following property:
Since the normal distribution, the Cauchy distribution, and the Lévy distribution all have the above property, it follows that they are special cases of stable distributions.
Such distributions form a four-parameter family of continuous probability distributions parametrized by location and scale parameters μ and c, respectively, and two shape parameters
β
{\displaystyle \beta }
and
α
{\displaystyle \alpha }
, roughly corresponding to measures of asymmetry and concentration, respectively (see the figures).
The characteristic function
φ
(
t
)
{\displaystyle \varphi (t)}
of any probability distribution is the Fourier transform of its probability density function
f
(
x
)
{\displaystyle f(x)}
. The density function is therefore the inverse Fourier transform of the characteristic function:
φ
(
t
)
=
∫
−
∞
∞
f
(
x
)
e
i
x
t
d
x
.
{\displaystyle \varphi (t)=\int _{-\infty }^{\infty }f(x)e^{ixt}\,dx.}
Although the probability density function for a general stable distribution cannot be written analytically, the general characteristic function can be expressed analytically. A random variable X is called stable if its characteristic function can be written as
φ
(
t
;
α
,
β
,
c
,
μ
)
=
exp
(
i
t
μ
−
|
c
t
|
α
(
1
−
i
β
sgn
(
t
)
Φ
)
)
{\displaystyle \varphi (t;\alpha ,\beta ,c,\mu )=\exp \left(it\mu -|ct|^{\alpha }\left(1-i\beta \operatorname {sgn}(t)\Phi \right)\right)}
where sgn(t) is just the sign of t and
Φ
=
{
tan
(
π
α
2
)
α
≠
1
−
2
π
log
|
t
|
α
=
1
{\displaystyle \Phi ={\begin{cases}\tan \left({\frac {\pi \alpha }{2}}\right)&\alpha \neq 1\\-{\frac {2}{\pi }}\log |t|&\alpha =1\end{cases}}}
μ ∈ R is a shift parameter,
β
∈
[
−
1
,
1
]
{\displaystyle \beta \in [-1,1]}
, called the skewness parameter, is a measure of asymmetry. Notice that in this context the usual skewness is not well defined, as for
α
<
2
{\displaystyle \alpha <2}
the distribution does not admit 2nd or higher moments, and the usual skewness definition is the 3rd central moment.
The reason this gives a stable distribution is that the characteristic function for the sum of two independent random variables equals the product of the two corresponding characteristic functions. Adding two random variables from a stable distribution gives something with the same values of
α
{\displaystyle \alpha }
and
β
{\displaystyle \beta }
, but possibly different values of μ and c.
Not every function is the characteristic function of a legitimate probability distribution (that is, one whose cumulative distribution function is real and goes from 0 to 1 without decreasing), but the characteristic functions given above will be legitimate so long as the parameters are in their ranges. The value of the characteristic function at some value t is the complex conjugate of its value at −t as it should be so that the probability distribution function will be real.
In the simplest case
β
=
0
{\displaystyle \beta =0}
, the characteristic function is just a stretched exponential function; the distribution is symmetric about μ and is referred to as a (Lévy) symmetric alpha-stable distribution, often abbreviated SαS.
When
α
<
1
{\displaystyle \alpha <1}
and
β
=
1
{\displaystyle \beta =1}
, the distribution is supported on [μ, ∞).
The parameter c > 0 is a scale factor which is a measure of the width of the distribution while
α
{\displaystyle \alpha }
is the exponent or index of the distribution and specifies the asymptotic behavior of the distribution.
= Parametrizations
=The parametrization of stable distributions is not unique. Nolan tabulates 11 parametrizations seen in the literature and gives conversion formulas. The two most commonly used parametrizations are the one above (Nolan's "1") and the one immediately below (Nolan's "0").
The parametrization above is easiest to use for theoretical work, but its probability density is not continuous in the parameters at
α
=
1
{\displaystyle \alpha =1}
. A continuous parametrization, better for numerical work, is
φ
(
t
;
α
,
β
,
γ
,
δ
)
=
exp
(
i
t
δ
−
|
γ
t
|
α
(
1
−
i
β
sgn
(
t
)
Φ
)
)
{\displaystyle \varphi (t;\alpha ,\beta ,\gamma ,\delta )=\exp \left(it\delta -|\gamma t|^{\alpha }\left(1-i\beta \operatorname {sgn}(t)\Phi \right)\right)}
where:
Φ
=
{
(
|
γ
t
|
1
−
α
−
1
)
tan
(
π
α
2
)
α
≠
1
−
2
π
log
|
γ
t
|
α
=
1
{\displaystyle \Phi ={\begin{cases}\left(|\gamma t|^{1-\alpha }-1\right)\tan \left({\tfrac {\pi \alpha }{2}}\right)&\alpha \neq 1\\-{\frac {2}{\pi }}\log |\gamma t|&\alpha =1\end{cases}}}
The ranges of
α
{\displaystyle \alpha }
and
β
{\displaystyle \beta }
are the same as before, γ (like c) should be positive, and δ (like μ) should be real.
In either parametrization one can make a linear transformation of the random variable to get a random variable whose density is
f
(
y
;
α
,
β
,
1
,
0
)
{\displaystyle f(y;\alpha ,\beta ,1,0)}
. In the first parametrization, this is done by defining the new variable:
y
=
{
x
−
μ
γ
α
≠
1
x
−
μ
γ
−
β
2
π
ln
γ
α
=
1
{\displaystyle y={\begin{cases}{\frac {x-\mu }{\gamma }}&\alpha \neq 1\\{\frac {x-\mu }{\gamma }}-\beta {\frac {2}{\pi }}\ln \gamma &\alpha =1\end{cases}}}
For the second parametrization, simply use
y
=
x
−
δ
γ
{\displaystyle y={\frac {x-\delta }{\gamma }}}
independent of
α
{\displaystyle \alpha }
. In the first parametrization, if the mean exists (that is,
α
>
1
{\displaystyle \alpha >1}
) then it is equal to μ, whereas in the second parametrization when the mean exists it is equal to
δ
−
β
γ
tan
(
π
α
2
)
.
{\displaystyle \delta -\beta \gamma \tan \left({\tfrac {\pi \alpha }{2}}\right).}
= The distribution
=A stable distribution is therefore specified by the above four parameters. It can be shown that any non-degenerate stable distribution has a smooth (infinitely differentiable) density function. If
f
(
x
;
α
,
β
,
c
,
μ
)
{\displaystyle f(x;\alpha ,\beta ,c,\mu )}
denotes the density of X and Y is the sum of independent copies of X:
Y
=
∑
i
=
1
N
k
i
(
X
i
−
μ
)
{\displaystyle Y=\sum _{i=1}^{N}k_{i}(X_{i}-\mu )}
then Y has the density
1
s
f
(
y
/
s
;
α
,
β
,
c
,
0
)
{\displaystyle {\tfrac {1}{s}}f(y/s;\alpha ,\beta ,c,0)}
with
s
=
(
∑
i
=
1
N
|
k
i
|
α
)
1
α
{\displaystyle s=\left(\sum _{i=1}^{N}|k_{i}|^{\alpha }\right)^{\frac {1}{\alpha }}}
The asymptotic behavior is described, for
α
<
2
{\displaystyle \alpha <2}
, by:
f
(
x
)
∼
1
|
x
|
1
+
α
(
c
α
(
1
+
sgn
(
x
)
β
)
sin
(
π
α
2
)
Γ
(
α
+
1
)
π
)
{\displaystyle f(x)\sim {\frac {1}{|x|^{1+\alpha }}}\left(c^{\alpha }(1+\operatorname {sgn}(x)\beta )\sin \left({\frac {\pi \alpha }{2}}\right){\frac {\Gamma (\alpha +1)}{\pi }}\right)}
where Γ is the Gamma function (except that when
α
≥
1
{\displaystyle \alpha \geq 1}
and
β
=
±
1
{\displaystyle \beta =\pm 1}
, the tail does not vanish to the left or right, resp., of μ, although the above expression is 0). This "heavy tail" behavior causes the variance of stable distributions to be infinite for all
α
<
2
{\displaystyle \alpha <2}
. This property is illustrated in the log–log plots below.
When
α
=
2
{\displaystyle \alpha =2}
, the distribution is Gaussian (see below), with tails asymptotic to exp(−x2/4c2)/(2c√π).
One-sided stable distribution and stable count distribution
When
α
<
1
{\displaystyle \alpha <1}
and
β
=
1
{\displaystyle \beta =1}
, the distribution is supported on [μ, ∞). This family is called one-sided stable distribution. Its standard distribution (μ = 0) is defined as
L
α
(
x
)
=
f
(
x
;
α
,
1
,
cos
(
α
π
2
)
1
/
α
,
0
)
{\displaystyle L_{\alpha }(x)=f\left(x;\alpha ,1,\cos \left({\frac {\alpha \pi }{2}}\right)^{1/\alpha },0\right)}
, where
α
<
1.
{\displaystyle \alpha <1.}
Let
q
=
exp
(
−
i
α
π
/
2
)
{\displaystyle q=\exp(-i\alpha \pi /2)}
, its characteristic function is
φ
(
t
;
α
)
=
exp
(
−
q
|
t
|
α
)
{\displaystyle \varphi (t;\alpha )=\exp \left(-q|t|^{\alpha }\right)}
. Thus the integral form of its PDF is (note:
Im
(
q
)
<
0
{\displaystyle \operatorname {Im} (q)<0}
)
L
α
(
x
)
=
1
π
ℜ
[
∫
−
∞
∞
e
i
t
x
e
−
q
|
t
|
α
d
t
]
=
2
π
∫
0
∞
e
−
Re
(
q
)
t
α
sin
(
t
x
)
sin
(
−
Im
(
q
)
t
α
)
d
t
,
or
=
2
π
∫
0
∞
e
−
Re
(
q
)
t
α
cos
(
t
x
)
cos
(
Im
(
q
)
t
α
)
d
t
.
{\displaystyle {\begin{aligned}L_{\alpha }(x)&={\frac {1}{\pi }}\Re \left[\int _{-\infty }^{\infty }e^{itx}e^{-q|t|^{\alpha }}\,dt\right]\\&={\frac {2}{\pi }}\int _{0}^{\infty }e^{-\operatorname {Re} (q)\,t^{\alpha }}\sin(tx)\sin(-\operatorname {Im} (q)\,t^{\alpha })\,dt,{\text{ or }}\\&={\frac {2}{\pi }}\int _{0}^{\infty }e^{-{\text{Re}}(q)\,t^{\alpha }}\cos(tx)\cos(\operatorname {Im} (q)\,t^{\alpha })\,dt.\end{aligned}}}
The double-sine integral is more effective for very small
x
{\displaystyle x}
.
Consider the Lévy sum
Y
=
∑
i
=
1
N
X
i
{\textstyle Y=\sum _{i=1}^{N}X_{i}}
where
X
i
∼
L
α
(
x
)
{\textstyle X_{i}\sim L_{\alpha }(x)}
, then Y has the density
1
ν
L
α
(
x
ν
)
{\textstyle {\frac {1}{\nu }}L_{\alpha }\left({\frac {x}{\nu }}\right)}
where
ν
=
N
1
/
α
{\textstyle \nu =N^{1/\alpha }}
. Set
x
=
1
{\textstyle x=1}
to arrive at the stable count distribution. Its standard distribution is defined as
N
α
(
ν
)
=
α
Γ
(
1
α
)
1
ν
L
α
(
1
ν
)
,
where
ν
>
0
and
α
<
1.
{\displaystyle {\mathfrak {N}}_{\alpha }(\nu )={\frac {\alpha }{\Gamma \left({\frac {1}{\alpha }}\right)}}{\frac {1}{\nu }}L_{\alpha }\left({\frac {1}{\nu }}\right),{\text{ where }}\nu >0{\text{ and }}\alpha <1.}
The stable count distribution is the conjugate prior of the one-sided stable distribution. Its location-scale family is defined as
N
α
(
ν
;
ν
0
,
θ
)
=
α
Γ
(
1
α
)
1
ν
−
ν
0
L
α
(
θ
ν
−
ν
0
)
,
where
ν
>
ν
0
{\displaystyle {\mathfrak {N}}_{\alpha }(\nu ;\nu _{0},\theta )={\frac {\alpha }{\Gamma ({\frac {1}{\alpha }})}}{\frac {1}{\nu -\nu _{0}}}L_{\alpha }\left({\frac {\theta }{\nu -\nu _{0}}}\right),{\text{ where }}\nu >\nu _{0}}
,
θ
>
0
,
and
α
<
1.
{\displaystyle \theta >0,{\text{ and }}\alpha <1.}
It is also a one-sided distribution supported on
[
ν
0
,
∞
)
{\displaystyle [\nu _{0},\infty )}
. The location parameter
ν
0
{\displaystyle \nu _{0}}
is the cut-off location, while
θ
{\displaystyle \theta }
defines its scale.
When
α
=
1
2
{\textstyle \alpha ={\frac {1}{2}}}
,
L
1
2
(
x
)
{\textstyle L_{\frac {1}{2}}(x)}
is the Lévy distribution which is an inverse gamma distribution. Thus
N
1
2
(
ν
;
ν
0
,
θ
)
{\displaystyle {\mathfrak {N}}_{\frac {1}{2}}(\nu ;\nu _{0},\theta )}
is a shifted gamma distribution of shape 3/2 and scale
4
θ
{\displaystyle 4\theta }
,
N
1
2
(
ν
;
ν
0
,
θ
)
=
1
4
π
θ
3
/
2
(
ν
−
ν
0
)
1
/
2
e
−
ν
−
ν
0
4
θ
,
where
ν
>
ν
0
,
θ
>
0.
{\displaystyle {\mathfrak {N}}_{\frac {1}{2}}(\nu ;\nu _{0},\theta )={\frac {1}{4{\sqrt {\pi }}\theta ^{3/2}}}(\nu -\nu _{0})^{1/2}e^{-{\frac {\nu -\nu _{0}}{4\theta }}},{\text{ where }}\nu >\nu _{0},\qquad \theta >0.}
Its mean is
ν
0
+
6
θ
{\displaystyle \nu _{0}+6\theta }
and its standard deviation is
24
θ
{\displaystyle {\sqrt {24}}\theta }
. It is hypothesized that VIX is distributed like
N
1
2
(
ν
;
ν
0
,
θ
)
{\textstyle {\mathfrak {N}}_{\frac {1}{2}}(\nu ;\nu _{0},\theta )}
with
ν
0
=
10.4
{\displaystyle \nu _{0}=10.4}
and
θ
=
1.6
{\displaystyle \theta =1.6}
(See Section 7 of ). Thus the stable count distribution is the first-order marginal distribution of a volatility process. In this context,
ν
0
{\displaystyle \nu _{0}}
is called the "floor volatility".
Another approach to derive the stable count distribution is to use the Laplace transform of the one-sided stable distribution, (Section 2.4 of )
∫
0
∞
e
−
z
x
L
α
(
x
)
d
x
=
e
−
z
α
,
where
>
α
<
1.
{\displaystyle \int _{0}^{\infty }e^{-zx}L_{\alpha }(x)dx=e^{-z^{\alpha }},{\text{ where }}>\alpha <1.}
Let
x
=
1
/
ν
{\displaystyle x=1/\nu }
, and one can decompose the integral on the left hand side as a product distribution of a standard Laplace distribution and a standard stable count distribution,
∫
0
∞
1
ν
(
1
2
e
−
|
z
|
ν
)
(
α
Γ
(
1
α
)
1
ν
L
α
(
1
ν
)
)
d
ν
=
1
2
α
Γ
(
1
α
)
e
−
|
z
|
α
,
where
α
<
1.
{\displaystyle \int _{0}^{\infty }{\frac {1}{\nu }}\left({\frac {1}{2}}e^{-{\frac {|z|}{\nu }}}\right)\left({\frac {\alpha }{\Gamma ({\frac {1}{\alpha }})}}{\frac {1}{\nu }}L_{\alpha }\left({\frac {1}{\nu }}\right)\right)\,d\nu ={\frac {1}{2}}{\frac {\alpha }{\Gamma ({\frac {1}{\alpha }})}}e^{-|z|^{\alpha }},{\text{ where }}\alpha <1.}
This is called the "lambda decomposition" (See Section 4 of ) since the right hand side was named as "symmetric lambda distribution" in Lihn's former works. However, it has several more popular names such as "exponential power distribution", or the "generalized error/normal distribution", often referred to when
α
>
1
{\displaystyle \alpha >1}
.
The n-th moment of
N
α
(
ν
)
{\displaystyle {\mathfrak {N}}_{\alpha }(\nu )}
is the
−
(
n
+
1
)
{\displaystyle -(n+1)}
-th moment of
L
α
(
x
)
{\displaystyle L_{\alpha }(x)}
, and all positive moments are finite.
Properties
Stable distributions are infinitely divisible.
Stable distributions are leptokurtotic and heavy-tailed distributions, with the exception of the normal distribution (
α
=
2
{\displaystyle \alpha =2}
).
Stable distributions are closed under convolution.
Stable distributions are closed under convolution for a fixed value of
α
{\displaystyle \alpha }
. Since convolution is equivalent to multiplication of the Fourier-transformed function, it follows that the product of two stable characteristic functions with the same
α
{\displaystyle \alpha }
will yield another such characteristic function. The product of two stable characteristic functions is given by:
exp
(
i
t
μ
1
+
i
t
μ
2
−
|
c
1
t
|
α
−
|
c
2
t
|
α
+
i
β
1
|
c
1
t
|
α
sgn
(
t
)
Φ
+
i
β
2
|
c
2
t
|
α
sgn
(
t
)
Φ
)
{\displaystyle \exp \left(it\mu _{1}+it\mu _{2}-|c_{1}t|^{\alpha }-|c_{2}t|^{\alpha }+i\beta _{1}|c_{1}t|^{\alpha }\operatorname {sgn}(t)\Phi +i\beta _{2}|c_{2}t|^{\alpha }\operatorname {sgn}(t)\Phi \right)}
Since Φ is not a function of the μ, c or
β
{\displaystyle \beta }
variables it follows that these parameters for the convolved function are given by:
μ
=
μ
1
+
μ
2
c
=
(
c
1
α
+
c
2
α
)
1
α
β
=
β
1
c
1
α
+
β
2
c
2
α
c
1
α
+
c
2
α
{\displaystyle {\begin{aligned}\mu &=\mu _{1}+\mu _{2}\\c&=\left(c_{1}^{\alpha }+c_{2}^{\alpha }\right)^{\frac {1}{\alpha }}\\[6pt]\beta &={\frac {\beta _{1}c_{1}^{\alpha }+\beta _{2}c_{2}^{\alpha }}{c_{1}^{\alpha }+c_{2}^{\alpha }}}\end{aligned}}}
In each case, it can be shown that the resulting parameters lie within the required intervals for a stable distribution.
The Generalized Central Limit Theorem
The Generalized Central Limit Theorem (GCLT) was an effort of multiple mathematicians (Berstein, Lindeberg, Lévy, Feller, Kolmogorov, and others) over the period from 1920 to 1937.
The first published complete proof (in French) of the GCLT was in 1937 by Paul Lévy.
An English language version of the complete proof of the GCLT is available in the translation of Gnedenko and Kolmogorov's 1954 book.
The statement of the GLCT is as follows:
A non-degenerate random variable Z is α-stable for some 0 < α ≤ 2 if and only if there is an independent, identically distributed sequence of random variables X1, X2, X3, ... and constants an > 0, bn ∈ ℝ with
an (X1 + ... + Xn) − bn → Z.
Here → means the sequence of random variable sums converges in distribution; i.e., the corresponding distributions satisfy Fn(y) → F(y) at all continuity points of F.
In other words, if sums of independent, identically distributed random variables converge in distribution to some Z, then Z must be a stable distribution.
Special cases
There is no general analytic solution for the form of f(x). There are, however three special cases which can be expressed in terms of elementary functions as can be seen by inspection of the characteristic function:
For
α
=
2
{\displaystyle \alpha =2}
the distribution reduces to a Gaussian distribution with variance σ2 = 2c2 and mean μ; the skewness parameter
β
{\displaystyle \beta }
has no effect.
For
α
=
1
{\displaystyle \alpha =1}
and
β
=
0
{\displaystyle \beta =0}
the distribution reduces to a Cauchy distribution with scale parameter c and shift parameter μ.
For
α
=
1
/
2
{\displaystyle \alpha =1/2}
and
β
=
1
{\displaystyle \beta =1}
the distribution reduces to a Lévy distribution with scale parameter c and shift parameter μ.
Note that the above three distributions are also connected, in the following way: A standard Cauchy random variable can be viewed as a mixture of Gaussian random variables (all with mean zero), with the variance being drawn from a standard Lévy distribution. And in fact this is a special case of a more general theorem (See p. 59 of ) which allows any symmetric alpha-stable distribution to be viewed in this way (with the alpha parameter of the mixture distribution equal to twice the alpha parameter of the mixing distribution—and the beta parameter of the mixing distribution always equal to one).
A general closed form expression for stable PDFs with rational values of
α
{\displaystyle \alpha }
is available in terms of Meijer G-functions. Fox H-Functions can also be used to express the stable probability density functions. For simple rational numbers, the closed form expression is often in terms of less complicated special functions. Several closed form expressions having rather simple expressions in terms of special functions are available. In the table below, PDFs expressible by elementary functions are indicated by an E and those that are expressible by special functions are indicated by an s.
Some of the special cases are known by particular names:
For
α
=
1
{\displaystyle \alpha =1}
and
β
=
1
{\displaystyle \beta =1}
, the distribution is a Landau distribution (L) which has a specific usage in physics under this name.
For
α
=
3
/
2
{\displaystyle \alpha =3/2}
and
β
=
0
{\displaystyle \beta =0}
the distribution reduces to a Holtsmark distribution with scale parameter c and shift parameter μ.
Also, in the limit as c approaches zero or as α approaches zero the distribution will approach a Dirac delta function δ(x − μ).
Series representation
The stable distribution can be restated as the real part of a simpler integral:
f
(
x
;
α
,
β
,
c
,
μ
)
=
1
π
ℜ
[
∫
0
∞
e
i
t
(
x
−
μ
)
e
−
(
c
t
)
α
(
1
−
i
β
Φ
)
d
t
]
.
{\displaystyle f(x;\alpha ,\beta ,c,\mu )={\frac {1}{\pi }}\Re \left[\int _{0}^{\infty }e^{it(x-\mu )}e^{-(ct)^{\alpha }(1-i\beta \Phi )}\,dt\right].}
Expressing the second exponential as a Taylor series, this leads to:
f
(
x
;
α
,
β
,
c
,
μ
)
=
1
π
ℜ
[
∫
0
∞
e
i
t
(
x
−
μ
)
∑
n
=
0
∞
(
−
q
t
α
)
n
n
!
d
t
]
{\displaystyle f(x;\alpha ,\beta ,c,\mu )={\frac {1}{\pi }}\Re \left[\int _{0}^{\infty }e^{it(x-\mu )}\sum _{n=0}^{\infty }{\frac {(-qt^{\alpha })^{n}}{n!}}\,dt\right]}
where
q
=
c
α
(
1
−
i
β
Φ
)
{\displaystyle q=c^{\alpha }(1-i\beta \Phi )}
. Reversing the order of integration and summation, and carrying out the integration yields:
f
(
x
;
α
,
β
,
c
,
μ
)
=
1
π
ℜ
[
∑
n
=
1
∞
(
−
q
)
n
n
!
(
i
x
−
μ
)
α
n
+
1
Γ
(
α
n
+
1
)
]
{\displaystyle f(x;\alpha ,\beta ,c,\mu )={\frac {1}{\pi }}\Re \left[\sum _{n=1}^{\infty }{\frac {(-q)^{n}}{n!}}\left({\frac {i}{x-\mu }}\right)^{\alpha n+1}\Gamma (\alpha n+1)\right]}
which will be valid for x ≠ μ and will converge for appropriate values of the parameters. (Note that the n = 0 term which yields a delta function in x − μ has therefore been dropped.) Expressing the first exponential as a series will yield another series in positive powers of x − μ which is generally less useful.
For one-sided stable distribution, the above series expansion needs to be modified, since
q
=
exp
(
−
i
α
π
/
2
)
{\displaystyle q=\exp(-i\alpha \pi /2)}
and
q
i
α
=
1
{\displaystyle qi^{\alpha }=1}
. There is no real part to sum. Instead, the integral of the characteristic function should be carried out on the negative axis, which yields:
L
α
(
x
)
=
1
π
ℜ
[
∑
n
=
1
∞
(
−
q
)
n
n
!
(
−
i
x
)
α
n
+
1
Γ
(
α
n
+
1
)
]
=
1
π
∑
n
=
1
∞
−
sin
(
n
(
α
+
1
)
π
)
n
!
(
1
x
)
α
n
+
1
Γ
(
α
n
+
1
)
{\displaystyle {\begin{aligned}L_{\alpha }(x)&={\frac {1}{\pi }}\Re \left[\sum _{n=1}^{\infty }{\frac {(-q)^{n}}{n!}}\left({\frac {-i}{x}}\right)^{\alpha n+1}\Gamma (\alpha n+1)\right]\\&={\frac {1}{\pi }}\sum _{n=1}^{\infty }{\frac {-\sin(n(\alpha +1)\pi )}{n!}}\left({\frac {1}{x}}\right)^{\alpha n+1}\Gamma (\alpha n+1)\end{aligned}}}
Parameter estimation
In addition to the existing tests for normality and subsequent parameter estimation, a general method which relies on the quantiles was developed by McCulloch and works for both symmetric and skew stable distributions and stability parameter
0.5
<
α
≤
2
{\displaystyle 0.5<\alpha \leq 2}
.
Simulation of stable variates
There are no analytic expressions for the inverse
F
−
1
(
x
)
{\displaystyle F^{-1}(x)}
nor the CDF
F
(
x
)
{\displaystyle F(x)}
itself, so the inversion method cannot be used to generate stable-distributed variates. Other standard approaches like the rejection method would require tedious computations. An elegant and efficient solution was proposed by Chambers, Mallows and Stuck (CMS), who noticed that a certain integral formula yielded the following algorithm:
generate a random variable
U
{\displaystyle U}
uniformly distributed on
(
−
π
2
,
π
2
)
{\displaystyle \left(-{\tfrac {\pi }{2}},{\tfrac {\pi }{2}}\right)}
and an independent exponential random variable
W
{\displaystyle W}
with mean 1;
for
α
≠
1
{\displaystyle \alpha \neq 1}
compute:
X
=
(
1
+
ζ
2
)
1
2
α
sin
(
α
(
U
+
ξ
)
)
(
cos
(
U
)
)
1
α
(
cos
(
U
−
α
(
U
+
ξ
)
)
W
)
1
−
α
α
,
{\displaystyle X=\left(1+\zeta ^{2}\right)^{\frac {1}{2\alpha }}{\frac {\sin(\alpha (U+\xi ))}{(\cos(U))^{\frac {1}{\alpha }}}}\left({\frac {\cos(U-\alpha (U+\xi ))}{W}}\right)^{\frac {1-\alpha }{\alpha }},}
for
α
=
1
{\displaystyle \alpha =1}
compute:
X
=
1
ξ
{
(
π
2
+
β
U
)
tan
U
−
β
log
(
π
2
W
cos
U
π
2
+
β
U
)
}
,
{\displaystyle X={\frac {1}{\xi }}\left\{\left({\frac {\pi }{2}}+\beta U\right)\tan U-\beta \log \left({\frac {{\frac {\pi }{2}}W\cos U}{{\frac {\pi }{2}}+\beta U}}\right)\right\},}
where
ζ
=
−
β
tan
π
α
2
,
ξ
=
{
1
α
arctan
(
−
ζ
)
α
≠
1
π
2
α
=
1
{\displaystyle \zeta =-\beta \tan {\frac {\pi \alpha }{2}},\qquad \xi ={\begin{cases}{\frac {1}{\alpha }}\arctan(-\zeta )&\alpha \neq 1\\{\frac {\pi }{2}}&\alpha =1\end{cases}}}
This algorithm yields a random variable
X
∼
S
α
(
β
,
1
,
0
)
{\displaystyle X\sim S_{\alpha }(\beta ,1,0)}
. For a detailed proof see.
To simulate a stable random variable for all admissible values of the parameters
α
{\displaystyle \alpha }
,
c
{\displaystyle c}
,
β
{\displaystyle \beta }
and
μ
{\displaystyle \mu }
use the following property: If
X
∼
S
α
(
β
,
1
,
0
)
{\displaystyle X\sim S_{\alpha }(\beta ,1,0)}
then
Y
=
{
c
X
+
μ
α
≠
1
c
X
+
2
π
β
c
log
c
+
μ
α
=
1
{\displaystyle Y={\begin{cases}cX+\mu &\alpha \neq 1\\cX+{\frac {2}{\pi }}\beta c\log c+\mu &\alpha =1\end{cases}}}
is
S
α
(
β
,
c
,
μ
)
{\displaystyle S_{\alpha }(\beta ,c,\mu )}
. For
α
=
2
{\displaystyle \alpha =2}
(and
β
=
0
{\displaystyle \beta =0}
) the CMS method reduces to the well known Box-Muller transform for generating Gaussian random variables. While other approaches have been proposed in the literature, including application of Bergström and LePage series expansions, the CMS method is regarded as the fastest and the most accurate.
Applications
Stable distributions owe their importance in both theory and practice to the generalization of the central limit theorem to random variables without second (and possibly first) order moments and the accompanying self-similarity of the stable family. It was the seeming departure from normality along with the demand for a self-similar model for financial data (i.e. the shape of the distribution for yearly asset price changes should resemble that of the constituent daily or monthly price changes) that led Benoît Mandelbrot to propose that cotton prices follow an alpha-stable distribution with
α
{\displaystyle \alpha }
equal to 1.7. Lévy distributions are frequently found in analysis of critical behavior and financial data.
They are also found in spectroscopy as a general expression for a quasistatically pressure broadened spectral line.
The Lévy distribution of solar flare waiting time events (time between flare events) was demonstrated for CGRO BATSE hard x-ray solar flares in December 2001. Analysis of the Lévy statistical signature revealed that two different memory signatures were evident; one related to the solar cycle and the second whose origin appears to be associated with a localized or combination of localized solar active region effects.
Other analytic cases
A number of cases of analytically expressible stable distributions are known. Let the stable distribution be expressed by
f
(
x
;
α
,
β
,
c
,
μ
)
{\displaystyle f(x;\alpha ,\beta ,c,\mu )}
, then:
The Cauchy Distribution is given by
f
(
x
;
1
,
0
,
1
,
0
)
.
{\displaystyle f(x;1,0,1,0).}
The Lévy distribution is given by
f
(
x
;
1
2
,
1
,
1
,
0
)
.
{\displaystyle f(x;{\tfrac {1}{2}},1,1,0).}
The Normal distribution is given by
f
(
x
;
2
,
0
,
1
,
0
)
.
{\displaystyle f(x;2,0,1,0).}
Let
S
μ
,
ν
(
z
)
{\displaystyle S_{\mu ,\nu }(z)}
be a Lommel function, then:
f
(
x
;
1
3
,
0
,
1
,
0
)
=
ℜ
(
2
e
−
i
π
4
3
3
π
1
x
3
S
0
,
1
3
(
2
e
i
π
4
3
3
1
x
)
)
{\displaystyle f\left(x;{\tfrac {1}{3}},0,1,0\right)=\Re \left({\frac {2e^{-{\frac {i\pi }{4}}}}{3{\sqrt {3}}\pi }}{\frac {1}{\sqrt {x^{3}}}}S_{0,{\frac {1}{3}}}\left({\frac {2e^{\frac {i\pi }{4}}}{3{\sqrt {3}}}}{\frac {1}{\sqrt {x}}}\right)\right)}
Let
S
(
x
)
{\displaystyle S(x)}
and
C
(
x
)
{\displaystyle C(x)}
denote the Fresnel integrals, then:
f
(
x
;
1
2
,
0
,
1
,
0
)
=
1
2
π
|
x
|
3
(
sin
(
1
4
|
x
|
)
[
1
2
−
S
(
1
2
π
|
x
|
)
]
+
cos
(
1
4
|
x
|
)
[
1
2
−
C
(
1
2
π
|
x
|
)
]
)
{\displaystyle f\left(x;{\tfrac {1}{2}},0,1,0\right)={\frac {1}{\sqrt {2\pi |x|^{3}}}}\left(\sin \left({\tfrac {1}{4|x|}}\right)\left[{\frac {1}{2}}-S\left({\tfrac {1}{\sqrt {2\pi |x|}}}\right)\right]+\cos \left({\tfrac {1}{4|x|}}\right)\left[{\frac {1}{2}}-C\left({\tfrac {1}{\sqrt {2\pi |x|}}}\right)\right]\right)}
Let
K
v
(
x
)
{\displaystyle K_{v}(x)}
be the modified Bessel function of the second kind, then:
f
(
x
;
1
3
,
1
,
1
,
0
)
=
1
π
2
2
3
7
4
1
x
3
K
1
3
(
4
2
3
9
4
1
x
)
{\displaystyle f\left(x;{\tfrac {1}{3}},1,1,0\right)={\frac {1}{\pi }}{\frac {2{\sqrt {2}}}{3^{\frac {7}{4}}}}{\frac {1}{\sqrt {x^{3}}}}K_{\frac {1}{3}}\left({\frac {4{\sqrt {2}}}{3^{\frac {9}{4}}}}{\frac {1}{\sqrt {x}}}\right)}
Let
m
F
n
{\displaystyle {}_{m}F_{n}}
denote the hypergeometric functions, then:
f
(
x
;
4
3
,
0
,
1
,
0
)
=
3
5
4
4
2
π
Γ
(
7
12
)
Γ
(
11
12
)
Γ
(
6
12
)
Γ
(
8
12
)
2
F
2
(
7
12
,
11
12
;
6
12
,
8
12
;
3
3
x
4
4
4
)
−
3
11
4
x
3
4
3
2
π
Γ
(
13
12
)
Γ
(
17
12
)
Γ
(
18
12
)
Γ
(
15
12
)
2
F
2
(
13
12
,
17
12
;
18
12
,
15
12
;
3
3
x
4
4
4
)
f
(
x
;
3
2
,
0
,
1
,
0
)
=
Γ
(
5
3
)
π
2
F
3
(
5
12
,
11
12
;
1
3
,
1
2
,
5
6
;
−
2
2
x
6
3
6
)
−
x
2
3
π
3
F
4
(
3
4
,
1
,
5
4
;
2
3
,
5
6
,
7
6
,
4
3
;
−
2
2
x
6
3
6
)
+
7
x
4
Γ
(
4
3
)
3
4
π
2
2
F
3
(
13
12
,
19
12
;
7
6
,
3
2
,
5
3
;
−
2
2
x
6
3
6
)
{\displaystyle {\begin{aligned}f\left(x;{\tfrac {4}{3}},0,1,0\right)&={\frac {3^{\frac {5}{4}}}{4{\sqrt {2\pi }}}}{\frac {\Gamma \left({\tfrac {7}{12}}\right)\Gamma \left({\tfrac {11}{12}}\right)}{\Gamma \left({\tfrac {6}{12}}\right)\Gamma \left({\tfrac {8}{12}}\right)}}{}_{2}F_{2}\left({\tfrac {7}{12}},{\tfrac {11}{12}};{\tfrac {6}{12}},{\tfrac {8}{12}};{\tfrac {3^{3}x^{4}}{4^{4}}}\right)-{\frac {3^{\frac {11}{4}}x^{3}}{4^{3}{\sqrt {2\pi }}}}{\frac {\Gamma \left({\tfrac {13}{12}}\right)\Gamma \left({\tfrac {17}{12}}\right)}{\Gamma \left({\tfrac {18}{12}}\right)\Gamma \left({\tfrac {15}{12}}\right)}}{}_{2}F_{2}\left({\tfrac {13}{12}},{\tfrac {17}{12}};{\tfrac {18}{12}},{\tfrac {15}{12}};{\tfrac {3^{3}x^{4}}{4^{4}}}\right)\\[6pt]f\left(x;{\tfrac {3}{2}},0,1,0\right)&={\frac {\Gamma \left({\tfrac {5}{3}}\right)}{\pi }}{}_{2}F_{3}\left({\tfrac {5}{12}},{\tfrac {11}{12}};{\tfrac {1}{3}},{\tfrac {1}{2}},{\tfrac {5}{6}};-{\tfrac {2^{2}x^{6}}{3^{6}}}\right)-{\frac {x^{2}}{3\pi }}{}_{3}F_{4}\left({\tfrac {3}{4}},1,{\tfrac {5}{4}};{\tfrac {2}{3}},{\tfrac {5}{6}},{\tfrac {7}{6}},{\tfrac {4}{3}};-{\tfrac {2^{2}x^{6}}{3^{6}}}\right)+{\frac {7x^{4}\Gamma \left({\tfrac {4}{3}}\right)}{3^{4}\pi ^{2}}}{}_{2}F_{3}\left({\tfrac {13}{12}},{\tfrac {19}{12}};{\tfrac {7}{6}},{\tfrac {3}{2}},{\tfrac {5}{3}};-{\tfrac {2^{2}x^{6}}{3^{6}}}\right)\end{aligned}}}
with the latter being the Holtsmark distribution.
Let
W
k
,
μ
(
z
)
{\displaystyle W_{k,\mu }(z)}
be a Whittaker function, then:
f
(
x
;
2
3
,
0
,
1
,
0
)
=
3
6
π
|
x
|
exp
(
2
27
x
−
2
)
W
−
1
2
,
1
6
(
4
27
x
−
2
)
f
(
x
;
2
3
,
1
,
1
,
0
)
=
3
π
|
x
|
exp
(
−
16
27
x
−
2
)
W
1
2
,
1
6
(
32
27
x
−
2
)
f
(
x
;
3
2
,
1
,
1
,
0
)
=
{
3
π
|
x
|
exp
(
1
27
x
3
)
W
1
2
,
1
6
(
−
2
27
x
3
)
x
<
0
3
6
π
|
x
|
exp
(
1
27
x
3
)
W
−
1
2
,
1
6
(
2
27
x
3
)
x
≥
0
{\displaystyle {\begin{aligned}f\left(x;{\tfrac {2}{3}},0,1,0\right)&={\frac {\sqrt {3}}{6{\sqrt {\pi }}|x|}}\exp \left({\tfrac {2}{27}}x^{-2}\right)W_{-{\frac {1}{2}},{\frac {1}{6}}}\left({\tfrac {4}{27}}x^{-2}\right)\\[8pt]f\left(x;{\tfrac {2}{3}},1,1,0\right)&={\frac {\sqrt {3}}{{\sqrt {\pi }}|x|}}\exp \left(-{\tfrac {16}{27}}x^{-2}\right)W_{{\frac {1}{2}},{\frac {1}{6}}}\left({\tfrac {32}{27}}x^{-2}\right)\\[8pt]f\left(x;{\tfrac {3}{2}},1,1,0\right)&={\begin{cases}{\frac {\sqrt {3}}{{\sqrt {\pi }}|x|}}\exp \left({\frac {1}{27}}x^{3}\right)W_{{\frac {1}{2}},{\frac {1}{6}}}\left(-{\frac {2}{27}}x^{3}\right)&x<0\\{}\\{\frac {\sqrt {3}}{6{\sqrt {\pi }}|x|}}\exp \left({\frac {1}{27}}x^{3}\right)W_{-{\frac {1}{2}},{\frac {1}{6}}}\left({\frac {2}{27}}x^{3}\right)&x\geq 0\end{cases}}\end{aligned}}}
See also
Lévy flight
Lévy process
Other "power law" distributions
Pareto distribution
Zeta distribution
Zipf distribution
Zipf–Mandelbrot distribution
Financial models with long-tailed distributions and volatility clustering
Multivariate stable distribution
Discrete-stable distribution
Software implementations
The STABLE program for Windows is available from John Nolan's stable webpage: http://www.robustanalysis.com/public/stable.html. It calculates the density (pdf), cumulative distribution function (cdf) and quantiles for a general stable distribution, and performs maximum likelihood estimation of stable parameters and some exploratory data analysis techniques for assessing the fit of a data set.
The GNU Scientific Library which is written in C has a package randist, which includes among the Gaussian and Cauchy distributions also an implementation of the Levy alpha-stable distribution, both with and without a skew parameter.
libstable is a C implementation for the Stable distribution pdf, cdf, random number, quantile and fitting functions (along with a benchmark replication package and an R package).
R Package 'stabledist' by Diethelm Wuertz, Martin Maechler and Rmetrics core team members. Computes stable density, probability, quantiles, and random numbers.
Python implementation is located in scipy.stats.levy_stable in the SciPy package.
Julia provides package StableDistributions.jl which has methods of generation, fitting, probability density, cumulative distribution function, characteristic and moment generating functions, quantile and related functions, convolution and affine transformations of stable distributions. It uses modernised algorithms improved by John P. Nolan.
References
Kata Kunci Pencarian:
- Manjaro Linux
- Firefox
- Bahasa Mariveleño
- Kalium iodat
- Mars
- Ras manusia
- Klorfenamin
- Fluorin
- Akuaduk Romawi
- Debian
- Stable distribution
- Discrete-stable distribution
- Multivariate stable distribution
- Lévy distribution
- Geometric stable distribution
- Normal distribution
- Stable count distribution
- Cauchy distribution
- Laplace distribution
- Financial models with long-tailed distributions and volatility clustering