# 8.2: Testing a Proportion Hypothesis

**At Grade**Created by: CK-12

## Learning Objectives

- Test a hypothesis about a population proportion by applying the binomial distribution approximation.
- Test a hypothesis about a population proportion using the -value.

## Introduction

In the previous section, we studied the test statistic that is used when you are testing hypotheses about the mean of a population and you have a large sample .

In addition to the mean, statisticians are often interested in making inferences about a population proportion. For example, when we look at election results, we often look at the proportion of people who vote and who these voters choose. Typically, we call these proportions percentages, and we would say something like, “Approximately 68 percent of the population voted in this election, and 48 percent of these voters voted for Barack Obama.”

So how do we test hypotheses about proportions? We use the same process as we did when testing hypotheses about means, but we must include sample proportions as part of the analysis. This lesson will address how we investigate hypotheses around population proportions and how to construct confidence intervals around our results.

### Hypothesis Testing about Population Proportions by Applying the Binomial Distribution Approximation

We could perform tests of population proportions to answer the following questions:

- What percentage of graduating seniors will attend a 4-year college?
- What proportion of voters will vote for John McCain?
- What percentage of people will choose Diet Pepsi over Diet Coke?

To test questions like these, we make hypotheses about population proportions. For example, here are some hypotheses we could make:

of graduating seniors will attend a 4-year college.

of voters will vote for John McCain.

of people will choose Diet Pepsi over Diet Coke.

To test these hypotheses, we follow a series of steps:

- Hypothesize a value for the population proportion, , like we did above.
- Randomly select a sample.
- Use the sample proportion, , to test the stated hypothesis.

To determine the test statistic, we need to know the sampling distribution of the sample proportions. We use the binomial distribution, which is appropriate for situations in which two outcomes are possible (for example, voting for a candidate and not voting for a candidate), remembering that when the sample size is relatively large, we can use the normal distribution to approximate the binomial distribution. Therefore, the test statistic can be calculated as follows:

where:

is the sample proportion.

is the hypothesized value of the proportion under the null hypothesis.

is the sample size.

*Example:* We want to test a hypothesis that 60 percent of the 400 seniors graduating from a certain California high school will enroll in a two- or four-year college upon graduation. What would be our hypotheses and test statistic?

Since we want to test the proportion of graduating seniors, and we think that proportion is around 60 percent, our hypotheses are:

Also, the test statistic would be . To complete this calculation, we would have to have a value for the sample proportion.

### Testing a Proportion Hypothesis

Similar to testing hypotheses dealing with population means, we use a similar set of steps when testing proportion hypotheses.

- Determine and state the null and alternative hypotheses.
- Set the criterion for rejecting the null hypothesis.
- Calculate the test statistic.
- Decide whether to reject or fail to reject the null hypothesis.
- Interpret the decision within the context of the problem.

*Example:* A congressman is trying to decide on whether to vote for a bill that would legalize gay marriage. He will decide to vote for the bill only if 70 percent of his constituents favor the bill. In a survey of 300 randomly selected voters, 224 (74.6%) indicated that they would favor the bill. Should he or should he not vote for the bill?

First, we develop our null and alternative hypotheses:

Next, we set the criterion for rejecting the null hypothesis. Choose , and since the alternative hypothesis is , make this a one-tailed test. Using a standard -table or the TI-83/84 calculator, we find the critical value for a one-tailed test at an alpha level of 0.05 to be 1.645.

Finally, the test statistic is .

Since our critical value is 1.645 and our test statistic is 1.51, we cannot reject the null hypothesis. This means that we cannot conclude that the population proportion is greater than 0.70 with 95 percent certainty. In other words, given this information, it is not safe to conclude that at least 70 percent of the voters would favor this bill with any degree of certainty. Even though the proportion of voters supporting the bill is over 70 percent, this could be due to chance and is not statistically significant.

*Example:* Admission staff from a local university are conducting a survey to determine the proportion of incoming freshman who will need financial aid. A survey on housing needs, financial aid, and academic interests is collected from 400 of the incoming freshman. Staff hypothesized that 30 percent of freshman will need financial aid, and the sample from the survey indicated that 101 (25.3%) would need financial aid. Is 30 percent an accurate guess?

First, we develop our null and alternative hypotheses:

Next, we set the criterion for rejecting the null hypothesis. The 0.05 alpha level is used, and for a two-tailed test, the critical values of the test statistic are 1.96 and .

Finally, the test statistic can be calculated as follows:

Since our critical values are , and since , we can reject the null hypothesis. This means that we can conclude that the population of freshman needing financial aid is significantly more or less than 30 percent. Since the test statistic is negative, we can conclude with 95% certainty that in the population of incoming freshman, less than 30 percent of the students will need financial aid.

## Lesson Summary

In statistics, we also make inferences about proportions of a population. We use the same process as in testing hypotheses about means of populations, but we must include hypotheses about proportions and the proportions of the sample in the analysis. To calculate the test statistic needed to evaluate the population proportion hypothesis, we must also calculate the standard error of the proportion, which is defined as .

The formula for calculating the test statistic for a population proportion is as follows:

where:

is the sample proportion.

is the hypothesized population proportion.

is the sample size.

We establish critical regions based on level of significance, or level. If the value of the test statistic falls in one of these critical regions, we make the decision to reject the null hypothesis.

## Multimedia Links

For an explanation on finding the mean and standard deviation of a sampling proportion distribution, and on the normal approximation to a binomial distribution **(7.0)(9.0)(15.0)(16.0)**, see American Public University, Sampling Distribution of Sample Proportion (8:24).

For a calculation of the -statistic and associated -value for a 1-proportion test **(18.0)**, see kbower50, Test of 1 Proportion: Worked Example (3:51).

## Review Questions

- The test statistic helps us determine ___.
- True or false: In statistics, we are able to study and make inferences about proportions, or percentages, of a population.
- A state senator cannot decide how to vote on an environmental protection bill. The senator decides to request her own survey, and if the proportion of registered voters supporting the bill exceeds 0.60, she will vote for it. A random sample of 750 voters is selected, and 495 are found to support the bill.
- What are the null and alternative hypotheses for this problem?
- What is the observed value of the sample proportion?
- What is the standard error of the proportion?
- What is the test statistic for this scenario?
- What decision would you make about the null hypothesis if you had an alpha level of 0.01?