Is there a way to see a connection between Law of Total Probability and Law of Total Expectation?

118 Views Asked by At

Both the Law of Total Probability and Law of Total Expectation are suspiciously similar looking:

$$E(X) = \sum_{i} E(X|A_i)P(A_i) $$

$$P(A) = \sum_{n} P(A|B_n)P(B_n) $$ where $B_n$ partitions the sample space.

Is one a special case of the other? Are they both just coincidentally true?

2

There are 2 best solutions below

2
On BEST ANSWER

The second one is special case of the first. Just take $X=I_A$.

0
On

The probability of an event $A$ is the expected value of the corresponding indicator random variable $1_A = \cases{1 & if $A$ occurs\cr 0 & otherwise}$. Similarly for conditional probability and conditional expectation.