Two-Way Tables Math Example 1
Follow the full solution, then compare it with the other examples linked below.
Example 1
mediumA two-way table shows: Smoker/Cancer=30, Smoker/No-Cancer=70, Non-smoker/Cancer=20, Non-smoker/No-Cancer=180. Calculate marginal and joint proportions, and find P(Cancer|Smoker) vs P(Cancer|Non-smoker).
Solution
- 1 Total: 300 people; Smokers=100, Non-smokers=200
- 2 Joint:
- 3 Marginal: ;
- 4 ;
Answer
vs. . Smokers have 3ร higher cancer rate.
Two-way tables organize joint and conditional probabilities. Marginal probabilities are row/column totals divided by grand total. Conditional probabilities are cell frequencies divided by row (or column) totals. Comparing P(Cancer|Smoker) to P(Cancer|Non-smoker) reveals the association.
About Two-Way Tables
A table that displays frequencies for two categorical variables simultaneously, organized with one variable in rows and the other in columns. It shows joint frequencies (individual cells), marginal frequencies (row/column totals), and enables calculation of conditional frequencies.
Learn more about Two-Way Tables โMore Two-Way Tables Examples
Example 2 hard
From a 2ร2 table: Group/Outcome frequencies: A-Success=40, A-Fail=10, B-Success=25, B-Fail=25. Test
Example 3 easyA two-way table: Left-handed/Male=12, Left-handed/Female=8, Right-handed/Male=88, Right-handed/Femal
Example 4 hardConstruct a two-way table from this information: 200 students surveyed; 120 prefer online learning;