Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A theory tour of the GH family

Choosing a positive mixing law produces several familiar relatives of the generalized hyperbolic distribution. This note follows their mathematical nesting; the upstream tutorial retains executable constructions and plots.

One mixing mechanism

Let Y>0Y>0 and ZNd(0,Id)Z\sim\mathcal N_d(0,I_d) be independent, and put

X=μ+γY+YLZ,LL=Σ0.X=\mu+\gamma Y+\sqrt Y\,LZ,\qquad LL^\top=\Sigma\succ0.

Conditional on Y=yY=y, the mean is μ+γy\mu+\gamma y and the covariance is yΣy\Sigma. The conditioning introduction uses W=YW=Y, β=γ\beta=\gamma, and σ2=Σ\sigma^2=\Sigma in one dimension. Drawing YY then the conditional normal gives the joint law; keeping only XX gives its marginal.

The source calls YY a subordinator. Here it is just a positive random variable. A stochastic-process subordinator is an increasing Lévy process; using a one-time mixing law does not by itself specify a process, time scale, or independent increments.

Four mixing laws

The general GIG kernel is

g(y)yp1exp ⁣[12(ay+b/y)],y>0.g(y)\propto y^{p-1}\exp\!\left[-\tfrac12(ay+b/y)\right],\qquad y>0.

Its interior has pRp\in\mathbb R and a,b>0a,b>0. Gamma and inverse gamma arise as normalized boundary limits, while inverse Gaussian is an exact subfamily:

Mixing lawGIG relationParameters used here
Gammab0b\downarrow0, p>0p>0Shape α=p\alpha=p, rate ρ=a/2\rho=a/2
Inverse gammaa0a\downarrow0, p<0p<0Shape α=p\alpha=-p, scale ρ=b/2\rho=b/2
Inverse Gaussianp=1/2p=-1/2Mean m=b/am=\sqrt{b/a}, shape λ=b\lambda=b
Generalized inverse GaussianInterior a,b>0a,b>0(p,a,b)(p,a,b)

For clarity, the two boundary densities are

gGamma(y)=ραΓ(α)yα1eρy,gInvGamma(y)=ραΓ(α)yα1eρ/y,α,ρ>0.\begin{aligned} g_{\mathrm{Gamma}}(y)&=\frac{\rho^\alpha}{\Gamma(\alpha)} y^{\alpha-1}e^{-\rho y},\\ g_{\mathrm{InvGamma}}(y)&=\frac{\rho^\alpha}{\Gamma(\alpha)} y^{-\alpha-1}e^{-\rho/y},\qquad \alpha,\rho>0. \end{aligned}

The inverse-Gaussian density is

gIG(y)=λ2πy3exp ⁣[λ(ym)22m2y].g_{\mathrm{IG}}(y)=\sqrt{\frac{\lambda}{2\pi y^3}} \exp\!\left[-\frac{\lambda(y-m)^2}{2m^2y}\right].

Expanding its exponent shows the GIG embedding (1/2,λ/m2,λ)(-1/2,\lambda/m^2,\lambda). Unlike the gamma limits, this equality holds at positive finite parameters without a limiting operation.

The induced marginal families

Positive mixing lawDistribution of XX
GammaVariance gamma (VG)
Inverse gammaNormal-inverse gamma
Inverse GaussianNormal-inverse Gaussian (NIG)
Generalized inverse GaussianGeneralized hyperbolic (GH)

The historical references retained from the source are Barndorff-Nielsen (1977), Exponentially decreasing distributions for the logarithm of particle size; Madan and Seneta (1990), The Variance Gamma (V.G.) model for share market returns; and Barndorff-Nielsen (1997), Normal inverse Gaussian distributions and stochastic volatility modelling. These identify the distribution families; no finance-model derivation is imported here.

The phrase GH family often includes its gamma and inverse-gamma boundary limits. An arbitrary positive mixing law gives a normal variance–mean mixture, but need not be GH. The GH density note is specifically the result of integrating a GIG-normal joint law.

A familiar boundary example is Student tt. If YInvGamma(ν/2,ν/2)Y\sim\operatorname{InvGamma}(\nu/2,\nu/2) and γ=0\gamma=0, integration gives

fX(x)=Γ((ν+d)/2)Γ(ν/2)(νπ)d/2Σ1/2(1+(xμ)Σ1(xμ)ν)(ν+d)/2.f_X(x)=\frac{\Gamma((\nu+d)/2)} {\Gamma(\nu/2)(\nu\pi)^{d/2}|\Sigma|^{1/2}} \left(1+\frac{(x-\mu)^\top\Sigma^{-1}(x-\mu)}{\nu}\right)^{-(\nu+d)/2}.

Here ν>0\nu>0, and Σ\Sigma is the scale matrix; the covariance is νΣ/(ν2)\nu\Sigma/(\nu-2) only when ν>2\nu>2.

Symmetry, tails, and comparable scales

When γ=0\gamma=0, the marginal is symmetric about μ\mu. With finite second mixing moment, every coordinate has excess kurtosis

γ2=3Var(Y)E[Y]2.\gamma_2=3\frac{\operatorname{Var}(Y)}{\mathbb E[Y]^2}.

This follows from the conditional fourth normal moment and is strictly positive for nonconstant YY. It becomes zero for constant mixing, which gives a Gaussian. When γ0\gamma\ne0, the conditional mean also varies with YY; the GH third and fourth moments quantify the resulting asymmetry whenever those moments exist.

Interior GIG mixing and its inverse-Gaussian subfamily have finite power moments of every order. Inverse-gamma mixing has positive moments only below its shape parameter. Consequently a symmetric normal-inverse-gamma marginal can have a finite fourth moment even when the mixing variable has no fourth moment: symmetry requires E[Y2]\mathbb E[Y^2], whereas a nonzero mean coupling can require E[Y4]\mathbb E[Y^4]. A plot alone cannot establish these boundaries.

For scalar comparisons with E[Y2]<\mathbb E[Y^2]<\infty, centering and scaling use

XμγE[Y]ΣE[Y]+γ2Var(Y).\frac{X-\mu-\gamma\mathbb E[Y]} {\sqrt{\Sigma\mathbb E[Y]+\gamma^2\operatorname{Var}(Y)}}.

Comparing distributions at equal conditional Σ\Sigma does not generally put them at equal marginal variance. The original tutorial’s plotting cells and notebook outputs are omitted here; no numerical plot is offered as a proof of tail behavior.

Continue with normal-mixture moments, joint and marginal structure, or EM for GH. The upstream tutorial and package API own construction and sampling examples.

Source and adaptation

Rewritten as a mathematical note from xshi19/normix, docs/tutorials/core/02_gh_family_tour.md, at revision 763bb3608920661a012cf089888d349fbf680aad (2026-09-13 import). Copyright (c) 2020 xshi19. Licensed under MIT. The pinned source records the original version. Notation, mathematical qualifications, and links were adapted for this site; API recipes, executable package cells, and notebook plots are omitted. No upstream benchmark execution or formal-proof verification is claimed for this adaptation.

MIT permission notice

MIT License

Copyright (c) 2020 xshi19

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.