"A group of test subjects are split into two groups. 1000 people are given a vaccine, and 15 of them get the disease. 800 people are given a placebo, and 60 of them get the disease. Test the hypothesis that the vaccine is effective at $\alpha = 0.05$."
I know that I am supposed to be testing $H_0: \mu_1 = \mu_2$ vs. $H_1: \mu_1 < \mu_2$. I think, but need clarification, that the formula I need for the test is
$$z = \frac{p_1 - p_2}{\sqrt{p(1-p)\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}}$$
where
$$p = \frac{x_1 + x_2}{n_1 + n_2}$$
Is this correct? If so, I just plug in $p_1 = \frac{15}{1000}$, $p_2 = \frac{60}{800}$, $n_1 = 800$, $n_2 = 1000$, and $p = \frac{15 + 60}{800 + 1000}$, then compare $z$ to $z_{0.05}$. Correct?