## Sample Tests for a Population Mean

This section talks about using the central limit theorem to test a population mean when the sample size is large. It also addresses how to interpret the test results in the application background. Then, it discusses testing a population mean when the sample size is small, outlines a five-step testing procedure, and illustrates the procedure with an example. Study the example carefully and complete the relevant exercises and applications. Finally, it talks about large sample tests for a population proportion. The critical value and p-value approach are introduced based on a standardized test statistic.

### Large Sample Tests for a Population Mean

In this section we describe and demonstrate the procedure for conducting a test of hypotheses about the mean of a population in the case that the sample size is at least 30. The Central Limit Theorem states that is approximately normally distributed, and has mean and standard deviation , where and are the mean and the standard deviation of the population. This implies that the statistic

has the standard normal distribution, which means that probabilities related to it are given in Figure 12.2 "Cumulative Normal Probability" and the last line in Figure 12.3 "Critical Values of".

If we know then the statistic in the display is our test statistic. If, as is typically the case, we do not know , then we replace it by the sample standard deviation . Since the sample is large the resulting test statistic still has a distribution that is approximately standard normal.

Standardized Test Statistics for Large Sample Hypothesis Tests Concerning a Single Population Mean

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.4 "Distribution of the Standardized Test Statistic and the Rejection Region".

Figure 8.4 Distribution of the Standardized Test Statistic and the Rejection Region

#### EXAMPLE 4

It is hoped that a newly developed pain reliever will more quickly produce perceptible reduction in pain to patients after minor surgeries than a standard pain reliever. The standard pain reliever is known to bring relief in an average of 3.5 minutes with standard deviation 2.1 minutes. To test whether the new pain reliever works more quickly than the standard one, 50 patients with minor surgeries were given the new pain reliever and their times to relief were recorded. The experiment yielded sample mean minutes and sample standard deviation minutes. Is there sufficient evidence in the sample to indicate, at the 5% level of significance, that the newly developed pain reliever does deliver perceptible relief more quickly?

#### Solution:

We perform the test of hypotheses using the five-step procedure given at the end of Section 8.1 "The Elements of Hypothesis Testing".

- Step 1. The natural assumption is that the new drug is no better than the old one, but must be proved to be better. Thus if denotes the average time until all patients who are given the new drug experience pain relief, the hypothesis test is

- Step 2. The sample is large, but the population standard deviation is unknown (the 2.1 minutes pertains to the old drug, not the new one). Thus the test statistic is

and has the standard normal distribution.

- Step 3. Inserting the data into the formula for the test statistic gives

- Step 4. Since the symbol in is "<" this is a left-tailed test, so there is a single critical value, , which from the last line in Figure 12.3 "Critical Values of " we read off as . The rejection region is .
- Step 5. As shown in Figure 8.5 "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 the average time until patients experience perceptible relief from pain using the new pain reliever is smaller than the average time for the standard pain reliever.

*Figure 8.5*

*Rejection Region and Test Statistic for Note 8.27 "Example 4"*

#### EXAMPLE 5

A cosmetics company fills its best-selling 8-ounce jars of facial cream by an automatic dispensing machine. The machine is set to dispense a mean of 8.1 ounces per jar. Uncontrollable factors in the process can shift the mean away from 8.1 and cause either underfill or overfill, both of which are undesirable. In such a case the dispensing machine is stopped and recalibrated. Regardless of the mean amount dispensed, the standard deviation of the amount dispensed always has value 0.22 ounce. A quality control engineer routinely selects 30 jars from the assembly line to check the amounts filled. On one occasion, the sample mean is ounces and the sample standard deviation is ounce. Determine if there is sufficient evidence in the sample to indicate, at the 1% level of significance, that the machine should be recalibrated.

#### Solution:

- Step 1. The natural assumption is that the machine is working properly. Thus if denotes the mean amount of facial cream being dispensed, the hypothesis test is

- Step 2. The sample is large and the population standard deviation is known. Thus the test statistic is

and has the standard normal distribution.

- Step 3. Inserting the data into the formula for the test statistic gives

- Step 4. Since the symbol in is " " this is a two-tailed test, so there are two critical values, , which from the last line in Figure 12.3 "Critical Values of " we read off as The rejection region is .

- Step 5. As shown in Figure 8.6 "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 1% level of significance, to conclude that the average amount of product dispensed is different from 8.1 ounce. We conclude that the machine does not need to be recalibrated.

*Figure 8.6*

*Rejection Region and Test Statistic for Note 8.28 "Example 5"*

This text was adapted by Saylor Academy under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License without attribution as requested by the work's original creator or licensor.