Skip to the content
MMF

/ Step 02 of 04[ Quant interviews ]

The number a game pays on average, and why interviewers ask for it before anything else.

← Quant interviews

newExpected value

[ Video ]

▶ coming soon

Short voiced video, coming soon.

Why it works

Play a game many times and the average payout settles on one number. That number is the expected value: each outcome weighted by how often it happens. For a fair die every face turns up a sixth of the time, so the average roll is 3.5, a value the die never shows.

E[X]=∑xx P(X=x)=1+2+3+4+5+66=3.5E[X] = \sum_x x \, P(X = x) = \frac{1 + 2 + 3 + 4 + 5 + 6}{6} = 3.5

Load the die and the average moves. Make a six come up half the time and the other faces share the remaining half, a tenth each. The six now pulls the average up to 4.5.

[ Demo ] Load the die

Drag to make a six more likely. The other faces share what is left, and the average roll follows.

Average roll 3.50

See it settle

Roll a fair die again and again and keep the average so far. It wanders at first, then locks onto the expected value.

[ Plot ] Running average of a fair die

2000 rolls of a fair die. The average jumps around at first, then settles on 3.5 (it ends at 3.45).

Summary

  • The expected value is the long-run average: each outcome times its probability, added up.
  • It need not be a value the game can actually produce.