Law of total variance

A coin's bias PP is uniform on [0,1][0,1]; given P=pP=p you flip once, scoring X=1X=1 for heads. Using the law of total variance, what is Var(X)\mathrm{Var}(X)? (to 2 decimals)

Show hints (2)+
  1. Var(X) = E[Var(X|P)] + Var(E[X|P]).
  2. E[P(1-P)] = 1/2 - 1/3 and Var(P) = 1/12.

Answer

Reveal answer →

0.25 (± 0.01)

Create a free account to see the full worked solution and track your progress.

Interview format: Market Maker, Hedge Fund Quant

Related questions