Expectation and Variance - Applications
Variance decomposition and conditional expectation provide powerful techniques for analyzing complex probability problems by breaking them into manageable pieces.
Law of Total Variance
For random variables and :
This decomposes total variance into:
- Within-group variance: (average variance within each value of )
- Between-group variance: (variance of group means)
A company has two factories. Factory 1 (probability 0.6) produces items with mean weight 100g and variance 25g². Factory 2 (probability 0.4) produces items with mean 110g and variance 16g².
Overall mean:
Within-factory variance:
Between-factory variance:
Total variance:
Wald's Equation
Let be IID random variables with mean , and let be a non-negative integer-valued random variable independent of the . Then:
This applies when the number of terms is itself random.
A gambler plays until winning, with each game costing (p)E[N] = 1/p$. Total cost:
For , expected cost is dollars.
Compound Distributions
A compound distribution arises when where is random and are IID.
Compound Mean: If and are independent:
Compound Variance:
Insurance Claims: An insurance company receives claims per month, each with amount (mean $1000).
Total monthly claims :
Jensen's Inequality
If is a convex function and is a random variable:
If is concave, the inequality reverses.
Since is convex:
This shows .
Since is concave (for ):
This is the AM-GM inequality in probabilistic form.
These tools—total variance decomposition, Wald's equation, compound distributions, and Jensen's inequality—are essential for modeling complex real-world phenomena. They allow us to compute moments of complicated random structures by breaking them down into simpler independent components.