Hypothesis Test for a Proportion

Hypothesis Test for a Proportion
A hypothesis test may be performed for a population proportion p. Be sure to review the hypothesis test steps before studying this section. For proportions we are doing a z-test!
Step 1: Identify that this is a proportion z-test!
A proportion pertains to a percentage or a fraction of the population.
Step 2: State the Hypothesis
One-tail tests:
Ho: p=po
Ha: p>po
Ho: p=po
Ha: p<po
Two-tail test:
Ho: p=po
Ha: p=po
Step 3: Ensure the conditions are met.
- Sample is randomly drawn and unbiased
- npo⩾10 and nqo⩾10 , where po is the population proportion
- The population size N is at least 10 times the sample size n
Step 4: If given significance level α, find the corresponding critical value, z*
α=0.01,0.05,0.10
For a given choice of α, find the critical value z* from the z-table (or even the t-table).
Here is a helpful table:

In order to reject Ho, the absolute value of the test statistic, ∣z∣, needs to be greater than the critical value z*..
Finding the critical value using the z-table:

Finding the critical value using the t-table:

Step 5: Run the test statistic (z-score) and find the p-value:

Based on your z-score, you can find the p-value in the z-table.
Step 6: Make your decision based on the p-value vs. α (or |z-stat| vs. |CV|)
Is the p-value smaller than α? →Reject Ho
Is the absolute value of the test statistic greater than CV? →Reject Ho
Is the p-value larger than α? →Fail to reject Ho
Is the absolute value of the test statistic less than CV? →Fail to reject Ho
Step 7: Draw your conclusion
If you reject Ho , there is evidence to support Ha .
If you fail to reject Ho , there is no evidence to support Ha .

Example: Hypothesis Test for a Proportion
A survey finds that 64% of Americans in swing states vote for the federal election. We take a random sample of 50 citizens from Ohio, a swing state, and find that 28 of them voted in the 2012 federal election. Is there evidence that voter turnout in Ohio is lower than the average swing state, at the 5% significance level?
p^=nx=5028=0.56
(a) State the hypotheses:
Ho: p=0.64
Ho: p<0.64 (one sided test)
(b) Given α=0.05, find the corresponding critical value, z*

(c) Run the test statistic:
z=npoqop^−po
z=50(0.64)(1−0.64)0.56−0.64=−1.17
(d) Solve for the p-value:
The p-value for P(Z<−1.17)=0.121(from the z-table).
(e) Make your decision:
i. Reject Ho
ii. Fail to reject Ho
Rule: The p-value needs to be smaller than the significance level α=0.05in order for you to reject Ho
p-value >α=0.05→ Fail to reject Ho
OR
The absolute value of the test statistic, |z|, needs to be greater than critical value z* in order for you to reject Ho
∣−1.17∣<1.645 → Fail to reject Ho
(f) Draw your conclusion:
We conclude that there is/is no evidence that voter turnout in Ohio is lower than the average swing state.
Since we fail to reject Ho, we conclude that there is no evidence that voter turnout in Ohio is lower than the average swing state.
In 2006, it was reported that only 40% of students at the university ask questions in lectures. It is believed that this percentage has changed. You randomly sampled 80 students and asked them "Have you ever asked a question in a lecture?" Twenty-four of them responded "Yes". There are 20,386 students at the university.
(i) Find the critical value for a significance level of α=0.05.
(ii) Which of the condition(s) are met? (Check all that applies.)
(iii) What is the p-value?
(iv) Select the correct conclusion.