Statistics · Chi-square tests
Two tests that look nothing alike, the two-proportion z and the 2 × 2 χ², always reach the same p-value, and the algebra shows why.