Law of total variance
Law of total variance
Law of total expectation
In language perhaps better known to statisticians than to probabilists, the first term is the unexplained component of the variance; the second is the explained component of the variance.
The nomenclature in this article's title parallels the phrase Law of total probability. Some writers on probability call this the "conditional variance formula" or use other names.
(The conditional expected value E( X | Y ) is a random variable in its own right, whose value depends on the value of Y. Notice that the conditional expected value of X given the event Y = y is a function of y (this is where adherence to the conventional rigidly case-sensitive notation of probability theory becomes important!). If we write E( X | Y = y) = g(y) then the random variable E( X | Y ) is just g(Y). Similar comments apply to the conditional variance.)
then the explained component of the variance divided by the total variance is just the square of the Correlation between X and Y, i.e., in that case,
| var ( E (X ∣ Y)) ––––––––––––––––––––––––– var (X) | = corr (X,Y) 2 . |
For higher cumulants, a simple and elegant generalization exists. See Law of total cumulance.