Compute an expected value at a chance node
Keep the names of states and actions distinct. · 160 words
At a chance node, an event outside the decision maker's control produces the outcome. Imagine a museum cafe is deciding whether to place an outdoor sign. If 70% of visitors arrive in sunny weather and each yields $4 in extra profit, while 30% arrive in rain and yield $1, the sign's expected extra profit per visitor is 0.70(4) + 0.30(1) = 2.8 + 0.3 = $3.10. Expected value is the probability-weighted average payoff. It is not guaranteed: on a rainy day the payoff is $1.
Now consider a school fair restocking a pop machine. Buying 20 bottles costs $10. With probability 0.3, all 20 sell for $2 each, producing $30 profit; with probability 0.7, none sell, producing a $10 loss. Expected profit is 0.3(30) + 0.7(-10) = 9 - 7 = $2. This does not mean the fair will surely earn $2. It will earn $30 or lose $10. The expected value is a probability-weighted average, not a promised result.
Check your recall
In the pop-machine example, what is the expected profit, and what are the two possible actual profits?
Check your answer
The expected profit is $2. The actual profit is $30 if all 20 bottles sell, or a $10 loss if none sell. The $2 figure is the probability-weighted average of those two outcomes.
Sources and credits
Original KeyTouch lesson. Background reading · UC Berkeley · Introduction to Artificial Intelligence.