Fix the model first¶
Let be standard normal and let be independent of . For constants and , define
Conditional on , this is normal with mean and variance . At it is a point mass at . This conditional description does not require choosing a particular distribution for .
One exact calculation¶
Assume in addition that . Conditional expectation gives
The law of total variance separates variation inside each conditional normal from variation of its mean:
For the limiting case almost surely, this reduces to a normal variable with mean and variance . The second-moment assumption is a sufficient condition for the displayed calculation, not a definition of every possible normal mixture.
The normal-mixtures note extends this calculation to vectors. The GH note uses the literature symbols , , and in one dimension, while keeping standard normal and independent. Choosing a GIG law for the mixing variable leads to the posterior calculations in EM for GH.
This original derivation introduces a mathematical model, not an assertion
about a specific normix constructor or parameterization. Consult the
upstream package when writing executable
package examples. Compare counting exceedances
for a quantity that describes observations without specifying their model.