If you had to describe how likely each outcome of something uncertain is, what rule do those likelihoods have to follow?
Drag any bar. Watch what happens to the others — the whole picture always fills exactly one bar's worth of height, no more, no less.
That's a probability distribution: a number for every outcome, following two rules —
- — the probability assigned to outcome .
- — one specific outcome, indexed by , ranging over all possible outcomes.
- No negative shares
No outcome gets a negative share.
- Shares add up to the whole
The shares always add up to the whole thing.
E[X] = 2.50
Reshape the distribution and watch the expected value — the long-run average outcome — track the shift:
With over outcomes worth :
- Weight each outcome by its probability
- Add them up for the expected value
Reshape the distribution until E[X] reads (approximately) 2.0.
E[X] = 2.50
Drag a bar to try it
A distribution is just a set of non-negative shares that add up to one. The expected value is what you'd average over many draws from it.