The generalized hyperbolic (GH) distribution combines a conditional Gaussian law with a GIG mixing variable. Barndorff-Nielsen introduced the family in Exponentially decreasing distributions for the logarithm of particle size (1977), Proceedings of the Royal Society A 353, 401–419.
Definition as a normal mixture¶
Let with , and let be independent of . For and , define
This uses standard normal noise, as in conditioning a mixture: in one dimension , , , and . The upstream convention absorbs into the noise and writes .
The location need not be the marginal mean, and need not be the marginal covariance. The vector couples the conditional mean to the mixing variable. The parameters control the mixing law. A general positive mixing distribution gives a normal variance–mean mixture; the GIG choice selects GH. This is distinct from restricting attention to finite mixtures with a discrete component label.
Joint density and marginal density¶
Multiplying the normal conditional density by the GIG density gives
Define the squared Mahalanobis distance and three auxiliary quantities:
Expansion of the exponent leaves a factor independent of . The remaining integral has the GIG normalizing form, with parameters . Hence
This also proves the GIG posterior closure used in the EM derivation. The mixture architecture note distinguishes the statistical roles of the joint and marginal laws.
Alternative parameterization¶
Let and , using for the source’s scalar to reserve for expectation coordinates. Then with . Set and . The same model is
In (4), replace by . More explicitly, put and . Then
Model identifiability¶
For any , replace the latent variable by . Since , the transformation
leaves the distribution of unchanged. Equivalently, has the same marginal law. The joint law on a fixed coordinate pair changes: its latent coordinate has been rescaled.
The unconstrained marginal parameterization is therefore nonidentifiable. Where the score and Fisher information exist, differentiating along this constant-density curve gives a null score direction and a singular Fisher matrix. This argument identifies a scale redundancy; it does not compute marginal curvature or prove that every remaining parameterization is regular.
One can choose a representative by imposing , , or in the interior. For the determinant convention, take in (7). Such a normalization must transform all coupled parameters. Rescaling alone changes the model. Fixing the determinant also does not control the matrix condition number: has determinant one and becomes arbitrarily ill-conditioned.
Protassov (2004), EM-based maximum likelihood parameter estimation for multivariate generalized hyperbolic distributions, and Hu (2005), Calibration of multivariate generalized hyperbolic distributions using the EM algorithm, discuss constrained estimation. The normalization here follows directly from the displayed latent-variable transformation.
Moments, skewness, and kurtosis¶
When the required mixing moments are finite, conditioning gives
For a coordinate , write and . Conditional on , its mean is and its variance is . The third and fourth Gaussian moment formulas yield
Here denotes a central moment, and . Divide by for skewness and by , then subtract three, for excess kurtosis. All these moments exist for interior GIG mixing.
For , symmetry gives zero skewness, and excess kurtosis is . This is for gamma mixing with shape , and for inverse-gamma mixing when . For a coordinate with , a fourth moment of the inverse-gamma mixing variable is needed, requiring . Do not apply interior moment claims blindly at the family boundaries.
Joint exponential-family form¶
The complete-data density (2) has the form , with
The first three blocks are scalars, the next two are vectors, and the last is a symmetric matrix. Use the trace inner product for matrix blocks. Symmetric matrices have independent coordinates; treating duplicate off-diagonal entries as independent would introduce an artificial nonminimal representation.
Expanding the quadratic in (2) identifies
With the log-partition is
This parameterization is defined where the recovered and . The natural parameters determine the classical parameters uniquely for this joint family. The observable GH family, with all parameters free, does not inherit this complete-data exponential-family representation after integration; see the core note.
Expectation coordinates and their inverse¶
Taking conditional Gaussian moments gives
The first three entries are the GIG expectation coordinates, in the order . The two vector equations form a linear system for . Solving it, then rearranging the matrix equation, gives
Cauchy–Schwarz gives , with equality only for a constant positive . Interior GIG mixing is nonconstant, so the denominator is nonzero. Near that limit it can be small. These inverse formulas require attainable moments, a positive-definite recovered matrix, and an attained GIG optimum. In EM, posterior averages replace the population expectations.
Hellinger distance for the joint law¶
For two joint densities, take the convention . The exponential-family representation gives the exact expression
The average is in natural coordinates. For comparison with classical parameters, let , , , and let be arithmetic means. Define
Integrating the conditional Gaussian affinity and then the GIG kernel yields
When the conditional Gaussian parameters agree, this reduces to the GIG Hellinger distance. The upstream note attributes the joint-distance application to Shi (2016), Generalized Hyperbolic Distributions and Related Topics.
Marginalization gives : for each , Cauchy–Schwarz bounds the joint affinity integral over by , and integration over proves the claim. The joint distance depends on the latent representation; equivalent marginal models can have different joint laws. No general closed expression for the marginal GH distance is asserted here.
Numerical limits and special cases¶
The upstream source reports small distributional errors despite larger errors in some recovered GIG parameters. Those experiments are not rerun here, and do not guarantee stability for every parameter regime. Moment inversion can suffer from cancellation, Bessel overflow, and poorly conditioned covariance matrices. The optimization note separates these issues from likelihood monotonicity.
| Choice of mixing parameters | Marginal family |
|---|---|
| , | Normal-inverse Gaussian (NIG) |
| , | Variance gamma (VG) |
| , | Normal-inverse gamma |
| , , , | Student with location and scale matrix |
| , | Univariate hyperbolic |
In the conventional multivariate hyperbolic density, the corresponding order is . The family tour develops the nesting and moment boundaries. For supported operations, see the upstream package API.
Source and adaptation¶
Adapted from xshi19/normix, docs/theory/gh.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.