1. Test a balanced 2×2 table
Research analystBackground
An analyst wants to test whether two binary categories are independent in a table with balanced diagonal and off-diagonal counts.
Problem
Determine statistical significance and summarize the strength and cell-level pattern of association.
How to use
Enter `30, 20` on the first line and `20, 30` on the second line. Leave Yates correction on Auto, set α to 0.05, and leave Chapman disabled.
{"table":"30, 20\n20, 30","yates":"auto","alpha":0.05,"chapman":false}Outcome
The result is χ² = 4 with p = 0.0455, significant at α = 0.05. Yates χ² is 3.24, the G-test is 4.0271, Cramér's V is 0.2, and adjusted residuals are ±2.