Stable count distribution

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Probability distribution

In probability theory, the stable count distribution is the conjugate prior of a one-sided stable distribution. This distribution was discovered by Stephen Lihn (Chinese: 藺鴻圖) in his 2017 study of daily distributions of the S&P 500 and the VIX.[1] 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.[2]

Of the three parameters defining the distribution, the stability parameter α is most important. Stable count distributions have 0<α<1. The known analytical case of α=1/2 is related to the VIX distribution (See Section 7 of [1]). All the moments are finite for the distribution.

Definition

Its standard distribution is defined as

𝔑α(ν)=1Γ(1α+1)1νLα(1ν),

where ν>0 and 0<α<1.

Its location-scale family is defined as

𝔑α(ν;ν0,θ)=1Γ(1α+1)1νν0Lα(θνν0),

where ν>ν0, θ>0, and 0<α<1.

In the above expression, Lα(x) is a one-sided stable distribution,[3] which is defined as following.

Let X be a standard stable random variable whose distribution is characterized by f(x;α,β,c,μ), then we have

Lα(x)=f(x;α,1,cos(πα2)1/α,0),

where 0<α<1.

Consider the Lévy sum Y=i=1NXi where XiLα(x), then Y has the density 1νLα(xν) where ν=N1/α. Set x=1, we arrive at 𝔑α(ν) without the normalization constant.

The reason why this distribution is called "stable count" can be understood by the relation ν=N1/α. Note that N is the "count" of the Lévy sum. Given a fixed α, this distribution gives the probability of taking N steps to travel one unit of distance.

Integral form

Based on the integral form of Lα(x) and q=exp(iαπ/2), we have the integral form of 𝔑α(ν) as

𝔑α(ν)=2πΓ(1α+1)0eRe(q)tα1νsin(tν)sin(Im(q)tα)dt, or =2πΓ(1α+1)0eRe(q)tα1νcos(tν)cos(Im(q)tα)dt.

Based on the double-sine integral above, it leads to the integral form of the standard CDF:

Φα(x)=2πΓ(1α+1)0x0eRe(q)tα1νsin(tν)sin(Im(q)tα)dtdν=12πΓ(1α+1)0eRe(q)tαsin(Im(q)tα)Si(tx)dt,

where Si(x)=0xsin(x)xdx is the sine integral function.

The Wright representation

In "Series representation", it is shown that the stable count distribution is a special case of the Wright function (See Section 4 of [4]):

𝔑α(ν)=1Γ(1α+1)Wα,0(να),whereWλ,μ(z)=n=0znn!Γ(λn+μ).

This leads to the Hankel integral: (based on (1.4.3) of [5])

𝔑α(ν)=1Γ(1α+1)12πiHaet(νt)αdt,where Ha represents a Hankel contour.

Alternative derivation – lambda decomposition

Another approach to derive the stable count distribution is to use the Laplace transform of the one-sided stable distribution, (Section 2.4 of [1])

0ezxLα(x)dx=ezα,where 0<α<1.

Let x=1/ν, 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,

121Γ(1α+1)e|z|α=01ν(12e|z|/ν)(1Γ(1α+1)1νLα(1ν))dν=01ν(12e|z|/ν)𝔑α(ν)dν,

where z𝖱.

This is called the "lambda decomposition" (See Section 4 of [1]) since the LHS 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. It is also the Weibull survival function in Reliability engineering.

Lambda decomposition is the foundation of Lihn's framework of asset returns under the stable law. The LHS is the distribution of asset returns. On the RHS, the Laplace distribution represents the lepkurtotic noise, and the stable count distribution represents the volatility.

Stable Vol distribution

A variant of the stable count distribution is called the stable vol distribution Vα(s). The Laplace transform of e|z|α can be re-expressed in terms of a Gaussian mixture of Vα(s) (See Section 6 of [4]). It is derived from the lambda decomposition above by a change of variable such that

121Γ(1α+1)e|z|α=121Γ(1α+1)e(z2)α/2=01s(12πe12(z/s)2)Vα(s)ds,

where

Vα(s)=2πΓ(2α+1)Γ(1α+1)𝔑α2(2s2),0<α2=2πΓ(1α+1)Wα2,0((2s)α)

This transformation is named generalized Gauss transmutation since it generalizes the Gauss-Laplace transmutation, which is equivalent to V1(s)=22π𝔑12(2s2)=ses2/2.

Connection to Gamma and Poisson distributions

The shape parameter of the Gamma and Poisson Distributions is connected to the inverse of Lévy's stability parameter 1/α. The upper regularized gamma function Q(s,x) can be expressed as an incomplete integral of euα as

Q(1α,zα)=1Γ(1α+1)zeuαdu.

By replacing euα with the decomposition and carrying out one integral, we have:


Q(1α,zα)=zdu01ν(eu/ν)𝔑α(ν)dν=0(ez/ν)𝔑α(ν)dν.

Reverting (1α,zα) back to (s,x), we arrive at the decomposition of Q(s,x) in terms of a stable count:

Q(s,x)=0e(xs/ν)𝔑1/s(ν)dν.(s>1)

Differentiate Q(s,x) by x, we arrive at the desired formula:

1Γ(s)xs1ex=01ν[sxs1e(xs/ν)]𝔑1/s(ν)dν=01t[s(xt)s1e(x/t)s][𝔑1/s(ts)sts1]dt(ν=ts)=01tWeibull(xt;s)[𝔑1/s(ts)sts1]dt

This is in the form of a product distribution. The term [s(xt)s1e(x/t)s] in the RHS is associated with a Weibull distribution of shape s. Hence, this formula connects the stable count distribution to the probability density function of a Gamma distribution (here) and the probability mass function of a Poisson distribution (here, ss+1). And the shape parameter s can be regarded as inverse of Lévy's stability parameter 1/α.

Connection to Chi and Chi-squared distributions

The degrees of freedom k in the chi and chi-squared Distributions can be shown to be related to 2/α. Hence, the original idea of viewing λ=2/α as an integer index in the lambda decomposition is justified here.

For the chi-squared distribution, it is straightforward since the chi-squared distribution is a special case of the gamma distribution, in that χk2Gamma(k2,θ=2). And from above, the shape parameter of a gamma distribution is 1/α.

For the chi distribution, we begin with its CDF P(k2,x22), where P(s,x)=1Q(s,x). Differentiate P(k2,x22) by x , we have its density function as

χk(x)=xk1ex2/22k21Γ(k2)=01ν[2k2kxk1e(2k2xk/ν)]𝔑2k(ν)dν=01t[k(xt)k1e(x/t)k][𝔑2k(2k2tk)2k2ktk1]dt,(ν=2k2tk)=01tWeibull(xt;k)[𝔑2k(2k2tk)2k2ktk1]dt

This formula connects 2/k with α through the 𝔑2k() term.

Connection to generalized Gamma distributions

The generalized gamma distribution is a probability distribution with two shape parameters, and is the super set of the gamma distribution, the Weibull distribution, the exponential distribution, and the half-normal distribution. Its CDF is in the form of P(s,xc)=1Q(s,xc). (Note: We use s instead of a for consistency and to avoid confusion with α.) Differentiate P(s,xc) by x, we arrive at the product-distribution formula:

GenGamma(x;s,c)=01tWeibull(xt;sc)[𝔑1s(tsc)sctsc1]dt(s1)

where GenGamma(x;s,c) denotes the PDF of a generalized gamma distribution, whose CDF is parametrized as P(s,xc). This formula connects 1/s with α through the 𝔑1s() term. The sc term is an exponent representing the second degree of freedom in the shape-parameter space.

This formula is singular for the case of a Weibull distribution since s must be one for GenGamma(x;1,c)=Weibull(x;c); but for 𝔑1s(ν) to exist, s must be greater than one. When s1, 𝔑1s(ν) is a delta function and this formula becomes trivial. The Weibull distribution has its distinct way of decomposition as following.

Connection to Weibull distribution

For a Weibull distribution whose CDF is F(x;k,λ)=1e(x/λ)k(x>0), its shape parameter k is equivalent to Lévy's stability parameter α.

A similar expression of product distribution can be derived, such that the kernel is either a one-sided Laplace distribution F(x;1,σ) or a Rayleigh distribution F(x;2,2σ). It begins with the complementary CDF, which comes from Lambda decomposition:

1F(x;k,1)={01ν(1F(x;1,ν))[Γ(1k+1)𝔑k(ν)]dν,1k>0;or 01s(1F(x;2,2s))[2πΓ(1k+1)Vk(s)]ds,2k>0.

By taking derivative on x, we obtain the product distribution form of a Weibull distribution PDF Weibull(x;k) as

Weibull(x;k)={01νLaplace(xν)[Γ(1k+1)1ν𝔑k(ν)]dν,1k>0;or 01sRayleigh(xs)[2πΓ(1k+1)1sVk(s)]ds,2k>0.

where Laplace(x)=ex and Rayleigh(x)=xex2/2. it is clear that k=α from the 𝔑k(ν) and Vk(s) terms.

Asymptotic properties

For stable distribution family, it is essential to understand its asymptotic behaviors. From,[3] for small ν,

𝔑α(ν)B(α)να, for ν0 and B(α)>0.

This confirms 𝔑α(0)=0.

For large ν,

𝔑α(ν)να2(1α)eA(α)να1α, for ν and A(α)>0.

This shows that the tail of 𝔑α(ν) decays exponentially at infinity. The larger α is, the stronger the decay.

This tail is in the form of a generalized gamma distribution, where in its f(x;a,d,p) parametrization, p=α1α, a=A(α)1/p, and d=1+p2. Hence, it is equivalent to GenGamma(xa;s=1α12,c=p), whose CDF is parametrized as P(s,(xa)c).

Moments

The n-th moment mn of 𝔑α(ν) is the (n+1)-th moment of Lα(x). All positive moments are finite. This in a way solves the thorny issue of diverging moments in the stable distribution. (See Section 2.4 of [1])

mn=0νn𝔑α(ν)dν=1Γ(1α+1)01tn+1Lα(t)dt.

The analytic solution of moments is obtained through the Wright function:

mn=1Γ(1α+1)0νnWα,0(να)dν=Γ(n+1α)Γ(n+1)Γ(1α),n1.

where 0rδWν,μ(r)dr=Γ(δ+1)Γ(νδ+ν+μ),δ>1,0<ν<1,μ>0.(See (1.4.28) of [5])

Thus, the mean of 𝔑α(ν) is

m1=Γ(2α)Γ(1α)

The variance is

σ2=Γ(3α)2Γ(1α)[Γ(2α)Γ(1α)]2

And the lowest moment is m1=1Γ(1α+1) by applying Γ(xy)yΓ(x) when x0.

The n-th moment of the stable vol distribution Vα(s) is

mn(Vα)=2n2πΓ(n+1α)Γ(n+12)Γ(1α),n1.

Moment generating function

The MGF can be expressed by a Fox-Wright function or Fox H-function:

Mα(s)=n=0mnsnn!=1Γ(1α)n=0Γ(n+1α)snΓ(n+1)2=1Γ(1α)1Ψ1[(1α,1α);(1,1);s],or=1Γ(1α)H1,21,1[s|(11α,1α)(0,1);(0,1)]

As a verification, at α=12, M12(s)=(14s)32 (see below) can be Taylor-expanded to 1Ψ1[(2,2);(1,1);s]=n=0Γ(2n+2)snΓ(n+1)2 via Γ(12n)=π(4)nn!(2n)!.

Known analytical case – quartic stable count

When α=12, L1/2(x) is the Lévy distribution which is an inverse gamma distribution. Thus 𝔑1/2(ν;ν0,θ) is a shifted gamma distribution of shape 3/2 and scale 4θ,

𝔑12(ν;ν0,θ)=14πθ3/2(νν0)1/2e(νν0)/4θ,

where ν>ν0, θ>0.

Its mean is ν0+6θ and its standard deviation is 24θ. This called "quartic stable count distribution". The word "quartic" comes from Lihn's former work on the lambda distribution[6] where λ=2/α=4. At this setting, many facets of stable count distribution have elegant analytical solutions.

The p-th central moments are 2Γ(p+3/2)Γ(3/2)4pθp. The CDF is 2πγ(32,νν04θ) where γ(s,x) is the lower incomplete gamma function. And the MGF is M12(s)=esν0(14sθ)32. (See Section 3 of [1])

Special case when α → 1

As α becomes larger, the peak of the distribution becomes sharper. A special case of 𝔑α(ν) is when α1. The distribution behaves like a Dirac delta function,

𝔑α1(ν)δ(ν1),

where δ(x)={,if x=00,if x0, and 00+δ(x)dx=1.

Likewise, the stable vol distribution at α2 also becomes a delta function,

Vα2(s)δ(s12).

Series representation

Based on the series representation of the one-sided stable distribution, we have:

𝔑α(x)=1πΓ(1α+1)n=1sin(n(α+1)π)n!xαnΓ(αn+1)=1πΓ(1α+1)n=1(1)n+1sin(nαπ)n!xαnΓ(αn+1).

This series representation has two interpretations:

  • First, a similar form of this series was first given in Pollard (1948),[7] and in "Relation to Mittag-Leffler function", it is stated that 𝔑α(x)=α2xαΓ(1α)Hα(xα), where Hα(k) is the Laplace transform of the Mittag-Leffler function Eα(x) .
  • Secondly, this series is a special case of the Wright function Wλ,μ(z): (See Section 1.4 of [5])
𝔑α(x)=1πΓ(1α+1)n=1(1)nxαnn!sin((αn+1)π)Γ(αn+1)=1Γ(1α+1)Wα,0(xα),whereWλ,μ(z)=n=0znn!Γ(λn+μ),λ>1.

The proof is obtained by the reflection formula of the Gamma function: sin((αn+1)π)Γ(αn+1)=π/Γ(αn), which admits the mapping: λ=α,μ=0,z=xα in Wλ,μ(z). The Wright representation leads to analytical solutions for many statistical properties of the stable count distribution and establish another connection to fractional calculus.

Applications

Stable count distribution can represent the daily distribution of VIX quite well. It is hypothesized that VIX is distributed like 𝔑12(ν;ν0,θ) with ν0=10.4 and θ=1.6 (See Section 7 of [1]). Thus the stable count distribution is the first-order marginal distribution of a volatility process. In this context, ν0 is called the "floor volatility". In practice, VIX rarely drops below 10. This phenomenon justifies the concept of "floor volatility". A sample of the fit is shown below:

File:Screen Shot 2019-08-09 at 4.59.58 PM.png
VIX daily distribution and fit to stable count

One form of mean-reverting SDE for 𝔑12(ν;ν0,θ) is based on a modified Cox–Ingersoll–Ross (CIR) model. Assume St is the volatility process, we have

dSt=σ28θ(6θ+ν0St)dt+σStν0dW,

where σ is the so-called "vol of vol". The "vol of vol" for VIX is called VVIX, which has a typical value of about 85.[8]

This SDE is analytically tractable and satisfies the Feller condition, thus St would never go below ν0. But there is a subtle issue between theory and practice. There has been about 0.6% probability that VIX did go below ν0. This is called "spillover". To address it, one can replace the square root term with max(Stν0,δν0), where δν00.01ν0 provides a small leakage channel for St to drift slightly below ν0.

Extremely low VIX reading indicates a very complacent market. Thus the spillover condition, St<ν0, carries a certain significance - When it occurs, it usually indicates the calm before the storm in the business cycle.

Generation of Random Variables

As the modified CIR model above shows, it takes another input parameter σ to simulate sequences of stable count random variables. The mean-reverting stochastic process takes the form of

dSt=σ2μα(Stθ)dt+σStdW,

which should produce {St} that distributes like 𝔑α(ν;θ) as t. And σ is a user-specified preference for how fast St should change.

By solving the Fokker-Planck equation, the solution for μα(x) in terms of 𝔑α(x) is

μα(x)=12(xddx+1)𝔑α(x)𝔑α(x)=12[xddx(log𝔑α(x))+1]

It can also be written as a ratio of two Wright functions,

μα(x)=12Wα,1(xα)Γ(1α+1)𝔑α(x)=12Wα,1(xα)Wα,0(xα)

When α=1/2, this process is reduced to the modified CIR model where μ1/2(x)=18(6x). This is the only special case where μα(x) is a straight line.

Likewise, if the asymptotic distribution is Vα(s) as t, the μα(x) solution, denoted as μ(x;Vα) below, is

μ(x;Vα)=Wα2,1((2x)α)Wα2,0((2x)α)12

When α=1, it is reduced to a quadratic polynomial: μ(x;V1)=1x22.

Stable Extension of the CIR Model

By relaxing the rigid relation between the σ2 term and the σ term above, the stable extension of the CIR model can be constructed as

drt=a[8b6μα(6brt)]dt+σrtdW,

which is reduced to the original CIR model at α=1/2: drt=a(brt)dt+σrtdW. Hence, the parameter a controls the mean-reverting speed, the location parameter b sets where the mean is, σ is the volatility parameter, and α is the shape parameter for the stable law.


By solving the Fokker-Planck equation, the solution for the PDF p(x) at r is

p(x)exp[xdxx(2Dμα(6bx)1)], where D=4ab3σ2=𝔑α(6bx)DxD1

To make sense of this solution, consider asymptotically for large x, p(x)'s tail is still in the form of a generalized gamma distribution, where in its f(x;a,d,p) parametrization, p=α1α, a=b6(DA(α))1/p, and d=D(1+p2). It is reduced to the original CIR model at α=1/2 where p(x)xd1ex/a with d=2abσ2 and A(α)=14; hence 1a=6b(D4)=2aσ2.

Fractional calculus

Relation to Mittag-Leffler function

From Section 4 of,[9] the inverse Laplace transform Hα(k) of the Mittag-Leffler function Eα(x) is (k>0)

Hα(k)=1{Eα(x)}(k)=2π0E2α(t2)cos(kt)dt.

On the other hand, the following relation was given by Pollard (1948),[7]

Hα(k)=1α1k1+1/αLα(1k1/α).

Thus by k=να, we obtain the relation between stable count distribution and Mittag-Leffter function:

𝔑α(ν)=α2ναΓ(1α)Hα(να).

This relation can be verified quickly at α=12 where H12(k)=1πek2/4 and k2=ν. This leads to the well-known quartic stable count result:

𝔑12(ν)=ν1/24Γ(2)×1πeν/4=14πν1/2eν/4.

Relation to time-fractional Fokker-Planck equation

The ordinary Fokker-Planck equation (FPE) is P1(x,t)t=K1L~FPP1(x,t), where L~FP=xF(x)T+2x2 is the Fokker-Planck space operator, K1 is the diffusion coefficient, T is the temperature, and F(x) is the external field. The time-fractional FPE introduces the additional fractional derivative 0Dt1α such that Pα(x,t)t=Kα0Dt1αL~FPPα(x,t), where Kα is the fractional diffusion coefficient.

Let k=s/tα in Hα(k), we obtain the kernel for the time-fractional FPE (Eq (16) of [10])

n(s,t)=1αts1+1/αLα(ts1/α)

from which the fractional density Pα(x,t) can be calculated from an ordinary solution P1(x,t) via

Pα(x,t)=0n(sK,t)P1(x,s)ds, where K=KαK1.

Since n(sK,t)ds=Γ(1α+1)1ν𝔑α(ν;θ=K1/α)dν via change of variable νt=s1/α, the above integral becomes the product distribution with 𝔑α(ν), similar to the "lambda decomposition" concept, and scaling of time t(νt)α:

Pα(x,t)=Γ(1α+1)01ν𝔑α(ν;θ=K1/α)P1(x,(νt)α)dν.

Here 𝔑α(ν;θ=K1/α) is interpreted as the distribution of impurity, expressed in the unit of K1/α, that causes the anomalous diffusion.


See also

References

Template:Reflist

  • R Package 'stabledist' by Diethelm Wuertz, Martin Maechler and Rmetrics core team members. Computes stable density, probability, quantiles, and random numbers. Updated Sept. 12, 2016.

Template:ProbDistributions