Hypothesis Testing ( p)
The following four step procedure is the hypothesis testing procedure for p. It is similar to the procedure for my but, since it is based on the sampling distribution of p, it is different in several subtle ways. Since we have only discussed the sampling distribution of p for n large, our procedure will be for n large only.
Hypothesis Testing Procedure ( p )
To conduct a hypothesis test for p you will follow the following four step procedure:
e.g. Let us say that after examination of a problem statement you identify the null hypothesis to be p = m and you think that p > m, then you would state this as follows:
H0: p = m
Ha: p > m
Note: m may be expressed as either a percentage or a decimal.
Note: An inconsistent p means that your sample does not support your alternative and so you cannot proceed.
Note: The p-value is the proportion of samples of size n that would result in a sample proportion, p, more extreme than the one observed (given H0 true):
Since we assume H0 true then mp =p=m. Notice that assuming H0 true means that we can state sp exactly (i.e. we do not estimate it) since sp=sqrt(p(1-p)/n)=sqrt(m(1-m)/n). We can then compute z=(p - mp)/sp and determine the desired proportion (i.e. the p-value).
Problem:
The registrar claims that 75% of CTI graduates (class of 1999) received job offers prior to graduation. You disagree and believe that more CTI graduates received offers before graduating. You select a sample of 100 graduates and discover that 86 received offers before graduating. Conduct a test of hypotheses.
Solution:
Applying the four step procedure:
H0: p = 0.75
Ha: p > 0.75
n=100; p=86/100=0.86
Since p=0.86 then p>0.75 and so p is consistent and we may proceed.
mp=p=0.75; sp=sqrt(p(1-p)/n)=sqrt(0.75(1-0.75)/100)=0.0433; z=(0.86 - 0.75)/0.0433=2.54 hence from the standard normal table the desired proportion (i.e. the p-value) is (100-98.92)/2=0.54%.
Since the p-value is <= 1% then the p-value is highly significant and so we reject H0 and conclude that the population proportion is higher than claimed (i.e. p > 0.75).