Lesson 4: Conditional probability

Conditional probabilities from a two-way table

SkillsConditional probabilityTwo-way tables

Worked example

  • Simple familiar
  • Technology free

A Brisbane café recorded 150 orders one Saturday morning, noting whether each order included a coffee (CC) and whether it included food (FF).

OrdersFood (FF)No food (F′F')Total
Coffee (CC)484290
No coffee (C′C')273360
Total7575150

An order is chosen at random. Find:

(a) P(F∣C)P(F \mid C) (b) P(C∣F)P(C \mid F) (c) P(F∣C′)P(F \mid C')

1 of 4 steps
  1. Step 1: Restrict to the condition for (a)

    Given CC, only the 90 coffee orders count. 48 of them include food, so P(F∣C)=4890=815P(F \mid C) = \dfrac{48}{90} = \dfrac{8}{15}.

    P(F∣C)=815P(F \mid C) = \frac{8}{15}

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Find the row or column of the condition.

  2. Divide the count in the overlap by the total of that row or column.

Watch out for

  • Dividing by the grand total: 48150\frac{48}{150} is P(F∩C)P(F \cap C).

  • Mixing up (a) and (b): the same 48 is divided by different totals.

Save your progress with a free account