Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 04 / 08Statistics and Probability

Conditional Probability, the Multiplication Theorem and Independent Events

Conditional probability as probability in a reduced sample space, the multiplication rule for two or more events, independence and how it differs from mutual exclusivity, pairwise versus mutual independence, and repeated independent trials.

Figure 1
Conditional probability. The probability of AA given that BB has occurred is P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}, for P(B)>0P(B) > 0. Interpretation: once we know BB happened, the sample space shrinks to BB, and within it the favourable part is A∩BA \cap B, as the figure shows. For equally likely outcomes, P(A∣B)=n(A∩B)n(B)P(A \mid B) = \frac{n(A \cap B)}{n(B)}: simply count within BB. Conditional probability is itself a probability: P(A′∣B)=1−P(A∣B)P(A' \mid B) = 1 - P(A \mid B), and the addition theorem holds within the condition. Multiplication theorem. Rearranging: P(A∩B)=P(B)P(A∣B)=P(A)P(B∣A)P(A \cap B) = P(B)P(A \mid B) = P(A)P(B \mid A). For several events, P(A1∩A2∩A3)=P(A1)P(A2∣A1)P(A3∣A1∩A2)P(A_{1} \cap A_{2} \cap A_{3}) = P(A_{1})P(A_{2} \mid A_{1})P(A_{3} \mid A_{1} \cap A_{2}), and so on. This is the rule for sequential experiments such as drawing without replacement: multiply the probabilities along a path of a tree diagram. For example, drawing two cards without replacement, P(both aces)=452⋅351P(\text{both aces}) = \frac{4}{52} \cdot \frac{3}{51}. Independence. AA and BB are independent if knowing one does not change the probability of the other: P(A∣B)=P(A)P(A \mid B) = P(A), equivalently P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B). If AA and BB are independent, so are AA and B′B', A′A' and BB, and A′A' and B′B'. Then P(at least one)=1−P(A′)P(B′)P(\text{at least one}) = 1 - P(A')P(B'). Independent versus mutually exclusive. These are very different, and confusing them is a classic error. Mutually exclusive events with positive probabilities are never independent: if AA happens, BB certainly does not, so P(B∣A)=0≠P(B)P(B \mid A) = 0 \neq P(B). Independence is about the absence of information; exclusivity is the strongest possible information. Several events. Events A,B,CA, B, C are mutually independent if P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B), P(B∩C)=P(B)P(C)P(B \cap C) = P(B)P(C), P(C∩A)=P(C)P(A)P(C \cap A) = P(C)P(A) and P(A∩B∩C)=P(A)P(B)P(C)P(A \cap B \cap C) = P(A)P(B)P(C). Pairwise independence (the first three conditions) does not imply mutual independence. Standard example: toss two fair coins, AA = first is heads, BB = second is heads, CC = the two agree. Each pair is independent, but P(A∩B∩C)=14≠18P(A \cap B \cap C) = \frac{1}{4} \neq \frac{1}{8}. Repeated independent trials. If an experiment with success probability pp is repeated independently, the probability of the first success on the kkth trial is (1−p)k−1p(1 - p)^{k-1}p, and the probability of at least one success in nn trials is 1−(1−p)n1 - (1 - p)^{n}. Problems where players take turns until someone wins lead to geometric series: if A and B alternate with success probabilities pp and qq, A starting, then P(A wins)=p1−(1−p)(1−q)P(\text{A wins}) = \frac{p}{1 - (1 - p)(1 - q)}. Key Takeaways: - P(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}: probability within the reduced sample space BB. - P(A∩B)=P(A)P(B∣A)P(A \cap B) = P(A)P(B \mid A); chain rule for several events. - Independent: P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B); complements of independent events are independent. - Mutually exclusive events with positive probabilities are dependent. - Pairwise independence ⇏\not\Rightarrow mutual independence. - At least one success in nn trials: 1−(1−p)n1 - (1 - p)^{n}. - Pitfall: writing P(A∣B)=P(B∣A)P(A \mid B) = P(B \mid A); they are generally different. Brain-Teaser 1: A family has two children. Given that at least one is a boy, what is the probability that both are boys? Given that the elder is a boy? Solution: Sample space {BB,BG,GB,GG}\{BB, BG, GB, GG\}, equally likely. 'At least one boy' is {BB,BG,GB}\{BB, BG, GB\}, so P(BB∣…)=13P(BB \mid \ldots) = \frac{1}{3}. 'Elder is a boy' is {BB,BG}\{BB, BG\}, so the probability is 12\frac{1}{2}. The two conditions sound similar but restrict the sample space differently, which is the whole lesson of conditional probability. Brain-Teaser 2: A and B throw a die alternately, A first; the first to throw a six wins. Find each player's probability of winning. Solution: A wins on throw 1,3,5,…1, 3, 5, \ldots: P(A)=16+(56)216+(56)416+⋯=1/61−25/36=611P(A) = \frac{1}{6} + \left(\frac{5}{6}\right)^{2}\frac{1}{6} + \left(\frac{5}{6}\right)^{4}\frac{1}{6} + \cdots = \frac{1/6}{1 - 25/36} = \frac{6}{11}. So P(B)=511P(B) = \frac{5}{11}. Going first gives an advantage because A gets the first chance in every round; the geometric series sums the rounds. Brain-Teaser 3: P(A)=0.4P(A) = 0.4, P(B)=0.5P(B) = 0.5, and A,BA, B are independent. Find P(A∪B)P(A \cup B) and P(A∣A∪B)P(A \mid A \cup B). Solution: P(A∩B)=0.2P(A \cap B) = 0.2, so P(A∪B)=0.4+0.5−0.2=0.7P(A \cup B) = 0.4 + 0.5 - 0.2 = 0.7. Then P(A∣A∪B)=P(A∩(A∪B))P(A∪B)=P(A)0.7=47P(A \mid A \cup B) = \frac{P(A \cap (A \cup B))}{P(A \cup B)} = \frac{P(A)}{0.7} = \frac{4}{7}, since A⊆A∪BA \subseteq A \cup B. Simplifying the intersection before dividing is the key step.