Statistics · Chi-square tests

Why a 2 × 2 chi-square equals z²

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.