Question: how to do a z test?
Answer: State the null hypothesis and alternate hypothesis. Choose an alpha level. Find the critical value of z in a z table. Calculate the z test statistic (see below). Compare the test statistic to the critical z value and decide if you should support or reject the null hypothesis.