This is “Small Sample Tests for a Population Mean”, section 8.4 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.
In the previous section hypotheses testing for population means was described in the case of large samples. The statistical validity of the tests was insured by the Central Limit Theorem, with essentially no assumptions on the distribution of the population. When sample sizes are small, as is often the case in practice, the Central Limit Theorem does not apply. One must then impose stricter assumptions on the population to give statistical validity to the test procedure. One common assumption is that the population from which the sample is taken has a normal probability distribution to begin with. Under such circumstances, if the population standard deviation is known, then the test statistic $\left(\stackrel{-}{x}-{\mathit{\mu}}_{0}\right)\u2215\left(\mathit{\sigma}\u2215\sqrt{n}\right)$ still has the standard normal distribution, as in the previous two sections. If σ is unknown and is approximated by the sample standard deviation s, then the resulting test statistic $\left(\stackrel{-}{x}-{\mathit{\mu}}_{0}\right)\u2215\left(s\u2215\sqrt{n}\right)$ follows Student’s t-distribution with $n\text{\u2212}1$ degrees of freedom.
The first test statistic (σ known) has the standard normal distribution.
The second test statistic (σ unknown) has Student’s t-distribution with $n\text{\u2212}1$ degrees of freedom.
The population must be normally distributed.
The distribution of the second standardized test statistic (the one containing s) and the corresponding rejection region for each form of the alternative hypothesis (left-tailed, right-tailed, or two-tailed), is shown in Figure 8.11 "Distribution of the Standardized Test Statistic and the Rejection Region". This is just like Figure 8.4 "Distribution of the Standardized Test Statistic and the Rejection Region", except that now the critical values are from the t-distribution. Figure 8.4 "Distribution of the Standardized Test Statistic and the Rejection Region" still applies to the first standardized test statistic (the one containing σ) since it follows the standard normal distribution.
Figure 8.11 Distribution of the Standardized Test Statistic and the Rejection Region
The p-value of a test of hypotheses for which the test statistic has Student’s t-distribution can be computed using statistical software, but it is impractical to do so using tables, since that would require 30 tables analogous to Figure 12.2 "Cumulative Normal Probability", one for each degree of freedom from 1 to 30. Figure 12.3 "Critical Values of " can be used to approximate the p-value of such a test, and this is typically adequate for making a decision using the p-value approach to hypothesis testing, although not always. For this reason the tests in the two examples in this section will be made following the critical value approach to hypothesis testing summarized at the end of Section 8.1 "The Elements of Hypothesis Testing", but after each one we will show how the p-value approach could have been used.
The price of a popular tennis racket at a national chain store is $179. Portia bought five of the same racket at an online auction site for the following prices:
$$\begin{array}{ccccc}\hfill 155& 179& 175& 175& 161\end{array}$$Assuming that the auction prices of rackets are normally distributed, determine whether there is sufficient evidence in the sample, at the 5% level of significance, to conclude that the average price of the racket is less than $179 if purchased at an online auction.
Solution:
Step 1. The assertion for which evidence must be provided is that the average online price μ is less than the average price in retail stores, so the hypothesis test is
$$\begin{array}{ccc}\hfill {H}_{0}:\mathit{\mu}& =& 179\\ \hfill \text{\hspace{1em}vs.}\text{\hspace{0.17em}}{H}_{a}:\mathit{\mu}& <& 179& @\text{\hspace{0.17em}}\alpha =0.05\end{array}$$Step 2. The sample is small and the population standard deviation is unknown. Thus the test statistic is
$$T=\frac{\stackrel{-}{x}-{\mathit{\mu}}_{0}}{s\u2215\sqrt{n}}$$and has the Student t-distribution with $n\text{\u2212}1=5-1=4$ degrees of freedom.
Step 3. From the data we compute $\stackrel{-}{x}=169$ and s = 10.39. Inserting these values into the formula for the test statistic gives
$$T=\frac{\stackrel{-}{x}-{\mathit{\mu}}_{0}}{s\u2215\sqrt{n}}=\frac{169-179}{10.39\u2215\sqrt{5}}=\text{\u2212}2.152$$Step 5. As shown in Figure 8.12 "Rejection Region and Test Statistic for " the test statistic falls in the rejection region. The decision is to reject H_{0}. 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 price of such rackets purchased at online auctions is less than $179.
Figure 8.12 Rejection Region and Test Statistic for Note 8.42 "Example 10"
To perform the test in Note 8.42 "Example 10" using the p-value approach, look in the row in Figure 12.3 "Critical Values of " with the heading $df=4$ and search for the two t-values that bracket the unsigned value 2.152 of the test statistic. They are 2.132 and 2.776, in the columns with headings t_{0.050} and t_{0.025}. They cut off right tails of area 0.050 and 0.025, so because 2.152 is between them it must cut off a tail of area between 0.050 and 0.025. By symmetry −2.152 cuts off a left tail of area between 0.050 and 0.025, hence the p-value corresponding to $t=\text{\u2212}2.152$ is between 0.025 and 0.05. Although its precise value is unknown, it must be less than $\alpha =0.05$, so the decision is to reject H_{0}.
A small component in an electronic device has two small holes where another tiny part is fitted. In the manufacturing process the average distance between the two holes must be tightly controlled at 0.02 mm, else many units would be defective and wasted. Many times throughout the day quality control engineers take a small sample of the components from the production line, measure the distance between the two holes, and make adjustments if needed. Suppose at one time four units are taken and the distances are measured as
$$\begin{array}{cccc}0.021\hfill & 0.019& 0.023& 0.020\end{array}$$Determine, at the 1% level of significance, if there is sufficient evidence in the sample to conclude that an adjustment is needed. Assume the distances of interest are normally distributed.
Solution:
Step 1. The assumption is that the process is under control unless there is strong evidence to the contrary. Since a deviation of the average distance to either side is undesirable, the relevant test is
$$\begin{array}{ccc}\hfill {H}_{0}:\mathit{\mu}& =& 0.02\\ \hfill \text{\hspace{1em}vs.}\text{\hspace{0.17em}}{H}_{a}:\mathit{\mu}& \ne & 0.02& @\text{\hspace{0.17em}}\alpha =0.01\end{array}$$where μ denotes the mean distance between the holes.
Step 2. The sample is small and the population standard deviation is unknown. Thus the test statistic is
$$T=\frac{\stackrel{-}{x}-{\mathit{\mu}}_{0}}{s\u2215\sqrt{n}}$$and has the Student t-distribution with $n\text{\u2212}1=4-1=3$ degrees of freedom.
Step 3. From the data we compute $\stackrel{-}{x}=0.02075$ and s = 0.00171. Inserting these values into the formula for the test statistic gives
$$T=\frac{\stackrel{-}{x}-{\mathit{\mu}}_{0}}{s\u2215\sqrt{n}}=\frac{0.02075-0.02}{0.00171\u2215\sqrt{4}}=0.877$$Step 5. As shown in Figure 8.13 "Rejection Region and Test Statistic for " the test statistic does not fall in the rejection region. The decision is not to reject H_{0}. 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 mean distance between the holes in the component differs from 0.02 mm.
Figure 8.13 Rejection Region and Test Statistic for Note 8.43 "Example 11"
To perform the test in Note 8.43 "Example 11" using the p-value approach, look in the row in Figure 12.3 "Critical Values of " with the heading $df=3$ and search for the two t-values that bracket the value 0.877 of the test statistic. Actually 0.877 is smaller than the smallest number in the row, which is 0.978, in the column with heading t_{0.200}. The value 0.978 cuts off a right tail of area 0.200, so because 0.877 is to its left it must cut off a tail of area greater than 0.200. Thus the p-value, which is the double of the area cut off (since the test is two-tailed), is greater than 0.400. Although its precise value is unknown, it must be greater than $\alpha =0.01$, so the decision is not to reject H_{0}.
Find the rejection region (for the standardized test statistic) for each hypothesis test based on the information given. The population is normally distributed.
Find the rejection region (for the standardized test statistic) for each hypothesis test based on the information given. The population is normally distributed.
Find the rejection region (for the standardized test statistic) for each hypothesis test based on the information given. The population is normally distributed. Identify the test as left-tailed, right-tailed, or two-tailed.
Find the rejection region (for the standardized test statistic) for each hypothesis test based on the information given. The population is normally distributed. Identify the test as left-tailed, right-tailed, or two-tailed.
A random sample of size 20 drawn from a normal population yielded the following results: $\stackrel{-}{x}=49.2$, s = 1.33.
A random sample of size 16 drawn from a normal population yielded the following results: $\stackrel{-}{x}=\text{\u2212}0.96$, s = 1.07.
A random sample of size 8 drawn from a normal population yielded the following results: $\stackrel{-}{x}=289$, s = 46.
A random sample of size 12 drawn from a normal population yielded the following results: $\stackrel{-}{x}=86.2$, s = 0.63.
Researchers wish to test the efficacy of a program intended to reduce the length of labor in childbirth. The accepted mean labor time in the birth of a first child is 15.3 hours. The mean length of the labors of 13 first-time mothers in a pilot program was 8.8 hours with standard deviation 3.1 hours. Assuming a normal distribution of times of labor, test at the 10% level of significance test whether the mean labor time for all women following this program is less than 15.3 hours.
A dairy farm uses the somatic cell count (SCC) report on the milk it provides to a processor as one way to monitor the health of its herd. The mean SCC from five samples of raw milk was 250,000 cells per milliliter with standard deviation 37,500 cell/ml. Test whether these data provide sufficient evidence, at the 10% level of significance, to conclude that the mean SCC of all milk produced at the dairy exceeds that in the previous report, 210,250 cell/ml. Assume a normal distribution of SCC.
Six coins of the same type are discovered at an archaeological site. If their weights on average are significantly different from 5.25 grams then it can be assumed that their provenance is not the site itself. The coins are weighed and have mean 4.73 g with sample standard deviation 0.18 g. Perform the relevant test at the 0.1% (1/10th of 1%) level of significance, assuming a normal distribution of weights of all such coins.
An economist wishes to determine whether people are driving less than in the past. In one region of the country the number of miles driven per household per year in the past was 18.59 thousand miles. A sample of 15 households produced a sample mean of 16.23 thousand miles for the last year, with sample standard deviation 4.06 thousand miles. Assuming a normal distribution of household driving distances per year, perform the relevant test at the 5% level of significance.
The recommended daily allowance of iron for females aged 19–50 is 18 mg/day. A careful measurement of the daily iron intake of 15 women yielded a mean daily intake of 16.2 mg with sample standard deviation 4.7 mg.
The target temperature for a hot beverage the moment it is dispensed from a vending machine is 170°F. A sample of ten randomly selected servings from a new machine undergoing a pre-shipment inspection gave mean temperature 173°F with sample standard deviation 6.3°F.
The average number of days to complete recovery from a particular type of knee operation is 123.7 days. From his experience a physician suspects that use of a topical pain medication might be lengthening the recovery time. He randomly selects the records of seven knee surgery patients who used the topical medication. The times to total recovery were:
$$\begin{array}{ccccccc}\hfill 128& 135& 121& 142& 126& 151& 123\end{array}$$A 24-hour advance prediction of a day’s high temperature is “unbiased” if the long-term average of the error in prediction (true high temperature minus predicted high temperature) is zero. The errors in predictions made by one meteorological station for 20 randomly selected days were:
$$\begin{array}{ccccc}\hfill 2& \hfill 0& \hfill \text{\u2212}3& \hfill 1& \hfill \text{\u2212}2\\ \hfill 1& \hfill 0& \hfill \text{\u2212}1& \hfill 1& \hfill \text{\u2212}1\\ \hfill \text{\u2212}4& \hfill 1& \hfill 1& \hfill \text{\u2212}4& \hfill 0\\ \hfill \text{\u2212}4& \hfill \text{\u2212}3& \hfill \text{\u2212}4& \hfill 2& \hfill 2\end{array}$$Pasteurized milk may not have a standardized plate count (SPC) above 20,000 colony-forming bacteria per milliliter (cfu/ml). The mean SPC for five samples was 21,500 cfu/ml with sample standard deviation 750 cfu/ml. Test the null hypothesis that the mean SPC for this milk is 20,000 versus the alternative that it is greater than 20,000, at the 10% level of significance. Assume that the SPC follows a normal distribution.
One water quality standard for water that is discharged into a particular type of stream or pond is that the average daily water temperature be at most 18°C. Six samples taken throughout the day gave the data:
$$\begin{array}{cccccc}\hfill 16.8& 21.5& 19.1& 12.8& 18.0& 20.7\end{array}$$The sample mean $\stackrel{-}{x}=18.15$ exceeds 18, but perhaps this is only sampling error. Determine whether the data provide sufficient evidence, at the 10% level of significance, to conclude that the mean temperature for the entire day exceeds 18°C.
A calculator has a built-in algorithm for generating a random number according to the standard normal distribution. Twenty-five numbers thus generated have mean 0.15 and sample standard deviation 0.94. Test the null hypothesis that the mean of all numbers so generated is 0 versus the alternative that it is different from 0, at the 20% level of significance. Assume that the numbers do follow a normal distribution.
At every setting a high-speed packing machine delivers a product in amounts that vary from container to container with a normal distribution of standard deviation 0.12 ounce. To compare the amount delivered at the current setting to the desired amount 64.1 ounce, a quality inspector randomly selects five containers and measures the contents of each, obtaining sample mean 63.9 ounces and sample standard deviation 0.10 ounce. Test whether the data provide sufficient evidence, at the 5% level of significance, to conclude that the mean of all containers at the current setting is less than 64.1 ounces.
A manufacturing company receives a shipment of 1,000 bolts of nominal shear strength 4,350 lb. A quality control inspector selects five bolts at random and measures the shear strength of each. The data are:
$$\begin{array}{ccccc}\hfill \mathrm{4,320}& \mathrm{4,290}& \mathrm{4,360}& \mathrm{4,350}& \mathrm{4,320}\end{array}$$A literary historian examines a newly discovered document possibly written by Oberon Theseus. The mean average sentence length of the surviving undisputed works of Oberon Theseus is 48.72 words. The historian counts words in sentences between five successive 101 periods in the document in question to obtain a mean average sentence length of 39.46 words with standard deviation 7.45 words. (Thus the sample size is five.)
$T=\text{\u2212}7.560$, $df=12$, $\text{\u2212}{t}_{0.10}=\text{\u2212}1.356$, reject H_{0}.
$T=\text{\u2212}7.076$, $df=5$, $\text{\u2212}{t}_{0.0005}=\text{\u2212}6.869$, reject H_{0}.
T = 4.472, $df=4$, ${t}_{0.10}=1.533$, reject H_{0}.
T = 0.798, $df=24$, ${t}_{0.10}=1.318$, do not reject H_{0}.