Section 11.3 Hypothesis Test for one proportion
In this section, you will consider the following options for null hypothesis and corresponding alternate hypothesis with respect to the unknown value p:
or
or
For any given problem, we choose only one of these three options. The first is called a "two-tailed" test since the alternate hypothesis can not be equal if it is actually larger or smaller. The last two are called "one-tailed" tests since the alternate hypothesis only allows for being on one side. Note that some people will write all of these null hypothesis options using equality but the alternate hypothesis determines the number of tails.
From the Central Limit Theorem, you found that every interesting distribution eventually becomes approximately normal. This includes the binomial distribution with mean \(\mu = n p_0\) and variance \(\sigma^2 = n p_0 (1-p_0)\text{.}\) Hence, the z-statistic
is approximately standard normal and so probabilities on this statistic can be computed as needed using the normal distribution.
Let's look at an example for this by considering:
vs
Tests like this are called two-tailed since there are two ways to reject the null hypothesis: we find that p should be less than 0.2 or we find that p should be greater than 0.2.
To test our hypothesis, let's now chose a significance level of \(\alpha = 0.05\) and take a sample. Presuming we actually do this, let's assume that we find that out of n=100 sample values we get X = 27 successes. Hence, our actual test statistic is \(p = \frac{27}{100} = 0.27\text{.}\)
So, in this case we have
and the z-statistic (using the normal distribution) for the sample statistic of p = 0.27 is
Remember, the alternate hypothesis has two tails so to determine the P value we need to determine from the normal distribution
and find that this has probability approximately 0.0392 + 0.0392 = 0.0784. However, this P value is greater than our significance level \(\alpha = 0.05\) so we cannot reject the null hypothesis at the 5 percent significance level. However, if we had chosen initially to use a 10 percent significance level then we would have rejected the null hypothesis and accepted the alternate.
Checkpoint 11.3.1. WebWork - Two Tailed Test.
Next is a one-tailed test for p. Notice, in this case you will only compute z-score probability for one tail and not both tails.