# Sample Tests for a Population Mean

## Large Sample Tests for a Population Proportion

#### LEARNING OBJECTIVES

- To learn how to apply the five-step critical value test procedure for test of hypotheses concerning a population proportion.
- To learn how to apply the five-step -value test procedure for test of hypotheses concerning a population proportion.

Both the critical value approach and the -value approach can be applied to test hypotheses about a population proportion . The null hypothesis will have the form for some specific number between and 1. The alternative hypothesis will be one of the three inequalities , , or for the same number that appears in the null hypothesis.

The information in Section 6.3 "The Sample Proportion" in Chapter 6 "Sampling Distributions" gives the following formula for the test statistic and its distribution. In the formula is the numerical value of that appears in the two hypotheses, is the sample proportion, and is the sample size. Remember that the condition that the sample be large is not that be at least 30 but that the interval

lie wholly within the interval .

Standardized Test Statistic for Large Sample Hypothesis Tests Concerning a Single Population Proportion

The test statistic has the standard normal distribution.

The distribution of the standardized test statistic and the corresponding rejection region for each form of the alternative hypothesis (left-tailed, right-tailed, or two-tailed), is shown in Figure 8.14 "Distribution of the Standardized Test Statistic and the Rejection Region".

*Figure 8.14 Distribution of the Standardized Test Statistic and the Rejection Region*

#### EXAMPLE 12

A soft drink maker claims that a majority of adults prefer its leading beverage over that of its main competitor's. To test this claim 500 randomly selected people were given the two beverages in random order to taste. Among them, 270 preferred the soft drink maker's brand, 211 preferred the competitor's brand, and 19 could not make up their minds. Determine whether there is sufficient evidence, at the 5% level of significance, to support the soft drink maker's claim against the default that the population is evenly split in its preference.

#### Solution:

We will use the critical value approach to perform the test. The same test will be performed using the -value approach in Note 8.49 "Example 14".

We must check that the sample is sufficiently large to validly perform the test. Since

and

so the sample is sufficiently large.

- Step 1. The relevant test is

where denotes the proportion of all adults who prefer the company's beverage over that of its competitor's beverage.

- Step 2. The test statistic is

and has the standard normal distribution.

- Step 3. The value of the test statistic is

- Step 4. Since the symbol in is "" this is a right-tailed test, so there is a single critical value, . Reading from the last line in Figure 12.3 "Critical Values of" its value is 1.645. The rejection region is .
- Step 5. As shown in Figure 8.15 "Rejection Region and Test Statistic for " the test statistic falls in the rejection region. The decision is to reject . In the context of the problem our conclusion is:

The data provide sufficient evidence, at the 5% level of significance, to conclude that a majority of adults prefer the company's beverage to that of their competitor's.

*Figure 8.15*

*Rejection Region and Test Statistic for Note 8.47 "Example 12"*

#### EXAMPLE 13

Globally the long-term proportion of newborns who are male is 51.46%. A researcher believes that the proportion of boys at birth changes under severe economic conditions. To test this belief randomly selected birth records of 5,000 babies born during a period of economic recession were examined. It was found in the sample that 52.55% of the newborns were boys. Determine whether there is sufficient evidence, at the 10% level of significance, to support the researcher's belief.

#### Solution:

We will use the critical value approach to perform the test. The same test will be performed using the -value approach in Note 8.50 "Example 15".

The sample is sufficiently large to validly perform the test since

hence

- Step 1. Let p be the true proportion of boys among all newborns during the recession period. The burden of proof is to show that severe economic conditions change it from the historic long-term value of 0.5146 rather than to show that it stays the same, so the hypothesis test is

- Step 2. The test statistic is

and has the standard normal distribution.

- Step 3. The value of the test statistic is

- Step 4. Since the symbol in is "" this is a two-tailed test, so there are a pair of critical values, . The rejection region is .
- Step 5. As shown in Figure 8.16 "Rejection Region and Test Statistic for " the test statistic does not fall in the rejection region. The decision is not to reject . In the context of the problem our conclusion is:

The data do not provide sufficient evidence, at the 10% level of significance, to conclude that the proportion of newborns who are male differs from the historic proportion in times of economic recession.

*Figure 8.16*

*Rejection Region and Test Statistic for Note 8.48 "Example 13"*

#### EXAMPLE 14

Perform the test of Note 8.47 "Example 12" using the -value approach.

#### Solution:

We already know that the sample size is sufficiently large to validly perform the test.

- Steps 1–3 of the five-step procedure described in Section 8.3.2 "The " have already been done in Note 8.47 "Example 12" so we will not repeat them here, but only say that we know that the test is right-tailed and that value of the test statistic is .
- Step 4. Since the test is right-tailed the -value is the area under the standard normal curve cut off by the observed test statistic, , as illustrated in Figure 8.17. By Figure 12.2 "Cumulative Normal Probability" that area and therefore the -value is .
- Step 5. Since the -value is less than the decision is to reject .

*Figure 8.17*

*-Value for Note 8.49 "Example 14"*

#### EXAMPLE 15

Perform the test of Note 8.48 "Example 13" using the -value approach.

#### Solution:

We already know that the sample size is sufficiently large to validly perform the test.

- Steps 1–3 of the five-step procedure described in Section 8.3.2 "The " have already been done in Note 8.48 "Example 13". They tell us that the test is two-tailed and that value of the test statistic is Z = 1.542.
- Step 4. Since the test is two-tailed the -value is the double of the area under the standard normal curve cut off by the observed test statistic, . By Figure 12.2 "Cumulative Normal Probability" that area is , as illustrated in Figure 8.18, hence the -value is .
- Step 5. Since the -value is greater than the decision is not to reject .

*Figure 8.18*

*-Value for Note 8.50 "Example 15"*