First, we need to find the test statistic. The test statistic for a proportion hypothesis test is given by the formula:
$$z = \frac{\hat{p} - p_0}{\sqrt{\frac{p_0(1-p_0)}{n}}}$$
where $\hat{p}$ is the sample proportion, $p_0$ is the null hypothesis proportion,
Show more…