Probability from Two-Way Tables
Understanding Probability from Two-Way Tables
A two-way frequency table is a useful tool for organizing data that belongs to two different categories. By looking at the rows and columns, we can easily calculate different types of probabilities, including the chances of two events happening together or the chances of an event happening given a specific condition.
Reading a Two-Way Table
Let's look at an example. Suppose we surveyed 100 students about their favorite sport, categorized by gender. The results are in the two-way table below:
| Soccer | Basketball | Total | |
|---|---|---|---|
| Male | 20 | 30 | 50 |
| Female | 40 | 10 | 50 |
| Total | 60 | 40 | 100 |
- The rows show the categories for gender (Male, Female).
- The columns show the categories for sports (Soccer, Basketball).
- The Total row and column show the sums. The bottom-right number (100) is the grand total of all students surveyed.
Joint Probability (Both Events)
Joint probability is the probability of two specific events happening at the same time out of the entire group.
Example: What is the probability that a randomly chosen student likes basketball AND is male?
- Find the number of students who fit both categories: Look where the "Male" row and "Basketball" column intersect. That number is 30.
- Divide by the grand total of all students, which is 100.
P(Male and Basketball)=10030=103=0.3
So, there is a 30% chance that a randomly selected student is a male who likes basketball.
Conditional Probability (Given an Event)
Conditional probability is the probability of an event occurring given that another event has already occurred. Instead of looking at the whole group, you only look at a specific row or column. Look for keywords like "given that" or "if."
Example: Given that a student is female, what is the probability she prefers soccer?
- Because the problem says "Given that a student is female," we completely ignore the males. Our new total (the denominator) is just the Total Females, which is 50.
- Next, find the number of females who prefer soccer (the numerator). Looking at the "Female" row, 40 females like soccer.
- Divide the specific group by the condition's total.
P(Soccer∣Female)=5040=54=0.8
There is an 80% chance that a student prefers soccer, given that the student is female.
The Golden Rule for Two-Way Tables
When calculating probabilities from a two-way table, always pay close attention to your denominator:
- If you are choosing from the whole group ("a randomly chosen student"), your denominator is the grand total.
- If you are given a condition ("given that the student is male"), your denominator is just the total for that specific row or column.