2.7.8 · D3Statistics & Probability — Intermediate

Worked examples — Conditional probability — P(A - B) = P(A∩B) - P(A)

3,017 words14 min readBack to topic

The scenario matrix

Every conditional-probability question you meet falls into one of these case classes. We will hit each cell at least once.

# Case class What makes it tricky Worked in
C1 Basic overlap (equally likely, count in a shrunken universe) forgetting to restrict to Ex 1
C2 Flip the bar — $P(A B)P(B A)$
C3 Chaining without replacement (multiplication rule) universe shrinks each step Ex 3
C4 Independence check — is $P(A B)=P(A)$? overlap can look dependent
C5 Degenerate: (impossible condition) formula divides by zero Ex 5
C6 Degenerate: or (nested events) answer is or Ex 5
C7 Condition on a complement $P(A B^c)$ you may not touch the numerator's
C8 Real-world word problem (base rates / false positives) reversing the condition gives the wrong answer Ex 7
C9 Limiting behaviour — condition shrinks toward a single outcome probabilities snap to or Ex 8
C10 Condition on one cell of a partition (disjoint ) the parts must be disjoint and cover all Ex 9
C11 Exam twist — condition on a union must not double-count the overlap Ex 10

Prerequisite pictures we lean on: Sample space and events (the universe), Tree diagrams (chaining), Multiplication rule of probability, Independence of events, Bayes' Theorem, Law of total probability.


C1 — Basic overlap


C2 — Flip the bar


C3 — Chaining without replacement


C4 — Independence check


C5 & C6 — Degenerate inputs


C7 — Condition on a complement


C8 — Real-world word problem


C9 — Limiting behaviour


C10 — Condition on one cell of a partition


C11 — Exam twist: condition on a union


Recall Quick self-test on the matrix

Which cell does "given two aces already drawn, chance the next is an ace" hit? ::: C3 — chaining without replacement. Why is undefined on a die? ::: The condition has ; dividing by zero is undefined (C5). If , simplify . ::: (C6). When conditioning on , which quantity must you NOT change? ::: The event on the left of the bar; only the condition becomes (C7). In the disease problem, why isn't the answer ? ::: False positives from the huge healthy group dominate (C8 / Bayes flip). What two properties make a partition? ::: Disjoint (no overlap) and exhaustive (probabilities sum to 1) (C10). Denominator for conditioning on ? ::: , not (C11).

Connections

  • Multiplication rule of probability — the engine behind Ex 3's chaining.
  • Tree diagrams — the picture for Ex 3 and Ex 7.
  • Independence of events — the test in Ex 4.
  • Bayes' Theorem — the correct flip in Ex 2 and Ex 7.
  • Law of total probability — the partition recombination in Ex 9.
  • Sample space and events — the universe we keep shrinking.