The Law of Total Expectation for Discrete Random Variables
Compute the expected value of a discrete random variable by conditioning on a partition or an auxiliary discrete random variable, using .
Step 1 of 157%
Tutorial
Introduction
The law of total expectation states that the expected value of a discrete random variable can be computed by averaging its conditional expectations, weighted by the probabilities of the conditioning events.
If is a partition of the sample space with for each , then
Equivalently, if is a discrete random variable taking values , then
For example, suppose
- with
- with
Then
This formula breaks a complicated expectation into a simple weighted average over branches.