A normal variance–mean mixture has two related statistical descriptions: the joint law of an observation and its mixing variable, and the marginal law of the observation alone. Keeping these distinct explains the sufficient statistics and expectation-to-parameter map used by EM.
Conditional, joint, and marginal descriptions¶
Let be independent of , and let . Define
For , this is conditioning a mixture with , , and . For a mixing density ,
| Law | Variables available | Statistical role |
|---|---|---|
| Conditional normal | at fixed | Specifies the sampling mechanism |
| Joint | Complete-data likelihood, sufficient statistics, joint divergences | |
| Marginal | Observed likelihood, moments, observable probabilities | |
| Posterior | given | Converts observations into expected complete-data statistics |
Drawing both variables and discarding produces a marginal draw. Integrating out is an operation on a probability model, not an assertion that was observed.
When the joint is an exponential family¶
For GIG mixing, expansion of gives the six statistic blocks
The scalar coefficients in the first three slots are
The factors of follow from the GIG kernel . The remaining coefficients and the log-partition are derived in GH. Matrix blocks use the trace inner product on symmetric matrices.
The first three expectations are always ordered as in this batch. Upstream implementation storage may use another order; descriptive moments, rather than slot numbers, identify the mathematical correspondence.
The joint GIG-normal model is an exponential family in these statistics. An arbitrary mixing density does not automatically give this particular finite-dimensional representation. Likewise, marginalization does not generally preserve exponential-family structure. For the full observable GH model, Bessel terms couple parameters to the observation inside the log density. The mere presence of a Bessel function or integral is not a proof that a model is outside the exponential family; GIG itself is a counterexample to that reasoning. Special restricted marginal families can behave differently.
Recovering a model from expected statistics¶
Let in the order (3). Conditional Gaussian moments imply
If , this linear system gives
The sixth moment gives
The mixing law is recovered from its own moment equations. This is the joint family’s inverse expectation map, with the domain conditions stated in the exponential-family core. An arbitrary tuple of six arrays need not be a feasible expectation vector. In particular, the recovered covariance must be positive definite and the mixing moments must admit the claimed distribution.
In EM, replace each by an average of conditional expectations given the observations. This uses the same mathematical map, but the expectations now come from the current posterior. See latent variables and ordinary EM for why this improves the observed likelihood under the stated assumptions.
Conditional parameters and observable moments¶
The normal parameters enter the marginal moments through
Thus and describe the conditional mechanism, and cannot simply be read as the mean and covariance of the observed distribution. The normal-mixtures note works through this distinction. Moreover, a latent rescaling can change the joint representation while preserving the marginal law; see GH identifiability.
This note covers the full positive-definite covariance model. Factor-analysis constructions introduce additional latent variables and different complete-data statistics; the factor-analysis note derives their posterior moments and constrained M-step.
Class naming, storage, constructor recipes, and fitter contracts remain in the upstream mixture design, EM framework, and package API.
Source and adaptation¶
Rewritten as a mathematical note from xshi19/normix, docs/design/mixtures.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.