Conditional Probability and Bayes’ Theorem

Lesson 5 of 212 min5 practice questionsFree

Use the correct denominator for a conditional probability, then combine mutually exclusive cases to reverse a condition.

The condition sets the denominator

If P(B) is positive, P(A | B) = P(A ∩ B) / P(B). Restrict attention to B first. Among the outcomes in B, count or weigh the ones where A also happens. By contrast, P(B | A) restricts attention to A.

The multiplication rule follows from this definition: P(A ∩ B) = P(B) × P(A | B). If two events are independent, knowing B leaves P(A) unchanged. Independence can also be checked by testing whether P(A ∩ B) = P(A) × P(B). Mutually exclusive events with positive probability cannot be independent, because their intersection is zero while that product is positive.

Worked example: an audit flag

A team handles 100 applications. Desk A processes 60 and flags 12 of them. Desk B processes 40 and flags 20. Pick an application uniformly at random.

Desk   Flag   Clear  Total
 A       12      48     60
 B       20      20     40
 All     32      68    100

In words, A flags 12 of 60, B flags 20 of 40 and 32 applications are flagged overall.

  • The probability an A application is flagged is 12/60 = 1/5. The denominator is the A row.
  • The probability that a flagged application came from A is 12/32 = 3/8. The denominator is the Flag column.
  • A and B divide the work into two exhaustive, mutually exclusive cases. The overall flag probability is (60/100)(12/60) + (40/100)(20/40) = 32/100.

Bayes’ theorem expresses the second answer using the first. Multiply the prior P(A) by P(Flag | A), then divide by the overall P(Flag). Here (0.60 × 0.20) / 0.32 = 3/8. This is smaller than the prior 0.60 because B contributes a larger share of flagged cases than of all applications.

Choose a table or a probability tree

Use a frequency table if counts are given. If only probabilities are given, make a branch for each non-overlapping case. Multiply along a branch to get a joint probability. Add the branches that end in the observed event before dividing. When there are three possible sources, include all three in the denominator.

Check that your answer is between 0 and 1. Circle the event after the vertical bar. If you used its reverse condition, redraw the table or reconstruct the branches.

Practise this lesson5 questions · 5 marks · +1 a question · every answer explained
Start practice: Conditional Probability and Bayes’ Theorem Practice

Sign in to keep your progress. Sign in