Expected Value as a Probability-Weighted Average

An expected value multiplies each numeric outcome by its probability and sums the products.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Compute a queue delay
  2. Choose the quantity first
  3. Compute the long-run average of a value that need not occur
  4. Use linearity even when sums are dependent

Compute a queue delay

Suppose a response arrives in one minute with probability three quarters and five minutes with probability one quarter. The expected time is two minutes. Neither outcome takes exactly two minutes. Compare averaging algorithm costs with a stated model.

Choose the quantity first

Converting both outcomes to seconds multiplies the expectation by sixty. Choosing a different result such as missed deadline requires an indicator for that event. Units help distinguish expected time from a probability.[1]

Compute the long-run average of a value that need not occur

A game yields zero points with probability three quarters and eight points with probability one quarter. Its expected score is two points, even though a single game can never yield two. Expectation weights each possible value by its probability. See discrete probability tables.

Outcome       0       8
Probability   3/4     1/4
Contribution  0       2
Expected score: 2

Use linearity even when sums are dependent

Two games with the same marginal expected score have expected total four regardless of whether their scores move together. Dependence matters for spread and tail probabilities. Distinguish the expected total from the probability of reaching a target.

References

  1. Eric Lehman, F. Thomson Leighton and Albert R. Meyer, Mathematics for Computer Science ↩