From a Two-Way Table to Probabilities
In Tree Diagrams for Multi-Stage Experiments, you followed branches to describe outcomes and calculate probabilities. A two-way table organizes a different kind of information: counts for individuals classified by two categorical variables. For example, each student in a school sample can be classified by both grade and whether the student participates in a school club.
A two-way table helps answer questions about the chance of selecting a person with a particular combination of categories, or a person in one category regardless of the other variable. The first kind of probability comes from one cell. The second comes from a row or column total at the edge of the table.
For probabilities based on the full table, the denominator is the grand total: the count of all individuals represented. If one student is selected at random from the 200 students in a table, each student is equally likely to be selected, so a count out of 200 gives the probability for that group.
A row total adds the counts across that row; a column total adds the counts down that column. The grand total appears at the intersection of the totals. It is useful to check that all row totals add to the grand total and all column totals also add to it. These checks help catch an arithmetic or table-reading error before you calculate probabilities.
A Two-Way Table of 200 Students
Consider this invented table for 200 students. The two variables are grade and school-club participation. Each student is counted in exactly one grade category and exactly one participation category.
| Grade | Participates in a club | Does not participate | Total |
|---|---|---|---|
| Grade 11 | 54 | 26 | 80 |
| Grade 12 | 66 | 54 | 120 |
| Total | 120 | 80 | 200 |
The cell containing 54 represents students who are both in Grade 11 and club participants. The row total of 80 represents all Grade 11 students, whether or not they participate. The column total of 120 represents all club participants, whether they are in Grade 11 or Grade 12. Each number answers a different question, so identify the event before choosing a count.
Worked Example: A Joint Probability from One Cell
Suppose one of the 200 students is selected at random. Find the probability that the student is in Grade 11 and participates in a school club.
Identify the event: The word “and” means both categories must apply to the selected student. Find the cell where the Grade 11 row and the “Participates in a club” column meet. That cell contains 54 students.
Choose the denominator: The selection is from all 200 students in the table, so use the grand total, 200.
Conclude: The probability that a randomly selected student from these 200 is in Grade 11 and participates in a club is \(0.27\), or 27%. This is a joint probability because the event requires both grade and participation categories.
Worked Example: A Marginal Probability from a Row Total
Using the same table, find the probability that a randomly selected student is in Grade 12, regardless of club participation.
Identify the event: The student can participate or not participate. Since the question asks only about grade, use the Grade 12 row total, 120. The two counts in that row add to this total: \(66+54=120\).
Use the grand total: The student is selected from all 200 students represented in the table.
Conclude: The probability that a randomly selected student from these 200 is in Grade 12 is \(0.60\), or 60%. This is a marginal probability because it concerns one variable, grade, without specifying the student’s club-participation category.
The column total gives another marginal probability. For example, the probability that a randomly selected student participates in a club is \(120/200=0.60\). Here the number 120 happens to be both the Grade 12 row total and the club-participation column total. The matching counts do not mean the events are the same: one describes grade, and the other describes club participation.
Reading the Table Carefully
A reliable approach is to translate the question into a count before dividing. “Grade 11 and participates” points to one cell. “Grade 11” points to the Grade 11 row total. “Does not participate” points to the column total for that category. “Either of these categories,” or a phrase such as “Grade 11 or does not participate,” requires more care because the groups may overlap.
When a question asks for one category “regardless of” the other variable, add across a row or down a column as needed. For instance, the 80 Grade 11 students include both the 54 participants and the 26 nonparticipants. Using only 54 would answer a narrower question: the probability of being both in Grade 11 and a club participant.
Likewise, a cell count is not already a probability. The count 54 means 54 students meet both category descriptions. The corresponding probability for a random selection from all 200 is \(54/200\). Always make the denominator match the group from which the selection is made. In these examples, it is all 200 students.
This check reflects that every student belongs to one cell in the table. Similarly, the marginal probabilities across all the categories of a single variable add to 1. For grade, the Grade 11 and Grade 12 totals are 80 and 120, and \(80/200+120/200=1\). For participation, the totals are 120 and 80, and \(120/200+80/200=1\).
Worked Example: A Probability with “Or” and Overlap
Using the same table, find the probability that a randomly selected student is in Grade 11 or does not participate in a club. In this question, “or” includes students who meet both descriptions.
State: The event includes Grade 11 students, nonparticipants, or students who are in both groups. We need the count of distinct students in the combined event, not a count that includes the same student twice.
Plan: Add the Grade 11 row total and the nonparticipation column total. Then subtract the count in their overlap, because those students were included in both totals. The overlap is the cell for Grade 11 students who do not participate.
Do: There are 80 Grade 11 students and 80 nonparticipants. The overlap cell contains 26 students. Thus, the combined count is \(80+80-26=134\). Divide by the grand total of 200.
A second way to verify the count is to add the cells in the union without duplication: 54 Grade 11 participants, 26 Grade 11 nonparticipants, and 54 Grade 12 nonparticipants. Their total is \(54+26+54=134\).
Conclude: The probability that a randomly selected student from these 200 is in Grade 11 or does not participate in a club is \(0.67\), or 67%. Subtracting the overlap is essential because the 26 Grade 11 nonparticipants appear in both the Grade 11 total and the nonparticipation total.
Common Mistakes and AP Exam Tips
- Using a cell when the question asks for a marginal total. “Grade 11” includes both participation categories, so use the row total of 80, not just one of its cells.
- Using a marginal total for a joint event. “Grade 11 and participates” requires both descriptions, so use the single cell count of 54.
- Dividing by the wrong total. For a randomly selected student from all 200, use 200 as the denominator. Do not divide by a row total unless the question specifically restricts the selection to that row; that would be a different probability question.
- Confusing counts and probabilities. A count such as 120 is not a probability. State the fraction \(120/200\) and its value, \(0.60\).
- Double-counting an overlap for “or.” When adding two group totals, subtract the students in both groups once. Alternatively, add the relevant non-overlapping cells directly.
- Forgetting the context. A bare answer of \(0.27\) is less informative than “The probability that a randomly selected student from these 200 is in Grade 11 and participates in a club is \(0.27\).”
For full-credit communication, name the event, identify the appropriate cell or marginal total, show the count divided by the grand total, and interpret the result in context. If the event uses “or,” explain how you avoid counting any student twice.
Check Your Understanding
Use the table of 200 students above. Give each probability as a fraction and a decimal.
- What is the probability that a randomly selected student is in Grade 12 and does not participate in a club?
- What is the probability that a randomly selected student participates in a club, regardless of grade?
- Explain why the Grade 11 row total is not the right count for the event “Grade 11 and participates.”
- Find the probability that a randomly selected student is in Grade 12 or participates in a club. Identify the overlap you must account for.
- Why should the probabilities of all four interior cells add to 1?