Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Hypothesis Test for a Proportion


A hypothesis test may be performed for a population proportion pp. 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=poH_o:\ p=p_o

Ha: p>poH_a:\ p>p_o


Ho: p=poH_o:\ p=p_o

Ha: p<poH_a:\ p<p_o



Two-tail test:

Ho: p=poH_o:\ p=p_o

Ha: p≠poH_a:\ p\ne p_o






Step 3: Ensure the conditions are met.

  • Sample is randomly drawn and unbiased
  • npo⩾10np_o\geqslant10 and nqo⩾10nq_o\geqslant10 , where pop_o is the population proportion
  • The population size NN is at least 10 times the sample size nn


Step 4: If given significance level α\colorFour\alpha, find the corresponding critical value, z*

α=0.01,0.05,0.10\alpha=0.01,0.05,0.10


For a given choice of α\alpha, find the critical value z* from the z-table (or even the t-table).


Here is a helpful table:

Image illustrating Hypothesis Test for a Proportion




In order to reject HoH_o, the absolute value of the test statistic, ∣z∣\left|z\right|, needs to be greater than the critical value z*..


Finding the critical value using the z-table:


Image illustrating Hypothesis Test for a Proportion


Finding the critical value using the t-table:


Image illustrating Hypothesis Test for a Proportion


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



Image illustrating Hypothesis Test for a Proportion


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. α\alpha (or |z-stat| vs. |CV|)


Is the p-value smaller than α? →Reject Ho \alpha?\ \rightarrow Reject\ H_o\

Is the absolute value of the test statistic greater than CV? →Reject Ho CV?\ \rightarrow Reject\ H_o\



Is the p-value larger than α? →Fail to reject Ho \alpha?\ \rightarrow Fail\ to\ reject\ H_o\

Is the absolute value of the test statistic less than CV? →Fail to reject Ho CV?\ \rightarrow Fail\ to\ reject\ H_o\



Step 7: Draw your conclusion


If you reject Ho H_o\ , there is evidence to support Ha H_a\ .

If you fail to reject Ho H_o\ , there is no evidence to support Ha H_a\ .



Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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^=xn=2850=0.56\hat{p}=\frac{x}{n}=\frac{28}{50}=0.56


(a) State the hypotheses:


Ho: p=0.64H_o:\ p=0.64


Ho: p<0.64 (one sided test)H_o:\ p<0.64\ \left(one\ sided\ test\right)


(b) Given α=0.05\alpha=0.05, find the corresponding critical value, z*


Image illustrating Example


Image illustrating Example


(c) Run the test statistic:


z=p^−popoqon\displaystyle{z=\frac{\hat{p}-p_o}{\sqrt\frac{p_oq_o}{n}}}



z=0.56−0.64(0.64)(1−0.64)50=−1.17\displaystyle{}z=\frac{0.56-0.64}{\sqrt{\frac{\left(0.64\right)\left(1-0.64\right)}{50}}}=-1.17



(d) Solve for the p-value:


The p-value for P(Z<−1.17)=0.121P(Z<−1.17)=0.121(from the z-table).



(e) Make your decision:


i. Reject HoH_o

ii. Fail to reject HoH_o


Rule: The p-value needs to be smaller than the significance level α=0.05\alpha=0.05in order for you to reject Ho


p-value >α=0.05→ Fail to reject Ho>\alpha=0.05\rightarrow\ Fail\ to\ reject\ H_o


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|-1.17|<1.645\ \rightarrow\ Fail\ to\ reject\ H_o



(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 HoH_o, we conclude that there is no evidence that voter turnout in Ohio is lower than the average swing state.

Bettina, the general manager of Cornwall Steakhouse, trained her service staff to suggest wine with their customers’ meals. Last month, 55% of customers ordered wine with their meal. A month following the training, she randomly selected 38 receipts. Twenty-six of them included wine sales. Is there evidence that the proportion of customers ordering wine with their meals had increased?


(i) Select the correct hypotheses.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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\alpha=0.05.


Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice