All AP Courses AP StatisticsAP Stats

Practice

Probability from two-way tables

Joint, marginal and conditional probabilities read straight from a table of counts.

The skill

When one person or item is picked at random from a two-way table, each probability is a count over a total. "And" means a single cell over the grand total. "Or" means add the row total and the column total, then subtract the shared cell so it is not counted twice. "Given" shrinks the table to one row or one column, so the denominator becomes that row or column total. Most wrong answers on conditional probability come from dividing by the grand total anyway.

A worked example

The table shows students surveyed at one high school, classified by class and lunch habit.

Buys lunchBrings lunchTotal
Freshmen6461125
Sophomores6740107
Juniors4160101
Total172161333

One of these is chosen at random. Find the probability that it is in the "Juniors" row, given that it is in the "Brings lunch" column. Give your answer as a decimal rounded to four places.

Solution

  1. "Given" restricts you to the Brings lunch column, so the denominator is that column's total, 161. The numerator is the cell in that column: 60.
  2. 60161≈0.3727

Answer: 0.3727

Your turn

Lessons behind these problems