The Law of Total Probability

Compute the unconditional probability of an event by partitioning the sample space and combining conditional probabilities weighted by the probabilities of each partition piece.

Step 1 of 119%

Tutorial

Introduction

Sometimes the probability of an event AA is hard to compute directly but easy to compute separately inside each of a few non-overlapping scenarios. The law of total probability combines these pieces into the overall probability.

If BB is an event with 0<P(B)<10 < P(B) < 1, then BB and its complement BcB^c split (partition) the sample space. The law of total probability states

P(A)=P(AB)P(B)+P(ABc)P(Bc).P(A) = P(A \mid B)\,P(B) + P(A \mid B^c)\,P(B^c).

For example, suppose tomorrow is rainy with probability 0.40.4. If it rains, you are late with probability 0.60.6; if it does not rain, you are late with probability 0.10.1. Let A={late}A = \{\text{late}\} and B={rainy}B = \{\text{rainy}\}. Then

P(A)=P(AB)P(B)+P(ABc)P(Bc)=0.60.4+0.10.6=0.24+0.06=0.30.\begin{align*} P(A) &= P(A \mid B)\,P(B) + P(A \mid B^c)\,P(B^c) \\ &= 0.6 \cdot 0.4 + 0.1 \cdot 0.6 \\ &= 0.24 + 0.06 \\ &= 0.30. \end{align*}

Think of it as a weighted average of the conditional probabilities, where the weights are the probabilities of the two scenarios.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle