Step 1 :Step 1: Calculate the pooled proportion: \( p \) = \( \frac{x_1 + x_2}{n_1 + n_2} \)
Step 2 :Step 2: Compute the standard error: \( SE = \sqrt{\frac{p(1 - p)}{n_1} + \frac{p(1 - p)}{n_2}} \)
Step 3 :Step 3: Find the test statistic: \( Z = \frac{\hat{p}_1 - \hat{p}_2}{SE} \)