This is “Large Sample Tests for a Population Mean”, section 8.2 from the book Beginning Statistics (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

## 8.2 Large Sample Tests for a Population Mean

### Learning Objectives

1. To learn how to apply the five-step test procedure for a test of hypotheses concerning a population mean when the sample size is large.
2. To learn how to interpret the result of a test of hypotheses in the context of the original narrated situation.

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 n is at least 30. The Central Limit Theorem states that $X-$ is approximately normally distributed, and has mean $μX-=μ$ and standard deviation $σX-=σ∕n$, where μ and σ are the mean and the standard deviation of the population. This implies that the statistic

$x-−μσ∕n$

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 s. 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

$If σ is known: Z=x-−μ0σ∕n If σ is unknown: Z=x-−μ0s∕n$

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 $x-=3.1$ minutes and sample standard deviation s = 1.5 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

$H0:μ=3.5 vs. Ha:μ<3.5@ α=0.05$
• 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

$Z=x-−μ0s∕n$

and has the standard normal distribution.

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

$Z=x-−μ0s∕n=3.1−3.51.5∕50=−1.886$
• Step 4. Since the symbol in Ha is “<” this is a left-tailed test, so there is a single critical value, $−zα=−z0.05$, which from the last line in Figure 12.3 "Critical Values of " we read off as −1.645. The rejection region is $(−∞,−1.645].$
• 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 H0. 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 $x-=8.2$ ounces and the sample standard deviation is s = 0.25 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

$H0:μ=8.1 vs. Ha:μ≠8.1@ α=0.01$
• Step 2. The sample is large and the population standard deviation is known. Thus the test statistic is

$Z=x-−μ0σ∕n$

and has the standard normal distribution.

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

$Z=x-−μ0σ∕n=8.2−8.10.22∕30=2.490$
• Step 4. Since the symbol in Ha is “≠” this is a two-tailed test, so there are two critical values, $±zα∕2=±z0.005$, which from the last line in Figure 12.3 "Critical Values of " we read off as $±2.576.$ The rejection region is $(−∞,−2.576]∪[2.576,∞).$
• 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 H0. 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"

### Key Takeaways

• There are two formulas for the test statistic in testing hypotheses about a population mean with large samples. Both test statistics follow the standard normal distribution.
• The population standard deviation is used if it is known, otherwise the sample standard deviation is used.
• The same five-step procedure is used with either test statistic.

### Basic

1. Find the rejection region (for the standardized test statistic) for each hypothesis test.

1. $H0:μ=27$ vs. $Ha:μ<27$ @ $α=0.05.$
2. $H0:μ=52$ vs. $Ha:μ≠52$ @ $α=0.05.$
3. $H0:μ=−105$ vs. $Ha:μ>−105$ @ $α=0.10.$
4. $H0:μ=78.8$ vs. $Ha:μ≠78.8$ @ $α=0.10.$
2. Find the rejection region (for the standardized test statistic) for each hypothesis test.

1. $H0:μ=17$ vs. $Ha:μ<17$ @ $α=0.01.$
2. $H0:μ=880$ vs. $Ha:μ≠880$ @ $α=0.01.$
3. $H0:μ=−12$ vs. $Ha:μ>−12$ @ $α=0.05.$
4. $H0:μ=21.1$ vs. $Ha:μ≠21.1$@ $α=0.05.$
3. Find the rejection region (for the standardized test statistic) for each hypothesis test. Identify the test as left-tailed, right-tailed, or two-tailed.

1. $H0:μ=141$ vs. $Ha:μ<141$ @ $α=0.20.$
2. $H0:μ=−54$ vs. $Ha:μ<−54$ @ $α=0.05.$
3. $H0:μ=98.6$ vs. $Ha:μ≠98.6$ @ $α=0.05.$
4. $H0:μ=3.8$ vs. $Ha:μ>3.8$ @ $α=0.001.$
4. Find the rejection region (for the standardized test statistic) for each hypothesis test. Identify the test as left-tailed, right-tailed, or two-tailed.

1. $H0:μ=−62$ vs. $Ha:μ≠−62$ @ $α=0.005.$
2. $H0:μ=73$ vs. $Ha:μ>73$ @ $α=0.001.$
3. $H0:μ=1124$ vs. $Ha:μ<1124$ @ $α=0.001.$
4. $H0:μ=0.12$ vs. $Ha:μ≠0.12$ @ $α=0.001.$
5. Compute the value of the test statistic for the indicated test, based on the information given.

1. Testing $H0:μ=72.2$ vs. $Ha:μ>72.2$, σ unknown, n = 55, $x-=75.1$, s = 9.25
2. Testing $H0:μ=58$ vs. $Ha:μ>58$, σ = 1.22, n = 40, $x-=58.5$, s = 1.29
3. Testing $H0:μ=−19.5$ vs. $Ha:μ<−19.5$, σ unknown, n = 30, $x-=−23.2$, s = 9.55
4. Testing $H0:μ=805$ vs. $Ha:μ≠805$, σ = 37.5, n = 75, $x-=818$, s = 36.2
6. Compute the value of the test statistic for the indicated test, based on the information given.

1. Testing $H0:μ=342$ vs. $Ha:μ<342$, σ = 11.2, n = 40, $x-=339$, s = 10.3
2. Testing $H0:μ=105$ vs. $Ha:μ>105$, σ = 5.3, n = 80, $x-=107$, s = 5.1
3. Testing $H0:μ=−13.5$ vs. $Ha:μ≠−13.5$, σ unknown, n = 32, $x-=−13.8$, s = 1.5
4. Testing $H0:μ=28$ vs. $Ha:μ≠28$, σ unknown, n = 68, $x-=27.8$, s = 1.3
7. Perform the indicated test of hypotheses, based on the information given.

1. Test $H0:μ=212$ vs. $Ha:μ<212$ @ $α=0.10$, σ unknown, n = 36, $x-=211.2$, s = 2.2
2. Test $H0:μ=−18$ vs. $Ha:μ>−18$ @ $α=0.05$, σ = 3.3, n = 44, $x-=−17.2$, s = 3.1
3. Test $H0:μ=24$ vs. $Ha:μ≠24$ @ $α=0.02$, σ unknown, n = 50, $x-=22.8$, s = 1.9
8. Perform the indicated test of hypotheses, based on the information given.

1. Test $H0:μ=105$ vs. $Ha:μ>105$ @ $α=0.05$, σ unknown, n = 30, $x-=108$, s = 7.2
2. Test $H0:μ=21.6$ vs. $Ha:μ<21.6$ @ $α=0.01$, σ unknown, n = 78, $x-=20.5$, s = 3.9
3. Test $H0:μ=−375$ vs. $Ha:μ≠−375$ @ $α=0.01$, σ = 18.5, n = 31, $x-=−388$, s = 18.0

### Applications

1. In the past the average length of an outgoing telephone call from a business office has been 143 seconds. A manager wishes to check whether that average has decreased after the introduction of policy changes. A sample of 100 telephone calls produced a mean of 133 seconds, with a standard deviation of 35 seconds. Perform the relevant test at the 1% level of significance.

2. The government of an impoverished country reports the mean age at death among those who have survived to adulthood as 66.2 years. A relief agency examines 30 randomly selected deaths and obtains a mean of 62.3 years with standard deviation 8.1 years. Test whether the agency’s data support the alternative hypothesis, at the 1% level of significance, that the population mean is less than 66.2.

3. The average household size in a certain region several years ago was 3.14 persons. A sociologist wishes to test, at the 5% level of significance, whether it is different now. Perform the test using the information collected by the sociologist: in a random sample of 75 households, the average size was 2.98 persons, with sample standard deviation 0.82 person.

4. The recommended daily calorie intake for teenage girls is 2,200 calories/day. A nutritionist at a state university believes the average daily caloric intake of girls in that state to be lower. Test that hypothesis, at the 5% level of significance, against the null hypothesis that the population average is 2,200 calories/day using the following sample data: n = 36, $x-= 2,150$, s = 203.

5. An automobile manufacturer recommends oil change intervals of 3,000 miles. To compare actual intervals to the recommendation, the company randomly samples records of 50 oil changes at service facilities and obtains sample mean 3,752 miles with sample standard deviation 638 miles. Determine whether the data provide sufficient evidence, at the 5% level of significance, that the population mean interval between oil changes exceeds 3,000 miles.

6. A medical laboratory claims that the mean turn-around time for performance of a battery of tests on blood samples is 1.88 business days. The manager of a large medical practice believes that the actual mean is larger. A random sample of 45 blood samples yielded mean 2.09 and sample standard deviation 0.13 day. Perform the relevant test at the 10% level of significance, using these data.

7. A grocery store chain has as one standard of service that the mean time customers wait in line to begin checking out not exceed 2 minutes. To verify the performance of a store the company measures the waiting time in 30 instances, obtaining mean time 2.17 minutes with standard deviation 0.46 minute. Use these data to test the null hypothesis that the mean waiting time is 2 minutes versus the alternative that it exceeds 2 minutes, at the 10% level of significance.

8. A magazine publisher tells potential advertisers that the mean household income of its regular readership is $61,500. An advertising agency wishes to test this claim against the alternative that the mean is smaller. A sample of 40 randomly selected regular readers yields mean income$59,800 with standard deviation $5,850. Perform the relevant test at the 1% level of significance. 9. Authors of a computer algebra system wish to compare the speed of a new computational algorithm to the currently implemented algorithm. They apply the new algorithm to 50 standard problems; it averages 8.16 seconds with standard deviation 0.17 second. The current algorithm averages 8.21 seconds on such problems. Test, at the 1% level of significance, the alternative hypothesis that the new algorithm has a lower average time than the current algorithm. 10. A random sample of the starting salaries of 35 randomly selected graduates with bachelor’s degrees last year gave sample mean and standard deviation$41,202 and $7,621, respectively. Test whether the data provide sufficient evidence, at the 5% level of significance, to conclude that the mean starting salary of all graduates last year is less than the mean of all graduates two years before,$43,589.

### Additional Exercises

1. The mean household income in a region served by a chain of clothing stores is $48,750. In a sample of 40 customers taken at various stores the mean income of the customers was$51,505 with standard deviation $6,852. 1. Test at the 10% level of significance the null hypothesis that the mean household income of customers of the chain is$48,750 against that alternative that it is different from $48,750. 2. The sample mean is greater than$48,750, suggesting that the actual mean of people who patronize this store is greater than \$48,750. Perform this test, also at the 10% level of significance. (The computation of the test statistic done in part (a) still applies here.)
2. The labor charge for repairs at an automobile service center are based on a standard time specified for each type of repair. The time specified for replacement of universal joint in a drive shaft is one hour. The manager reviews a sample of 30 such repairs. The average of the actual repair times is 0.86 hour with standard deviation 0.32 hour.

1. Test at the 1% level of significance the null hypothesis that the actual mean time for this repair differs from one hour.
2. The sample mean is less than one hour, suggesting that the mean actual time for this repair is less than one hour. Perform this test, also at the 1% level of significance. (The computation of the test statistic done in part (a) still applies here.)

### Large Data Set Exercises

1. Large Data Set 1 records the SAT scores of 1,000 students. Regarding it as a random sample of all high school students, use it to test the hypothesis that the population mean exceeds 1,510, at the 1% level of significance. (The null hypothesis is that μ = 1510.)

http://www.flatworldknowledge.com/sites/all/files/data1.xls

2. Large Data Set 1 records the GPAs of 1,000 college students. Regarding it as a random sample of all college students, use it to test the hypothesis that the population mean is less than 2.50, at the 10% level of significance. (The null hypothesis is that μ = 2.50.)

http://www.flatworldknowledge.com/sites/all/files/data1.xls

3. Large Data Set 1 lists the SAT scores of 1,000 students.

http://www.flatworldknowledge.com/sites/all/files/data1.xls

1. Regard the data as arising from a census of all students at a high school, in which the SAT score of every student was measured. Compute the population mean μ.
2. Regard the first 50 students in the data set as a random sample drawn from the population of part (a) and use it to test the hypothesis that the population mean exceeds 1,510, at the 10% level of significance. (The null hypothesis is that μ = 1510.)
3. Is your conclusion in part (b) in agreement with the true state of nature (which by part (a) you know), or is your decision in error? If your decision is in error, is it a Type I error or a Type II error?
4. Large Data Set 1 lists the GPAs of 1,000 students.

http://www.flatworldknowledge.com/sites/all/files/data1.xls

1. Regard the data as arising from a census of all freshman at a small college at the end of their first academic year of college study, in which the GPA of every such person was measured. Compute the population mean μ.
2. Regard the first 50 students in the data set as a random sample drawn from the population of part (a) and use it to test the hypothesis that the population mean is less than 2.50, at the 10% level of significance. (The null hypothesis is that μ = 2.50.)
3. Is your conclusion in part (b) in agreement with the true state of nature (which by part (a) you know), or is your decision in error? If your decision is in error, is it a Type I error or a Type II error?

### Answers

1. $Z≤−1.645$
2. $Z≤−1.96$ or Z ≥ 1.96
3. Z ≥ 1.28
4. $Z≤−1.645$ or Z ≥ 1.645
1. $Z≤−0.84$
2. $Z≤−1.645$
3. $Z≤−1.96$ or Z ≥ 1.96
4. Z ≥ 3.1
1. Z = 2.235
2. Z = 2.592
3. $Z=−2.122$
4. Z = 3.002
1. $Z=−2.18$, $−z0.10=−1.28$, reject H0.
2. Z = 1.61, $z0.05=1.645$, do not reject H0.
3. $Z=−4.47$, $−z0.01=−2.33$, reject H0.
1. $Z=−2.86$, $−z0.01=−2.33$, reject H0.

2. $Z=−1.69$, $−z0.025=−1.96$, do not reject H0.

3. Z = 8.33, $z0.05=1.645$, reject H0.

4. Z = 2.02, $z0.10=1.28$, reject H0.

5. $Z=−2.08$, $−z0.01=−2.33$, do not reject H0.

1. Z = 2.54, $z0.05=1.645$, reject H0;
2. Z = 2.54, $z0.10=1.28$, reject H0.
1. $H0:μ=1510$ vs. $Ha:μ>1510.$ Test Statistic: Z = 2.7882. Rejection Region: $[2.33,∞).$ Decision: Reject H0.

1. $μ0=1528.74$
2. $H0:μ=1510$ vs. $Ha:μ>1510.$ Test Statistic: $Z=−1.41.$ Rejection Region: $[1.28,∞).$ Decision: Fail to reject H0.
3. No, it is a Type II error.