Normal Components, One Mixture Distribution
A normal model can describe variation within a relatively homogeneous group, but a population may combine groups with different centers or different spreads. The resulting distribution is a normal mixture: each component is normal, while the observed value comes from one component selected according to its mixing weight. The overall distribution need not be normal, and its shape depends on both the component distributions and their weights.
Represent the selected component by a latent label \(Z\). Its possible values are \(1,\ldots,k\), with \(P(Z=j)=p_j\), where \(p_j>0\) and \(\sum_{j=1}^k p_j=1\). Given \(Z=j\), suppose \(X\sim N(\mu_j,\sigma_j^2)\), with \(\sigma_j^2>0\). The component label determines a pair of parameters: a mean and a variance. In particular, the means and variances need not be constant across components, nor need the two lists of parameters be unrelated.
Write \(\phi_{\mu,\sigma^2}(x)\) for the \(N(\mu,\sigma^2)\) density. Conditioning on the label gives the mixture density and distribution function:
Here \(\Phi\) is the standard normal distribution function. The density formula is valid because each component has a density and there are finitely many components. Its integral is \(\sum_j p_j=1\), as required. Notice that the formula retains each mean and variance with its own weight; averaging parameters first does not in general give the mixture density.
Mean and Variance
The mean is the weighted average of the component means. The variance has two contributions: variation within components and variation among their means. These formulas require only finite component means and variances, which hold automatically for a finite mixture of nondegenerate normal distributions.
Proof. Since the mixture has finitely many components and each normal component has finite first and second moments, expectations can be computed by conditioning on \(Z\). Thus
For the variance, condition on each component and write \(X-\bar{\mu}=(X-\mu_j)+(\mu_j-\bar{\mu})\) when \(Z=j\). Squaring and taking the conditional expectation yields
because \(E[X-\mu_j\mid Z=j]=0\). Averaging over \(Z\) gives
This is the stated decomposition. \(\square\)
Worked Example: Three Components With Different Means and Variances
Suppose a measurement comes from one of three normal components. The weights are \(1/2,1/3,1/6\), the component means are \(-2,1,5\), and the component variances are \(1,4,9\), respectively. Find the density, mean, and variance.
The density is the weighted sum of the three normal densities:
The weights sum to \(1/2+1/3+1/6=1\). The mixture mean is
The within-component contribution to the variance is
For the between-means contribution, the deviations from \(1/6\) are \(-13/6\), \(5/6\), and \(29/6\). Therefore,
Combining the two contributions gives
As a check, \(E[X^2]\) is the weighted average of component second moments \(E[X^2\mid Z=j]=\sigma_j^2+\mu_j^2\):
Hence \(E[X^2]-E[X]^2=59/6-1/36=353/36\), agreeing with the decomposition.
Random Variances and Distributional Shape
Even if all components have the same mean, differing variances change the shape of the density. The following calculation also illustrates why replacing a random variance by its average does not usually preserve the distribution.
Worked Example: A Mixture With Random Variance
Let \(P(Z=1)=3/4\), \(P(Z=2)=1/4\), and suppose \(X\mid Z=1\sim N(0,1)\), while \(X\mid Z=2\sim N(0,9)\). Then the density is
Both component means are zero, so \(E[X]=0\). The variance is
This does not make the mixture \(N(0,3)\). At zero, the mixture density is
whereas the \(N(0,3)\) density at zero is \(1/\sqrt{6\pi}=1/(\sqrt{3}\sqrt{2\pi})\). These values differ because \(5/6\ne 1/\sqrt{3}\), as is confirmed by squaring the positive quantities: \(25/36\ne 1/3\). Thus the matching mean and variance do not make the distributions identical.
A central feature of normal mixtures is that combining normal components need not preserve the single-peaked shape of an individual normal density. A simple curvature calculation gives a useful sufficient condition for two modes.
Proof. Let \(\phi_s(u)=(s\sqrt{2\pi})^{-1}\exp(-u^2/(2s^2))\). The mixture density is
It is symmetric about zero, so \(f'(0)=0\). Differentiating the normal density twice gives
Since \(\phi_s\) is even, \(\phi_s''\) is even too. Consequently,
when \(a>s\). Thus zero is a strict local minimum. To see that there is a local maximum on the positive side, choose a sufficiently small \(\epsilon>0\) so that \(f(\epsilon)>f(0)\), which is possible because zero is a strict local minimum. Since \(f(x)\to0\) as \(x\to\infty\), choose \(R>\epsilon\) with \(f(R)<f(0)\). The continuous function \(f\) attains a maximum on \([0,R]\); neither endpoint can be a maximizer because \(f(\epsilon)>f(0)\) and \(f(R)<f(0)\). A maximizer in \((0,R)\) is therefore a local maximum. By symmetry there is also a local maximum at its negative. Hence the density has at least two local maxima. \(\square\)
Worked Example: Separated Means Produce Two Modes
Take an equally weighted mixture of \(N(-2,1)\) and \(N(2,1)\). Here \(a=2\) and \(s=1\), so \(a>s\) and the theorem applies. Explicitly,
where \(\phi\) is the standard normal density. The mixture is symmetric and has mean zero. Its variance is \(1+4=5\): the within-component variance is \(1\), and the variance of the two means \(-2\) and \(2\) is \(4\). Yet the density has a local minimum at zero, since
So the mean lies between the two modes rather than at a mode. Each component is a single-peaked normal density, but their separated centers give the mixture two peaks.
Interpretation and a Common Pitfall
The mean and variance summarize location and overall spread, but they do not describe the full shape of a mixture. The within-component term reflects variation among observations assigned to the same component. The between-means term reflects separation among component centers. When component means are far apart relative to their standard deviations, a density can display distinct peaks; when variances differ, a narrow component can contribute a sharp peak while a wider component spreads mass over a broader range. The component weights also matter: a small-weight component can still have a visible influence on the density.
Common mistake: using only the weighted average of the component variances as the mixture variance. That calculation omits variation among the component means. In the three-component example, the within-component contribution is \(10/3\), but the full variance is \(353/36\), because the between-means contribution \(233/36\) is substantial. The correction is to include both terms in the variance decomposition. A related error is to assume that a mixture is normal with the weighted-average mean and variance. Those moments are valid summaries, but they do not determine the mixture's density or modality.
Check Your Understanding
Use the component weights and parameters in each question, and distinguish mixture moments from the full shape of the distribution.
- A mixture has weights \(1/4\) and \(3/4\), component means \(0\) and \(4\), and component variances \(1\) and \(1\). Find its mean and variance.
- Write the density for weights \(2/3\) and \(1/3\) with components \(N(1,1)\) and \(N(1,4)\).
- Why does a mixture with all component means equal have no between-means contribution to its variance?
- For the equally weighted mixture \(\frac12N(-3,1)+\frac12N(3,1)\), determine whether the curvature criterion guarantees at least two local maxima.
- Explain why knowing the mean and variance of a normal mixture does not, by itself, establish that the mixture is normal.