Independent Samples Z-Test - Comparing Two Proportions (Un-Pooled)

From Q
Jump to: navigation, search

Where g_1 and g_2 are the two proportions and n_1 and n_2 are the sample sizes:

z=\frac{g_1-g_2}{\sqrt{\frac{g_1(1-g_1)}{n_1} + \frac{g_2(1-g_2)}{n_2}}}

where p = 2(1-\Phi(|z|)).