A variable is drawn from with probability 0.3 and from (variance 2) with probability 0.7. Use the law of total variance to find its mean and variance. Why is the variance more than the weighted average of the two component variances?
Probability and statistics, Conditional expectation
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Applying total variance to a mixture: within-component plus between-component spread.
Key idea
With component label : .
Steps
- Mean by total expectation: .
- Within-component term: .
- Between-component term: .
- Add: .
- Explain: the extra 3.36 appears because the component means differ. Even with equal variances, mixing separated clusters spreads the data.
- Link to ML: this is the same split as in a Gaussian mixture model, and as the "total = within-class + between-class" scatter in LDA.
Common mistakes
- Averaging the component variances and stopping at 1.7.
- Computing the between term around each component's own mean, or with the unweighted average of the means.
- Reading the mixture as Gaussian. A mixture of Gaussians is generally not Gaussian, even though its mean and variance exist.
How long your answer should be
Half a page; 4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: Why is the Bernoulli distribution with parameter in the exponential family? What are its natural parameter, sufficient statistic and log-partition function, and why does the derivative of the log-partition function give the mean?
Next in Probability and statistics: Data are i.i.d. with known and prior . What is the posterior of , and what is it for , , , , ? Why is the MAP estimate a ridge-type shrinkage of ?