Becky's statistics teacher was teaching the class how to perform the z-test for a proportion. Becky was bored because she had al
ready mastered the test, so she decided to see if the coin she had in her pocket would come up heads or tails in a truly random fashion when flipped. She discretely flipped the coin 30 times and got heads 18 times. Becky conducts a one-proportion hypothesis test at the 5% significance level, to test whether the true proportion of heads is different from 50%. Which answer choice shows the correct null and alternative hypotheses for this test?
The test if the true proportion of heads is different from 50%; this means the initial truth, that is the true proportion is 50% ; which is the null ;
H0 : p = 0.5
The researcher intends to test if the true proportion is not 50% ; that is the researcher is n spwcudfic about if the proportion is lower or higher, he just wants to test that the proportion is different, hence the test could go either way ;
Alternative hypothesis ;
H1 : p ≠ 0.5
Since the sign in the alternative hypothesis could be in either direction, then we have a two tailed test