Practice Two-Way Tables in Statistics

Use these practice problems to test your method after reviewing the concept explanation and worked examples.

Quick Recap

A two-way table (contingency table) displays the frequency of data categorized by two different categorical variables simultaneously, with one variable in rows and the other in columns, allowing comparison of distributions across groups.

A two-way table is like a spreadsheet that shows how two questions relate. 'Do you like pizza?' and 'Are you a kid or adult?' becomes a 2ร—22 \times 2 grid showing how many kid pizza-lovers, adult pizza-lovers, etc.

Showing a random 20 of 76 problems.

Example 1

medium
100 students were surveyed: 70 play sports; among those, 49 also play music. Among non-sport students, 9 play music. Build the table and find the percent of music players overall.

Example 2

hard
In a 2ร—22\times 2 table, the four conditional row distributions read: Row 1 has 60%60\% Yes, 40%40\% No; Row 2 has 60%60\% Yes, 40%40\% No. Is there an association?

Example 3

medium
A 2ร—22\times 2 table with grand total 200200: a=60a=60, b=40b=40, c=30c=30. Find dd and the column 2 marginal total.

Example 4

easy
In a two-way table, the totals on the bottom and right edges are called what?

Example 5

easy
Boys total 3535, Girls total 4545, soccer total 4545, basketball total 3535. What is the grand total?

Example 6

medium
Movie Genre (Action/Comedy) by Age (Teen/Adult): Teens: 24 Action, 6 Comedy; Adults: 10 Action, 20 Comedy. Among Teens, what percent prefer Comedy?

Example 7

easy
A survey records 30 students. The two-way table has rows Kid/Adult and columns Likes Pizza/Dislikes Pizza. Kids: 12 like, 3 dislike. Adults: 9 like, 6 dislike. How many people are in the survey total?

Example 8

challenge
A table reports that aa+b=0.6\frac{a}{a+b}=0.6 for row 1 and the row-1 total a+b=50a+b=50. Cell aa is also 14\frac{1}{4} of the grand total. Find the grand total.

Example 9

medium
Table cells: a=18a=18, b=12b=12 (row 1), c=6c=6, d=24d=24 (row 2). What proportion of the data is in cell dd (joint relative frequency)?

Example 10

medium
From the Pass/Fail table (Studied-Yes: 28 Pass, 4 Fail; Studied-No: 6 Pass, 12 Fail), what fraction of ALL students both studied and passed?

Example 11

hard
A two-way table cross-classifies 300300 patients by Treatment (A/B) and Outcome (Cured/Not). Treatment A: 9090 cured, 3030 not. Treatment B: 6060 cured, 120120 not. Compute the cure rate for each treatment.

Example 12

hard
Two variables have joint relative frequency 0.30.3 in a cell and the row marginal proportion is 0.50.5. What is the conditional relative frequency within that row?

Example 13

medium
Survey of 80 people by Coffee (Yes/No) and Tea (Yes/No). Coffee-Yes/Tea-Yes =30=30, Coffee-Yes/Tea-No =20=20, Coffee-No/Tea-Yes =18=18, Coffee-No/Tea-No =12=12. How many drink coffee?

Example 14

medium
In a 2ร—22\times 2 table the row 1 marginal is 4040, row 2 is 6060, column 1 is 5050. If cell aa (row 1, col 1) is 2525, fill in the rest.

Example 15

medium
In the same Action/Comedy table, among Adults, what percent prefer Action?

Example 16

medium
If the two categorical variables in a two-way table are independent, conditional distributions of one given the other are all ____.

Example 17

medium
In a 2ร—32\times 3 table, the three column totals are 1515, 2525, and 2020, and one row total is 3636. What is the other row total?

Example 18

hard
From a 2ร—22\times 2 table with cells a=18,ย b=12,ย c=12,ย d=8a=18,\ b=12,\ c=12,\ d=8, is there an association between the row and column variables?

Example 19

medium
Joint distribution: (P(AโˆฉX),P(AโˆฉY),P(BโˆฉX),P(BโˆฉY))=(0.25,0.15,0.10,0.50)(P(A \cap X), P(A \cap Y), P(B \cap X), P(B \cap Y)) = (0.25, 0.15, 0.10, 0.50). Find P(A)P(A), the marginal probability for row A.

Example 20

easy
Adults: 9 like pizza, 6 dislike. What is the marginal total of Adults?