Consider testing the hypotheses
$H_0: p_1 = p_2$ versus $H_a: p_1 \neq p_2$
given that $x_1 = 107$, $n_1 = 477$, $x_2 = 84$, $n_2 = 336$, and the level of confidence $\alpha = 0.05$.
A. Find point estimates of the population proportions for each sample.
$\hat{p_1} = $
$\hat{p_2} = $
Round to 4 decimal places
B. Find the test statistic.
$z = $
Round to 4 decimal places
C. Find the P-value.
P-value =
Round to 4 decimal places