Discussion 8A

Conditional Probability

The probability of an event AA occurring given that an event BB occurs is Pr[AB]=Pr[AB]Pr[B]\Pr[A \mid B] = \frac{\Pr[A \cap B]}{\Pr[B]}.

Since Pr[BA]=Pr[AB]Pr[A]\Pr[B \mid A] = \frac{\Pr[A \cap B]}{\Pr[A]}, we know Pr[AB]=Pr[A]Pr[BA]=Pr[B]Pr[AB]\Pr[A \cap B] = \Pr[A] \Pr[B \mid A] = \Pr[B] \Pr[A \mid B].

Rearranging gives us Bayes’ Rule: Pr[AB]=Pr[A]Pr[BA]Pr[B]\Pr[A \mid B] = \frac{\Pr[A] \Pr[B \mid A]}{\Pr[B]}.

Chain Rule

We saw that Pr[AB]=Pr[A]Pr[BA]\Pr[A \cap B] = \Pr[A] \Pr[B \mid A]. This extends to any number of events:
Pr[inAi]=Pr[A1]×Pr[A2A1]×Pr[A3A1A2]××Pr[Anin1Ai]\Pr[\bigcap_{i}^n A_i] = \Pr[A_1] \times \Pr[A_2 \mid A_1] \times \Pr[A_3 \mid A_1 \cap A_2] \times \cdots \times \Pr[A_n \mid \bigcap_i^{n-1} A_i]

Total Probability

There are two ways for an event BB to occur: with event AA occurring and without event AA occurring: Pr[B]=Pr[AB]+Pr[AB]\Pr[B] = \Pr[A \cap B] + \Pr[\overline{A} \cap {B}].
Using conditional probability, we obtain Pr[B]=Pr[A]Pr[BA]+Pr[A]Pr[BA]\Pr[B] = \Pr[A] \Pr[B \mid A] + \Pr[\overline{A}] \Pr[B \mid \overline{A}].
Applying this to the denominator of Bayes’ rule leads to a common pattern: Pr[AB]=Pr[A]Pr[BA]Pr[A]Pr[BA]+Pr[A]Pr[BA]\Pr[A \mid B] = \frac{\Pr[A] \Pr[B \mid A]}{\Pr[A] \Pr[B \mid A] + \Pr[\overline{A}] \Pr[B \mid \overline{A}]}

This extends to any partitioning of Ω\Omega, not just AA and A\overline{A}, so Pr[B]=AiPr[BAi]=AiPr[Ai]Pr[BAi]\Pr[B] = \sum_{A_i} \Pr[B \cap A_i] = \sum_{A_i} \Pr[A_i] \Pr[B \mid A_i].

Disjointness

Events AA and BB are disjoint if Pr[AB]=0\Pr[A \cap B] = 0 (in the discrete case).

Independence

Events AA and BB are independent if
  • Pr[AB]=Pr[A]Pr[B]\Pr[A \cap B] = \Pr[A] \Pr[B]
  • Pr[A]=Pr[AB]\Pr[A] = \Pr[A \mid B]

Special case to consider: if either event has a probability of 00 of occurring, then are they independent? are they disjoint? What if either event has a probability of 11 of occurring?