Conditional Expectation
- Adam’s Law: E(E(Y∣X))=E(Y)
- Projection interpretation: Y−E(Y∣X), which is called the residual
from using X to predict Y, is uncorrelated with h(X) for any function
h.
Examples
Time until HH vs. HT
- Let WHT be the number of tosses until HT appears.
- WHT can be divided into time waiting for the first H and that for the
first T, hence W1 and W2.
- Note that our partial progress is not destroyed. Hence
W1,W2∼i.i.dFS(1/2), and
WHT=W1+W2.
- The case for WHH is more complex, as our partial progress is destroyed.
- Use the law of total expectation.
- Condition on the first toss.
- Use memorylessness.
- Condition on the second toss.