Probability and statistics · University

Random variable and expected value

E[X]

The idea

The expected value is the average you'd get if you repeated the experiment infinitely many times.

The board

  1. X = the number on a die. Values 1…6, each with probability ⅙.
  2. E[X] = Σ x · P(x) = 1 + 2 + 3 + 4 + 5 + 66 = 3.5.
  3. You never roll a 3.5 — but the average of many rolls tends to it.
  4. The lottery: E[winnings] < the ticket price. That's why the casino always wins.

The most common mistake

Thinking the expected value is the most likely one. For a die, 3.5 isn't even possible.

The trick

E[X + Y] = E[X] + E[Y] — always, even for dependent variables.

Problems

A coin: heads = €10, tails = 0. E = ?

  • 10 €
  • 5 €
  • 2.5 €
  • 0 €
Show the answer

5 € — 10 · ½ + 0 · ½.

E[2X] if E[X] = 3?

  • 9
  • 5
  • 6
  • 3
Show the answer

6 — Linearity.

Take the lesson · exercises and XPFree, no sign-up needed.

You need to know

Leads to