Two-Way Tables Math Example 2
Follow the full solution, then compare it with the other examples linked below.
Example 2
hardFrom a 2ร2 table: Group/Outcome frequencies: A-Success=40, A-Fail=10, B-Success=25, B-Fail=25. Test independence using the chi-square approach and calculate the relative risk.
Solution
- 1 Totals: A=50, B=50; Success=65, Fail=35; Grand=100
- 2 Expected: ; ; ;
- 3
- 4 Relative risk: ; Group A is 60% more likely to succeed
Answer
(df=1). Groups differ significantly. Relative risk = 1.6.
Two-way tables support both chi-square tests of independence and relative risk calculations. Relative risk (A's success rate / B's success rate) = 1.6 means Group A has 60% higher probability of success than Group B โ a directly interpretable effect measure.
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 1 medium
A two-way table shows: Smoker/Cancer=30, Smoker/No-Cancer=70, Non-smoker/Cancer=20, Non-smoker/No-Ca
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;