Quoto

Courses / Expected value and variance

Linearity of expectation

9 cards2 min readExpected value

Card 1 of 9
  1. Idea: Count with small questions

    Write a count as a sum of yes-or-no indicators, then add their means.

    • An indicator's mean is its probability
    • Dependence between them does not matter
  2. Formula: Linearity of expectation

    Holds for any X and Y with a finite mean, independent or not. Also E[aX + b] = aE[X] + b.

  3. Example: Red balls in 3 draws

    An urn has red and blue. Draw without replacement. How many red do you expect?

    1. Each draw alone is red with chance
    2. Add the indicators:
  4. Idea: The long way agrees

    Listing all hands takes much longer.

    • hands
    • Weighted count:
  5. Idea: Pick what the indicator is on

    Attach indicators to whatever makes one probability easy.

    • A position, a person, a pair of neighbours, a value
    • Recipe: an indicator, one probability, then add
  6. Quick check: Idle traders

    orders each go at random to one of traders. How many traders do you expect to get no order?

    Show the answer

    Answer:

    One trader is idle with , so .

  7. Common mistake: Linearity for products

    Linearity covers sums only, not products or maxima.

    Instead Both draws red: , not .

  8. Idea: A bet is an indicator

    Win with , else lose : a sure plus times a win indicator.

    • Mean:
    • A book of positions adds the same way; risk does not
  9. Idea: Say it out loud

    Define the indicator in a full sentence: it is if this happens to item k.

    • Say why one item's probability is the same for all
    • Say that dependence does not matter here