Two-way tables organize data for two categorical variables, such as gender and activity choice or grade level and survey response. This cheat sheet helps students read counts, totals, and probabilities from tables without mixing up the categories. Conditional probability is important because it answers questions where one condition is already known.
These skills are used in statistics, surveys, data science, and real-world decision making.
The main ideas are joint probability, marginal probability, and conditional probability. A joint probability uses the count in one inside cell, while a marginal probability uses a row total or column total. Conditional probability uses a smaller group as the denominator, following .
Events are independent when knowing one event does not change the probability of the other, so .
Key Facts
- A two-way table shows counts for two categorical variables, with row totals, column totals, and a grand total.
- The joint probability of events and is .
- The marginal probability of event is .
- The conditional probability of given is when .
- Using counts from a table, .
- The complement rule is , where means the event does not happen.
- Events and are independent if , meaning knowing does not change the probability of .
- Events and are also independent if .
Vocabulary
- Two-Way Table
- A table that organizes counts or frequencies for two categorical variables at the same time.
- Joint Probability
- The probability that two events both occur, written as .
- Marginal Probability
- The probability of one event found from a row total or column total divided by the grand total.
- Conditional Probability
- The probability that event occurs given that event has already occurred, written as .
- Grand Total
- The total number of observations in the entire two-way table.
- Independence
- A relationship where knowing that one event occurred does not change the probability of another event.
Common Mistakes to Avoid
- Using the grand total for every probability is wrong because conditional probability uses the total from the given condition as the denominator.
- Reversing and is wrong because the denominator changes depending on which event is given.
- Confusing joint probability with marginal probability is wrong because uses an inside cell, while uses a row or column total.
- Assuming events are independent just because they look unrelated is wrong because independence must be checked with or .
- Ignoring table totals is wrong because row totals, column totals, and the grand total determine which denominator matches the question.
Practice Questions
- 1 A survey of students shows play a sport, play an instrument, and do both. Find .
- 2 In a two-way table, out of students are juniors. Of the juniors, prefer online homework. Find .
- 3 A table shows students like math, students like science, students like both, and there are students total. Find using .
- 4 If is greater than , explain what that tells you about the relationship between events and .