Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A manufacturer of emergency equipment asserts that a respirator that it makes delivers pure air for 75 minutes on average. A government regulatory agency is charged with testing such claims, in this case to verify that the average time is not less than 75 minutes. To do so it would select a random sample of respirators, compute the mean time that they deliver pure air, and compare that mean to the asserted time 75 minutes.

In the sampling that we have studied so far the goal has been to estimate a population parameter. But the sampling done by the government agency has a somewhat different objective, not so much to estimate the population mean μ as to test an assertion---or a hypothesis[1]---about it, namely, whether it is as large as 75 or not. The agency is not necessarily interested in the actual value of μ, just whether it is as claimed. Their sampling is done to perform a test of hypotheses, the subject of this chapter.

8.1 The Elements of Hypothesis Testing

Types of Hypotheses

A hypothesis about the value of a population parameter is an assertion about its value. As in the introductory example we will be concerned with testing the truth of two competing hypotheses, only one of which can be true.

The end result of a hypothesis testing procedure is a choice of one of the following two possible conclusions:

  1. Reject H0 (and therefore accept Ha), or

  2. Fail to reject H0 (and therefore fail to accept Ha).

The null hypothesis typically represents the status quo, or what has historically been true. In the example of the respirators, we would believe the claim of the manufacturer unless there is reason not to do so, so the null hypothesis is H0:μ=75.H_{0}:\mathit{\mu} = 75. The alternative hypothesis in the example is the contradictory statement Ha:μ<75.H_{a}:\mathit{\mu} < 75. The null hypothesis will always be an assertion containing an equals sign, but depending on the situation the alternative hypothesis can have any one of three forms: with the symbol “<,” as in the example just discussed, with the symbol “>,” or with the symbol “≠.” The following two examples illustrate the latter two cases.

Example 1

A publisher of college textbooks claims that the average price of all hardbound college textbooks is $127.50. A student group believes that the actual mean is higher and wishes to test their belief. State the relevant null and alternative hypotheses.

Solution:

The default option is to accept the publisher’s claim unless there is compelling evidence to the contrary. Thus the null hypothesis is H0:μ=127.50.H_{0}:\mathit{\mu} = 127.50. Since the student group thinks that the average textbook price is greater than the publisher’s figure, the alternative hypothesis in this situation is Ha:μ>127.50.H_{a}:\mathit{\mu} > 127.50.

Example 2

The recipe for a bakery item is designed to result in a product that contains 8 grams of fat per serving. The quality control department samples the product periodically to insure that the production process is working as designed. State the relevant null and alternative hypotheses.

Solution:

The default option is to assume that the product contains the amount of fat it was formulated to contain unless there is compelling evidence to the contrary. Thus the null hypothesis is H0:μ=8.0.H_{0}:\mathit{\mu} = 8.0. Since to contain either more fat than desired or to contain less fat than desired are both an indication of a faulty production process, the alternative hypothesis in this situation is that the mean is different from 8.0, so Ha:μ≠8.0.H_{a}:\mathit{\mu} \neq 8.0.

In Note 8.8 "Example 1", the textbook example, it might seem more natural that the publisher’s claim be that the average price is at most $127.50, not exactly $127.50. If the claim were made this way, then the null hypothesis would be H0:μ≤127.50H_{0}:\mathit{\mu} \leq 127.50, and the value $127.50 given in the example would be the one that is least favorable to the publisher’s claim, the null hypothesis. It is always true that if the null hypothesis is retained for its least favorable value, then it is retained for every other value.

Thus in order to make the null and alternative hypotheses easy for the student to distinguish, in every example and problem in this text we will always present one of the two competing claims about the value of a parameter with an equality. The claim expressed with an equality is the null hypothesis. This is the same as always stating the null hypothesis in the least favorable light. So in the introductory example about the respirators, we stated the manufacturer’s claim as “the average is 75 minutes” instead of the perhaps more natural “the average is at least 75 minutes,” essentially reducing the presentation of the null hypothesis to its worst case.

The first step in hypothesis testing is to identify the null and alternative hypotheses.

The Logic of Hypothesis Testing

Although we will study hypothesis testing in situations other than for a single population mean (for example, for a population proportion instead of a mean or in comparing the means of two different populations), in this section the discussion will always be given in terms of a single population mean μ.

The null hypothesis always has the form H0:μ=μ0H_{0}:\mathit{\mu} = \mathit{\mu}_{0} for a specific number μ0\mathit{\mu}_{0} (in the respirator example μ0=75\mathit{\mu}_{0} = 75, in the textbook example μ0=127.50\mathit{\mu}_{0} = 127.50, and in the baked goods example μ0=8.0\mathit{\mu}_{0} = 8.0). Since the null hypothesis is accepted unless there is strong evidence to the contrary, the test procedure is based on the initial assumption that H0 is true. This point is so important that we will repeat it in a display:

The test procedure is based on the initial assumption that H0 is true.

The criterion for judging between H0 and Ha based on the sample data is: if the value of X−\overset{-}{X} would be highly unlikely to occur if H0 were true, but favors the truth of Ha, then we reject H0 in favor of Ha. Otherwise we do not reject H0.

Supposing for now that X−\overset{-}{X} follows a normal distribution, when the null hypothesis is true the density function for the sample mean X−\overset{-}{X} must be as in Figure 8.1 "The Density Curve for ": a bell curve centered at μ0.\mathit{\mu}_{0}. Thus if H0 is true then X−\overset{-}{X} is likely to take a value near μ0\mathit{\mu}_{0} and is unlikely to take values far away. Our decision procedure therefore reduces simply to:

  1. if Ha has the form Ha:μ<μ0H_{a}:\mathit{\mu} < \mathit{\mu}_{0} then reject H0 if x−\overset{-}{x} is far to the left of μ0\mathit{\mu}_{0};

  2. if Ha has the form Ha:μ>μ0H_{a}:\mathit{\mu} > \mathit{\mu}_{0} then reject H0 if x−\overset{-}{x} is far to the right of μ0\mathit{\mu}_{0};

  3. if Ha has the form Ha:μ≠μ0H_{a}:\mathit{\mu} \neq \mathit{\mu}_{0} then reject H0 if x−\overset{-}{x} is far away from μ0\mathit{\mu}_{0} in either direction.

A bell-shaped normal density curve for the sample mean, drawn over the x̄ axis and centered at μ₀, with a dashed vertical line at the center.

Figure 8.1 The Density Curve for X−\overset{-}{X} if H0 Is True

Think of the respirator example, for which the null hypothesis is H0:μ=75H_{0}:\mathit{\mu} = 75, the claim that the average time air is delivered for all respirators is 75 minutes. If the sample mean is 75 or greater then we certainly would not reject H0 (since there is no issue with an emergency respirator delivering air even longer than claimed).

If the sample mean is slightly less than 75 then we would logically attribute the difference to sampling error and also not reject H0 either.

Values of the sample mean that are smaller and smaller are less and less likely to come from a population for which the population mean is 75. Thus if the sample mean is far less than 75, say around 60 minutes or less, then we would certainly reject H0, because we know that it is highly unlikely that the average of a sample would be so low if the population mean were 75. This is the rare event criterion for rejection: what we actually observed (X−<60\overset{-}{X} < 60) would be so rare an event if μ = 75 were true that we regard it as much more likely that the alternative hypothesis μ < 75 holds.

In summary, to decide between H0 and Ha in this example we would select a “rejection region[5]” of values sufficiently far to the left of 75, based on the rare event criterion, and reject H0 if the sample mean X−\overset{-}{X} lies in the rejection region, but not reject H0 if it does not.

The Rejection Region

Each different form of the alternative hypothesis Ha has its own kind of rejection region:

  1. if (as in the respirator example) Ha has the form Ha:μ<μ0H_{a}:\mathit{\mu} < \mathit{\mu}_{0}, we reject H0 if x−\overset{-}{x} is far to the left of μ0\mathit{\mu}_{0}, that is, to the left of some number C, so the rejection region has the form of an interval (−∞,C];

  2. if (as in the textbook example) Ha has the form Ha:μ>μ0H_{a}:\mathit{\mu} > \mathit{\mu}_{0}, we reject H0 if x−\overset{-}{x} is far to the right of μ0\mathit{\mu}_{0}, that is, to the right of some number C, so the rejection region has the form of an interval [C,∞);

  3. if (as in the baked good example) Ha has the form Ha:μ≠μ0H_{a}:\mathit{\mu} \neq \mathit{\mu}_{0}, we reject H0 if x−\overset{-}{x} is far away from μ0\mathit{\mu}_{0} in either direction, that is, either to the left of some number C or to the right of some other number C′, so the rejection region has the form of the union of two intervals (−∞,C]∪[C′,∞).

The key issue in our line of reasoning is the question of how to determine the number C or numbers C and C′, called the critical value or critical values of the statistic, that determine the rejection region.

Suppose the rejection region is a single interval, so we need to select a single number C. Here is the procedure for doing so. We select a small probability, denoted α\alpha, say 1%, which we take as our definition of “rare event:” an event is “rare” if its probability of occurrence is less than α.\alpha. (In all the examples and problems in this text the value of α\alpha will be given already.) The probability that X−\overset{-}{X} takes a value in an interval is the area under its density curve and above that interval, so as shown in Figure 8.2 (drawn under the assumption that H0 is true, so that the curve centers at μ0\mathit{\mu}_{0}) the critical value C is the value of X−\overset{-}{X} that cuts off a tail area α\alpha in the probability density curve of X−.\overset{-}{X}. When the rejection region is in two pieces, that is, composed of two intervals, the total area above both of them must be α\alpha, so the area above each one is α/2\left. \alpha/ 2 \right., as also shown in Figure 8.2.

Three normal curves for the sample mean, each centered at μ₀ on the x̄ axis. For Hₐ: μ < μ₀, the left tail of area α below the critical value C is shaded, and the rejection region below it is the interval to the left of C. For Hₐ: μ > μ₀, the right tail of area α above the critical value C′ is shaded, and the rejection region is the interval to the right of C′. For Hₐ: μ ≠ μ₀, both tails, each of area α/2, are shaded beyond C and C′, and the rejection region is both outer intervals.

Figure 8.2

The number α\alpha is the total area of a tail or a pair of tails.

Example 3

In the context of Note 8.9 "Example 2", suppose that it is known that the population is normally distributed with standard deviation σ = 0.15 gram, and suppose that the test of hypotheses H0:μ=8.0H_{0}:\mathit{\mu} = 8.0 versus Ha:μ≠8.0H_{a}:\mathit{\mu} \neq 8.0 will be performed with a sample of size 5. Construct the rejection region for the test for the choice α=0.10.\alpha = 0.10. Explain the decision procedure and interpret it.

Solution:

If H0 is true then the sample mean X−\overset{-}{X} is normally distributed with mean and standard deviation

μX−=μ=8.0,σX−=σ/n=0.155=0.067\mathit{\mu}_{\overset{-}{X}} = \mathit{\mu} = 8.0,\quad\mathit{\sigma}_{\overset{-}{X}} = \mathit{\sigma} / \sqrt{n} = \frac{0.15}{\sqrt{5}} = 0.067

Since Ha contains the ≠ symbol the rejection region will be in two pieces, each one corresponding to a tail of area α/2=0.10/2=0.05.\left. \alpha/ 2 = 0.10/ 2 = 0.05. \right. From Figure 12.3 "Critical Values of ", z0.05=1.645z_{0.05} = 1.645, so C and C′ are 1.645 standard deviations of X−\overset{-}{X} to the right and left of its mean 8.0:

C = 8.0 − (1.645)(0.067) = 7.89   and  C′ = 8.0 + (1.645)(0.067) = 8.11

The result is shown in Figure 8.3 "Rejection Region for the Choice ".

Normal curve for the sample mean, centered at 8.0, for Hₐ: μ ≠ 8.0. Both tails, each of area α/2 = 0.05, are shaded beyond the critical values 7.89 and 8.11. A number line below marks the rejection region in red: x̄ ≤ 7.89 and x̄ ≥ 8.11.

Figure 8.3 Rejection Region for the Choice α=0.10\alpha = 0.10

The decision procedure is: take a sample of size 5 and compute the sample mean x−.\overset{-}{x}. If x−\overset{-}{x} is either 7.89 grams or less or 8.11 grams or more then reject the hypothesis that the average amount of fat in all servings of the product is 8.0 grams in favor of the alternative that it is different from 8.0 grams. Otherwise do not reject the hypothesis that the average amount is 8.0 grams.

The reasoning is that if the true average amount of fat per serving were 8.0 grams then there would be less than a 10% chance that a sample of size 5 would produce a mean of either 7.89 grams or less or 8.11 grams or more. Hence if that happened it would be more likely that the value 8.0 is incorrect (always assuming that the population standard deviation is 0.15 gram).

Because the rejection regions are computed based on areas in tails of distributions, as shown in Figure 8.2, hypothesis tests are classified according to the form of the alternative hypothesis in the following way.

Two Types of Errors

The format of the testing procedure in general terms is to take a sample and use the information it contains to come to a decision about the two hypotheses. As stated before our decision will always be either

  1. reject the null hypothesis H0 in favor of the alternative Ha presented, or

  2. do not reject the null hypothesis H0 in favor of the alternative Ha presented.

There are four possible outcomes of a hypothesis testing procedure, as shown in the following table:

True State of Nature

True State of Nature

H0 is true

H0 is false

Our Decision

Do not reject H0

Correct decision

Type II error

Our Decision

Reject H0

Type I error

Correct decision

As the table shows, there are two ways to be right and two ways to be wrong. Typically to reject H0 when it is actually true is a more serious error than to fail to reject it when it is false, so the former error is labeled “Type I” and the latter error “Type II.”

Unless we perform a census we do not have certain knowledge, so we do not know whether our decision matches the true state of nature or if we have made an error. We reject H0 if what we observe would be a “rare” event if H0 were true. But rare events are not impossible: they occur with probability α.\alpha. Thus when H0 is true, a rare event will be observed in the proportion α\alpha of repeated similar tests, and H0 will be erroneously rejected in those tests. Thus α\alpha is the probability that in following the testing procedure to decide between H0 and Ha we will make a Type I error.

The probability of making a Type II error is too complicated to discuss in a beginning text, so we will say no more about it than this: for a fixed sample size, choosing α\alpha smaller in order to reduce the chance of making a Type I error has the effect of increasing the chance of making a Type II error. The only way to simultaneously reduce the chances of making either kind of error is to increase the sample size.

Standardizing the Test Statistic

Hypothesis testing will be considered in a number of contexts, and great unification as well as simplification results when the relevant sample statistic is standardized by subtracting its mean from it and then dividing by its standard deviation. The resulting statistic is called a standardized test statistic. In every situation treated in this and the following two chapters the standardized test statistic will have either the standard normal distribution or Student’s t-distribution.

For example, reviewing Note 8.14 "Example 3", if instead of working with the sample mean X−\overset{-}{X} we instead work with the test statistic

X−-8.00.067\frac{\overset{-}{X}\text{-}8.0}{0.067}

then the distribution involved is standard normal and the critical values are just ±z0.05.\pm z_{0.05}. The extra work that was done to find that C = 7.89 and C′=8.11C\prime = 8.11 is eliminated. In every hypothesis test in this book the standardized test statistic will be governed by either the standard normal distribution or Student’s t-distribution. Information about rejection regions is summarized in the following tables:

When the test statistic has the standard normal distribution:

When the test statistic has the standard normal distribution:

When the test statistic has the standard normal distribution:

Symbol in Ha

Terminology

Rejection Region

<

Left-tailed test

(-∞,-zα]\left( {\text{-}\infty,\text{-}z_{\alpha}} \right\rbrack

>

Right-tailed test

[zα,∞)\left\lbrack {z_{\alpha},\infty} \right)

≠

Two-tailed test

(-∞,-zα/2]∪[zα/2,∞)\left( {\text{-}\infty,\text{-}z_{\alpha / 2}} \right\rbrack \cup \left\lbrack {z_{\alpha / 2},\infty} \right)

When the test statistic has Student’s t-distribution:

When the test statistic has Student’s t-distribution:

When the test statistic has Student’s t-distribution:

Symbol in Ha

Terminology

Rejection Region

<

Left-tailed test

(-∞,-tα]\left( {\text{-}\infty,\text{-}t_{\alpha}} \right\rbrack

>

Right-tailed test

[tα,∞)\left\lbrack {t_{\alpha},\infty} \right)

≠

Two-tailed test

(-∞,-tα/2]∪[tα/2,∞)\left( {\text{-}\infty,\text{-}t_{\alpha / 2}} \right\rbrack \cup \left\lbrack {t_{\alpha / 2},\infty} \right)

Every instance of hypothesis testing discussed in this and the following two chapters will have a rejection region like one of the six forms tabulated in the tables above.

No matter what the context a test of hypotheses can always be performed by applying the following systematic procedure, which will be illustrated in the examples in the succeeding sections.

The procedure that we have outlined in this section is called the “Critical Value Approach” to hypothesis testing to distinguish it from an alternative but equivalent approach that will be introduced at the end of Section 8.3 "The Observed Significance of a Test".

Exercises

  1. State the null and alternative hypotheses for each of the following situations. (That is, identify the correct number μ0\mathit{\mu}_{0} and write H0:μ=μ0H_{0}:\mathit{\mu} = \mathit{\mu}_{0} and the appropriate analogous expression for Ha.)

    1. The average July temperature in a region historically has been 74.5°F. Perhaps it is higher now.

    2. The average weight of a female airline passenger with luggage was 145 pounds ten years ago. The FAA believes it to be higher now.

    3. The average stipend for doctoral students in a particular discipline at a state university is $14,756. The department chairman believes that the national average is higher.

    4. The average room rate in hotels in a certain region is $82.53. A travel agent believes that the average in a particular resort area is different.

    5. The average farm size in a predominantly rural state was 69.4 acres. The secretary of agriculture of that state asserts that it is less today.

  2. State the null and alternative hypotheses for each of the following situations. (That is, identify the correct number μ0\mathit{\mu}_{0} and write H0:μ=μ0H_{0}:\mathit{\mu} = \mathit{\mu}_{0} and the appropriate analogous expression for Ha.)

    1. The average time workers spent commuting to work in Verona five years ago was 38.2 minutes. The Verona Chamber of Commerce asserts that the average is less now.

    2. The mean salary for all men in a certain profession is $58,291. A special interest group thinks that the mean salary for women in the same profession is different.

    3. The accepted figure for the caffeine content of an 8-ounce cup of coffee is 133 mg. A dietitian believes that the average for coffee served in a local restaurant is higher.

    4. The average yield per acre for all types of corn in a recent year was 161.9 bushels. An economist believes that the average yield per acre is different this year.

    5. An industry association asserts that the average age of all self-described fly fishermen is 42.8 years. A sociologist suspects that it is higher.

  3. Describe the two types of errors that can be made in a test of hypotheses.

  4. Under what circumstance is a test of hypotheses certain to yield a correct decision?

8.2 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 n is at least 30. The Central Limit Theorem states that X−\overset{-}{X} is approximately normally distributed, and has mean μX−=μ\mathit{\mu}_{\overset{-}{X}} = \mathit{\mu} and standard deviation σX−=σ/n\left. \mathit{\sigma}_{\overset{-}{X}} = \mathit{\sigma}/\sqrt{n} \right., where μ and σ are the mean and the standard deviation of the population. This implies that the statistic

x−−μσ/n\frac{\overset{-}{x} - \mathit{\mu}}{\left. \mathit{\sigma}/\sqrt{n} \right.}

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.

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

Three standard normal curves on the z axis, centered at 0. For Hₐ: μ < μ₀, the left tail of area α below −z_α is shaded and the rejection region is z ≤ −z_α. For Hₐ: μ > μ₀, the right tail of area α above z_α is shaded and the rejection region is z ≥ z_α. For Hₐ: μ ≠ μ₀, both tails of area α/2 beyond −z_α/2 and z_α/2 are shaded and the rejection region is both outer intervals.

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\overset{-}{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".

Standard normal curve for Hₐ: μ < 3.5. The left tail of area α = 0.05 is shaded below the critical value −z_α = −1.645. On the number line below, the rejection region z ≤ −1.645 is red, and the test statistic Z = −1.886, marked with a star, lies inside it.

Figure 8.5 Rejection Region and Test Statistic for Note 8.27 "Example 4"{.xref xrefstyle=“select: title”}

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\overset{-}{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:

Standard normal curve for Hₐ: μ ≠ 8.1. Both tails, each of area α/2 = 0.005, are shaded beyond the critical values −z_α/2 = −2.576 and z_α/2 = 2.576. On the number line below, the two rejection intervals are red, and the test statistic Z = 2.49, marked with a star, lies between 0 and 2.576, outside the rejection region.

Figure 8.6 Rejection Region and Test Statistic for Note 8.28 "Example 5"{.xref xrefstyle=“select: title”}

Exercises

Basic

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

    1. H0:μ=27H_{0}:\mathit{\mu} = 27 vs. Ha:μ<27H_{a}:\mathit{\mu} < 27 @ α=0.05.\alpha = 0.05.

    2. H0:μ=52H_{0}:\mathit{\mu} = 52 vs. Ha:μ≠52H_{a}:\mathit{\mu} \neq 52 @ α=0.05.\alpha = 0.05.

    3. H0:μ=-105H_{0}:\mathit{\mu} = \text{-}105 vs. Ha:μ>-105H_{a}:\mathit{\mu} > \text{-}105 @ α=0.10.\alpha = 0.10.

    4. H0:μ=78.8H_{0}:\mathit{\mu} = 78.8 vs. Ha:μ≠78.8H_{a}:\mathit{\mu} \neq 78.8 @ α=0.10.\alpha = 0.10.

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

    1. H0:μ=17H_{0}:\mathit{\mu} = 17 vs. Ha:μ<17H_{a}:\mathit{\mu} < 17 @ α=0.01.\alpha = 0.01.

    2. H0:μ=880H_{0}:\mathit{\mu} = 880 vs. Ha:μ≠880H_{a}:\mathit{\mu} \neq 880 @ α=0.01.\alpha = 0.01.

    3. H0:μ=-12H_{0}:\mathit{\mu} = \text{-}12 vs. Ha:μ>-12H_{a}:\mathit{\mu} > \text{-}12 @ α=0.05.\alpha = 0.05.

    4. H0:μ=21.1H_{0}:\mathit{\mu} = 21.1 vs. Ha:μ≠21.1H_{a}:\mathit{\mu} \neq 21.1@ α=0.05.\alpha = 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:μ=141H_{0}:\mathit{\mu} = 141 vs. Ha:μ<141H_{a}:\mathit{\mu} < 141 @ α=0.20.\alpha = 0.20.

    2. H0:μ=-54H_{0}:\mathit{\mu} = \text{-}54 vs. Ha:μ<-54H_{a}:\mathit{\mu} < \text{-}54 @ α=0.05.\alpha = 0.05.

    3. H0:μ=98.6H_{0}:\mathit{\mu} = 98.6 vs. Ha:μ≠98.6H_{a}:\mathit{\mu} \neq 98.6 @ α=0.05.\alpha = 0.05.

    4. H0:μ=3.8H_{0}:\mathit{\mu} = 3.8 vs. Ha:μ>3.8H_{a}:\mathit{\mu} > 3.8 @ α=0.001.\alpha = 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:μ=-62H_{0}:\mathit{\mu} = \text{-}62 vs. Ha:μ≠-62H_{a}:\mathit{\mu} \neq \text{-}62 @ α=0.005.\alpha = 0.005.

    2. H0:μ=73H_{0}:\mathit{\mu} = 73 vs. Ha:μ>73H_{a}:\mathit{\mu} > 73 @ α=0.001.\alpha = 0.001.

    3. H0:μ=1124H_{0}:\mathit{\mu} = 1124 vs. Ha:μ<1124H_{a}:\mathit{\mu} < 1124 @ α=0.001.\alpha = 0.001.

    4. H0:μ=0.12H_{0}:\mathit{\mu} = 0.12 vs. Ha:μ≠0.12H_{a}:\mathit{\mu} \neq 0.12 @ α=0.001.\alpha = 0.001.

  5. Compute the value of the test statistic for the indicated test, based on the information given.

    1. Testing H0:μ=72.2H_{0}:\mathit{\mu} = 72.2 vs. Ha:μ>72.2H_{a}:\mathit{\mu} > 72.2, σ unknown, n = 55, x−=75.1\overset{-}{x} = 75.1, s = 9.25

    2. Testing H0:μ=58H_{0}:\mathit{\mu} = 58 vs. Ha:μ>58H_{a}:\mathit{\mu} > 58, σ = 1.22, n = 40, x−=58.5\overset{-}{x} = 58.5, s = 1.29

    3. Testing H0:μ=-19.5H_{0}:\mathit{\mu} = \text{-}19.5 vs. Ha:μ<-19.5H_{a}:\mathit{\mu} < \text{-}19.5, σ unknown, n = 30, x−=-23.2\overset{-}{x} = \text{-}23.2, s = 9.55

    4. Testing H0:μ=805H_{0}:\mathit{\mu} = 805 vs. Ha:μ≠805H_{a}:\mathit{\mu} \neq 805, σ = 37.5, n = 75, x−=818\overset{-}{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:μ=342H_{0}:\mathit{\mu} = 342 vs. Ha:μ<342H_{a}:\mathit{\mu} < 342, σ = 11.2, n = 40, x−=339\overset{-}{x} = 339, s = 10.3

    2. Testing H0:μ=105H_{0}:\mathit{\mu} = 105 vs. Ha:μ>105H_{a}:\mathit{\mu} > 105, σ = 5.3, n = 80, x−=107\overset{-}{x} = 107, s = 5.1

    3. Testing H0:μ=-13.5H_{0}:\mathit{\mu} = \text{-}13.5 vs. Ha:μ≠-13.5H_{a}:\mathit{\mu} \neq \text{-}13.5, σ unknown, n = 32, x−=-13.8\overset{-}{x} = \text{-}13.8, s = 1.5

    4. Testing H0:μ=28H_{0}:\mathit{\mu} = 28 vs. Ha:μ≠28H_{a}:\mathit{\mu} \neq 28, σ unknown, n = 68, x−=27.8\overset{-}{x} = 27.8, s = 1.3

  7. Perform the indicated test of hypotheses, based on the information given.

    1. Test H0:μ=212H_{0}:\mathit{\mu} = 212 vs. Ha:μ<212H_{a}:\mathit{\mu} < 212 @ α=0.10\alpha = 0.10, σ unknown, n = 36, x−=211.2\overset{-}{x} = 211.2, s = 2.2

    2. Test H0:μ=-18H_{0}:\mathit{\mu} = \text{-}18 vs. Ha:μ>-18H_{a}:\mathit{\mu} > \text{-}18 @ α=0.05\alpha = 0.05, σ = 3.3, n = 44, x−=-17.2\overset{-}{x} = \text{-}17.2, s = 3.1

    3. Test H0:μ=24H_{0}:\mathit{\mu} = 24 vs. Ha:μ≠24H_{a}:\mathit{\mu} \neq 24 @ α=0.02\alpha = 0.02, σ unknown, n = 50, x−=22.8\overset{-}{x} = 22.8, s = 1.9

  8. Perform the indicated test of hypotheses, based on the information given.

    1. Test H0:μ=105H_{0}:\mathit{\mu} = 105 vs. Ha:μ>105H_{a}:\mathit{\mu} > 105 @ α=0.05\alpha = 0.05, σ unknown, n = 30, x−=108\overset{-}{x} = 108, s = 7.2

    2. Test H0:μ=21.6H_{0}:\mathit{\mu} = 21.6 vs. Ha:μ<21.6H_{a}:\mathit{\mu} < 21.6 @ α=0.01\alpha = 0.01, σ unknown, n = 78, x−=20.5\overset{-}{x} = 20.5, s = 3.9

    3. Test H0:μ=-375H_{0}:\mathit{\mu} = \text{-}375 vs. Ha:μ≠-375H_{a}:\mathit{\mu} \neq \text{-}375 @ α=0.01\alpha = 0.01, σ = 18.5, n = 31, x−=-388\overset{-}{x} = \text{-}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\overset{-}{x} = \text{ 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 freshmen 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?

8.3 The Observed Significance of a Test

The Observed Significance

The conceptual basis of our testing procedure is that we reject H0 only if the data that we obtained would constitute a rare event if H0 were actually true. The level of significance α\alpha specifies what is meant by “rare.” The observed significance of the test is a measure of how rare the value of the test statistic that we have just observed would be if the null hypothesis were true. That is, the observed significance of the test just performed is the probability that, if the test were repeated with a new sample, the result of the new test would be at least as contrary to H0 and in support of Ha as what was observed in the original test.

Think back to Note 8.27 "Example 4" in Section 8.2 "Large Sample Tests for a Population Mean" concerning the effectiveness of a new pain reliever. This was a left-tailed test in which the value of the test statistic was −1.886. To be as contrary to H0 and in support of Ha as the result Z=-1.886Z = \text{-}1.886 actually observed means to obtain a value of the test statistic in the interval (-∞,-1.886].\left( {\text{-}\infty,\text{-}1.886} \right\rbrack. Rounding −1.886 to −1.89, we can read directly from Figure 12.2 "Cumulative Normal Probability" that P(Z≤-1.89)=0.0294.P\left( {Z \leq \text{-}1.89} \right) = 0.0294. Thus the p-value or observed significance of the test in Note 8.27 "Example 4" is 0.0294 or about 3%. Under repeated sampling from this population, if H0 were true then only about 3% of all samples of size 50 would give a result as contrary to H0 and in favor of Ha as the sample we observed. Note that the probability 0.0294 is the area of the left tail cut off by the test statistic in this left-tailed test.

Analogous reasoning applies to a right-tailed or a two-tailed test, except that in the case of a two-tailed test being as far from 0 as the observed value of the test statistic but on the opposite side of 0 is just as contrary to H0 as being the same distance away and on the same side of 0, hence the corresponding tail area is doubled.

Example 6

Compute the observed significance of the test performed in Note 8.28 "Example 5" in Section 8.2 "Large Sample Tests for a Population Mean".

Solution:

The value of the test statistic was z = 2.490, which by Figure 12.2 "Cumulative Normal Probability" cuts off a tail of area 0.0064, as shown in Figure 8.7 "Area of the Tail for ". Since the test was two-tailed, the observed significance is 2×0.0064=0.0128.2 \times 0.0064 = 0.0128.

Standard normal curve for Hₐ: μ ≠ 8.1, with the test statistic Z = 2.49 starred on the z axis. The right tail beyond it is shaded and labeled area = 0.0064.

Figure 8.7 Area of the Tail for Note 8.34 "Example 6"{.xref xrefstyle=“select: title”}

The p-value Approach to Hypothesis Testing

In Note 8.27 "Example 4" in Section 8.2 "Large Sample Tests for a Population Mean" the test was performed at the 5% level of significance: the definition of “rare” event was probability α=0.05\alpha = 0.05 or less. We saw above that the observed significance of the test was p = 0.0294 or about 3%. Since p=0.0294<0.05=αp = 0.0294 < 0.05 = \alpha (or 3% is less than 5%), the decision turned out to be to reject: what was observed was sufficiently unlikely to qualify as an event so rare as to be regarded as (practically) incompatible with H0.

In Note 8.28 "Example 5" in Section 8.2 "Large Sample Tests for a Population Mean" the test was performed at the 1% level of significance: the definition of “rare” event was probability α=0.01\alpha = 0.01 or less. The observed significance of the test was computed in Note 8.34 "Example 6" as p = 0.0128 or about 1.3%. Since p=0.0128>0.01=αp = 0.0128 > 0.01 = \alpha (or 1.3% is greater than 1%), the decision turned out to be not to reject. The event observed was unlikely, but not sufficiently unlikely to lead to rejection of the null hypothesis.

The reasoning just presented is the basis for a slightly different but equivalent formulation of the hypothesis testing process. The first three steps are the same as before, but instead of using α\alpha to compute critical values and construct a rejection region, one computes the p-value p of the test and compares it to α\alpha, rejecting H0 if p≤αp \leq \alpha and not rejecting if p>α.p > \alpha.

Example 7

The total score in a professional basketball game is the sum of the scores of the two teams. An expert commentator claims that the average total score for NBA games is 202.5. A fan suspects that this is an overstatement and that the actual average is less than 202.5. He selects a random sample of 85 games and obtains a mean total score of 199.2 with standard deviation 19.63. Determine, at the 5% level of significance, whether there is sufficient evidence in the sample to reject the expert commentator’s claim.

Solution:

Standard normal curve for Hₐ: μ < 202.5, with the test statistic Z = −1.55 starred on the z axis. The left tail below it is shaded and labeled area = 0.0606.

Figure 8.8 Test Statistic for Note 8.36 "Example 7"{.xref xrefstyle=“select: title”}

Example 8

Mr. Prospero has been teaching Algebra II from a particular textbook at Remote Isle High School for many years. Over the years students in his Algebra II classes have consistently scored an average of 67 on the end of course exam (EOC). This year Mr. Prospero used a new textbook in the hope that the average score on the EOC test would be higher. The average EOC test score of the 64 students who took Algebra II from Mr. Prospero this year had mean 69.4 and sample standard deviation 6.1. Determine whether these data provide sufficient evidence, at the 1% level of significance, to conclude that the average EOC test score is higher with the new textbook.

Solution:

Standard normal curve for Hₐ: μ > 67, with the test statistic Z = 3.15 starred on the z axis. The right tail beyond it is shaded and labeled area = 0.0008.

Figure 8.9 Test Statistic for Note 8.37 "Example 8"{.xref xrefstyle=“select: title”}

Example 9

For the surface water in a particular lake, local environmental scientists would like to maintain an average pH level at 7.4. Water samples are routinely collected to monitor the average pH level. If there is evidence of a shift in pH value, in either direction, then remedial action will be taken. On a particular day 30 water samples are taken and yield average pH reading of 7.7 with sample standard deviation 0.5. Determine, at the 1% level of significance, whether there is sufficient evidence in the sample to indicate that remedial action should be taken.

Solution:

Standard normal curve for Hₐ: μ ≠ 7.4, with the test statistic Z = 3.29 starred on the z axis. The right tail beyond it is shaded and labeled area = 0.0005.

Figure 8.10 Test Statistic for Note 8.38 "Example 9"{.xref xrefstyle=“select: title”}

Exercises

Basic

  1. Compute the observed significance of each test.

    1. Testing H0:μ=54.7H_{0}:\mathit{\mu} = 54.7 vs. Ha:μ<54.7H_{a}:\mathit{\mu} < 54.7, test statistic z=-1.72.z = \text{-}1.72.

    2. Testing H0:μ=195H_{0}:\mathit{\mu} = 195 vs. Ha:μ≠195H_{a}:\mathit{\mu} \neq 195, test statistic z=-2.07.z = \text{-}2.07.

    3. Testing H0:μ=-45H_{0}:\mathit{\mu} = \text{-}45 vs. Ha:μ>-45H_{a}:\mathit{\mu} > \text{-}45, test statistic z = 2.54.

  2. Compute the observed significance of each test.

    1. Testing H0:μ=0H_{0}:\mathit{\mu} = 0 vs. Ha:μ≠0H_{a}:\mathit{\mu} \neq 0, test statistic z = 2.82.

    2. Testing H0:μ=18.4H_{0}:\mathit{\mu} = 18.4 vs. Ha:μ<18.4H_{a}:\mathit{\mu} < 18.4, test statistic z=-1.74.z = \text{-}1.74.

    3. Testing H0:μ=63.85H_{0}:\mathit{\mu} = 63.85 vs. Ha:μ>63.85H_{a}:\mathit{\mu} > 63.85, test statistic z = 1.93.

  3. Compute the observed significance of each test. (Some of the information given might not be needed.)

    1. Testing H0:μ=27.5H_{0}:\mathit{\mu} = 27.5 vs. Ha:μ>27.5H_{a}:\mathit{\mu} > 27.5; n = 49, x−=28.9\overset{-}{x} = 28.9, s = 3.14, test statistic z = 3.12.

    2. Testing H0:μ=581H_{0}:\mathit{\mu} = 581 vs. Ha:μ<581H_{a}:\mathit{\mu} < 581; n = 32, x−=560\overset{-}{x} = 560, s = 47.8, test statistic z=-2.49.z = \text{-}2.49.

    3. Testing H0:μ=138.5H_{0}:\mathit{\mu} = 138.5 vs. Ha:μ≠138.5H_{a}:\mathit{\mu} \neq 138.5; n = 44, x−=137.6\overset{-}{x} = 137.6, s = 2.45, test statistic z=-2.44.z = \text{-}2.44.

  4. Compute the observed significance of each test. (Some of the information given might not be needed.)

    1. Testing H0:μ=-17.9H_{0}:\mathit{\mu} = \text{-}17.9 vs. Ha:μ<-17.9H_{a}:\mathit{\mu} < \text{-}17.9; n = 34, x−=-18.2\overset{-}{x} = \text{-}18.2, s = 0.87, test statistic z=-2.01.z = \text{-}2.01.

    2. Testing H0:μ=5.5H_{0}:\mathit{\mu} = 5.5 vs. Ha:μ≠5.5H_{a}:\mathit{\mu} \neq 5.5; n = 56, x−=7.4\overset{-}{x} = 7.4, s = 4.82, test statistic z = 2.95.

    3. Testing H0:μ=1255H_{0}:\mathit{\mu} = 1255 vs. Ha:μ>1255H_{a}:\mathit{\mu} > 1255; n = 152, x−=1257\overset{-}{x} = 1257, s = 7.5, test statistic z = 3.29.

  5. Make the decision in each test, based on the information provided.

    1. Testing H0:μ=82.9H_{0}:\mathit{\mu} = 82.9 vs. Ha:μ<82.9H_{a}:\mathit{\mu} < 82.9 @ α=0.05\alpha = 0.05, observed significance p = 0.038.

    2. Testing H0:μ=213.5H_{0}:\mathit{\mu} = 213.5 vs. Ha:μ≠213.5H_{a}:\mathit{\mu} \neq 213.5 @ α=0.01\alpha = 0.01, observed significance p = 0.038.

  6. Make the decision in each test, based on the information provided.

    1. Testing H0:μ=31.4H_{0}:\mathit{\mu} = 31.4 vs. Ha:μ>31.4H_{a}:\mathit{\mu} > 31.4 @ α=0.10\alpha = 0.10, observed significance p = 0.062.

    2. Testing H0:μ=-75.5H_{0}:\mathit{\mu} = \text{-}75.5 vs. Ha:μ<-75.5H_{a}:\mathit{\mu} < \text{-}75.5 @ α=0.05\alpha = 0.05, observed significance p = 0.062.

Applications

  1. A lawyer believes that a certain judge imposes prison sentences for property crimes that are longer than the state average 11.7 months. He randomly selects 36 of the judge’s sentences and obtains mean 13.8 and standard deviation 3.9 months.

    1. Perform the test at the 1% level of significance using the critical value approach.

    2. Compute the observed significance of the test.

    3. Perform the test at the 1% level of significance using the p-value approach. You need not repeat the first three steps, already done in part (a).

  2. In a recent year the fuel economy of all passenger vehicles was 19.8 mpg. A trade organization sampled 50 passenger vehicles for fuel economy and obtained a sample mean of 20.1 mpg with standard deviation 2.45 mpg. The sample mean 20.1 exceeds 19.8, but perhaps the increase is only a result of sampling error.

    1. Perform the relevant test of hypotheses at the 20% level of significance using the critical value approach.

    2. Compute the observed significance of the test.

    3. Perform the test at the 20% level of significance using the p-value approach. You need not repeat the first three steps, already done in part (a).

  3. The mean score on a 25-point placement exam in mathematics used for the past two years at a large state university is 14.3. The placement coordinator wishes to test whether the mean score on a revised version of the exam differs from 14.3. She gives the revised exam to 30 entering freshmen early in the summer; the mean score is 14.6 with standard deviation 2.4.

    1. Perform the test at the 10% level of significance using the critical value approach.

    2. Compute the observed significance of the test.

    3. Perform the test at the 10% level of significance using the p-value approach. You need not repeat the first three steps, already done in part (a).

  4. The mean increase in word family vocabulary among students in a one-year foreign language course is 576 word families. In order to estimate the effect of a new type of class scheduling, an instructor monitors the progress of 60 students; the sample mean increase in word family vocabulary of these students is 542 word families with sample standard deviation 18 word families.

    1. Test at the 5% level of significance whether the mean increase with the new class scheduling is different from 576 word families, using the critical value approach.

    2. Compute the observed significance of the test.

    3. Perform the test at the 5% level of significance using the p-value approach. You need not repeat the first three steps, already done in part (a).

  5. The mean yield for hard red winter wheat in a certain state is 44.8 bu/acre. In a pilot program a modified growing scheme was introduced on 35 independent plots. The result was a sample mean yield of 45.4 bu/acre with sample standard deviation 1.6 bu/acre, an apparent increase in yield.

    1. Test at the 5% level of significance whether the mean yield under the new scheme is greater than 44.8 bu/acre, using the critical value approach.

    2. Compute the observed significance of the test.

    3. Perform the test at the 5% level of significance using the p-value approach. You need not repeat the first three steps, already done in part (a).

  6. The average amount of time that visitors spent looking at a retail company’s old home page on the world wide web was 23.6 seconds. The company commissions a new home page. On its first day in place the mean time spent at the new page by 7,628 visitors was 23.5 seconds with standard deviation 5.1 seconds.

    1. Test at the 5% level of significance whether the mean visit time for the new page is less than the former mean of 23.6 seconds, using the critical value approach.

    2. Compute the observed significance of the test.

    3. Perform the test at the 5% level of significance using the p-value approach. You need not repeat the first three steps, already done in part (a).

8.4 Small Sample Tests for a Population Mean

In the previous section hypothesis testing for population means was described in the case of large samples. The statistical validity of the tests was ensured 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 (x−−μ0)/(σ/n)\left. \left( {\overset{-}{x} - \mathit{\mu}_{0}} \right)/\left( \mathit{\sigma}/\sqrt{n} \right) \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 (x−−μ0)/(s/n)\left. \left( {\overset{-}{x} - \mathit{\mu}_{0}} \right)/\left( s/\sqrt{n} \right) \right. follows Student’s t-distribution with n-1n\text{-}1 degrees of freedom.

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.

Three bell-shaped Student t curves on the t axis, centered at 0. For Hₐ: μ < μ₀, the left tail of area α below −t_α is shaded and the rejection region is t ≤ −t_α. For Hₐ: μ > μ₀, the right tail of area α above t_α is shaded and the rejection region is t ≥ t_α. For Hₐ: μ ≠ μ₀, both tails of area α/2 beyond −t_α/2 and t_α/2 are shaded and the rejection region is both outer intervals.

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.

Example 10

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:

155179175175161\begin{array}{rcccc} 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:

Student t curve with 4 degrees of freedom for Hₐ: μ < 179. The left tail of area α = 0.05 is shaded below the critical value −t_α = −2.132. On the number line below, the rejection region t ≤ −2.132 is red, and the test statistic T = −2.152, marked with a star, lies just inside it.

Figure 8.12 Rejection Region and Test Statistic for Note 8.42 "Example 10"{.xref xrefstyle=“select: title”}

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=4df = 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 t0.050 and t0.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=-2.152t = \text{-}2.152 is between 0.025 and 0.05. Although its precise value is unknown, it must be less than α=0.05\alpha = 0.05, so the decision is to reject H0.

Example 11

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

0.0210.0190.0230.020\begin{array}{lccc} 0.021 & 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:

Student t curve with 3 degrees of freedom for Hₐ: μ ≠ 0.02. Both tails, each of area α/2 = 0.005, are shaded beyond the critical values −t_α/2 = −5.841 and t_α/2 = 5.841. On the number line below, the two rejection intervals are red, and the test statistic T = 0.877, marked with a star, lies near the center, outside the rejection region.

Figure 8.13 Rejection Region and Test Statistic for Note 8.43 "Example 11"{.xref xrefstyle=“select: title”}

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=3df = 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 t0.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 α=0.01\alpha = 0.01, so the decision is not to reject H0.

Exercises

Basic

  1. Find the rejection region (for the standardized test statistic) for each hypothesis test based on the information given. The population is normally distributed.

    1. H0:μ=27H_{0}:\mathit{\mu} = 27 vs. Ha:μ<27H_{a}:\mathit{\mu} < 27 @ α=0.05\alpha = 0.05, n = 12, σ = 2.2.

    2. H0:μ=52H_{0}:\mathit{\mu} = 52 vs. Ha:μ≠52H_{a}:\mathit{\mu} \neq 52 @ α=0.05\alpha = 0.05, n = 6, σ unknown.

    3. H0:μ=-105H_{0}:\mathit{\mu} = \text{-}105 vs. Ha:μ>-105H_{a}:\mathit{\mu} > \text{-}105 @ α=0.10\alpha = 0.10, n = 24, σ unknown.

    4. H0:μ=78.8H_{0}:\mathit{\mu} = 78.8 vs. Ha:μ≠78.8H_{a}:\mathit{\mu} \neq 78.8 @ α=0.10\alpha = 0.10, n = 8, σ = 1.7.

  2. Find the rejection region (for the standardized test statistic) for each hypothesis test based on the information given. The population is normally distributed.

    1. H0:μ=17H_{0}:\mathit{\mu} = 17 vs. Ha:μ<17H_{a}:\mathit{\mu} < 17 @ α=0.01\alpha = 0.01, n = 26, σ = 0.94.

    2. H0:μ=880H_{0}:\mathit{\mu} = 880 vs. Ha:μ≠880H_{a}:\mathit{\mu} \neq 880 @ α=0.01\alpha = 0.01, n = 4, σ unknown.

    3. H0:μ=-12H_{0}:\mathit{\mu} = \text{-}12 vs. Ha:μ>-12H_{a}:\mathit{\mu} > \text{-}12 @ α=0.05\alpha = 0.05, n = 18, σ = 1.1.

    4. H0:μ=21.1H_{0}:\mathit{\mu} = 21.1 vs. Ha:μ≠21.1H_{a}:\mathit{\mu} \neq 21.1@ α=0.05\alpha = 0.05, n = 23, σ unknown.

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

    1. H0:μ=141H_{0}:\mathit{\mu} = 141 vs. Ha:μ<141H_{a}:\mathit{\mu} < 141 @ α=0.20\alpha = 0.20, n = 29, σ unknown.

    2. H0:μ=-54H_{0}:\mathit{\mu} = \text{-}54 vs. Ha:μ<-54H_{a}:\mathit{\mu} < \text{-}54 @ α=0.05\alpha = 0.05, n = 15, σ = 1.9.

    3. H0:μ=98.6H_{0}:\mathit{\mu} = 98.6 vs. Ha:μ≠98.6H_{a}:\mathit{\mu} \neq 98.6 @ α=0.05\alpha = 0.05, n = 12, σ unknown.

    4. H0:μ=3.8H_{0}:\mathit{\mu} = 3.8 vs. Ha:μ>3.8H_{a}:\mathit{\mu} > 3.8 @ α=0.001\alpha = 0.001, n = 27, σ unknown.

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

    1. H0:μ=-62H_{0}:\mathit{\mu} = \text{-}62 vs. Ha:μ≠-62H_{a}:\mathit{\mu} \neq \text{-}62 @ α=0.005\alpha = 0.005, n = 8, σ unknown.

    2. H0:μ=73H_{0}:\mathit{\mu} = 73 vs. Ha:μ>73H_{a}:\mathit{\mu} > 73 @ α=0.001,\alpha = 0.001, n = 22, σ unknown.

    3. H0:μ=1124H_{0}:\mathit{\mu} = 1124 vs. Ha:μ<1124H_{a}:\mathit{\mu} < 1124 @ α=0.001\alpha = 0.001, n = 21, σ unknown.

    4. H0:μ=0.12H_{0}:\mathit{\mu} = 0.12 vs. Ha:μ≠0.12H_{a}:\mathit{\mu} \neq 0.12 @ α=0.001\alpha = 0.001, n = 14, σ = 0.026.

  5. A random sample of size 20 drawn from a normal population yielded the following results: x−=49.2\overset{-}{x} = 49.2, s = 1.33.

    1. Test H0:μ=50H_{0}:\mathit{\mu} = 50 vs. Ha:μ≠50H_{a}:\mathit{\mu} \neq 50 @ α=0.01.\alpha = 0.01.

    2. Estimate the observed significance of the test in part (a) and state a decision based on the p-value approach to hypothesis testing.

  6. A random sample of size 16 drawn from a normal population yielded the following results: x−=-0.96\overset{-}{x} = \text{-}0.96, s = 1.07.

    1. Test H0:μ=0H_{0}:\mathit{\mu} = 0 vs. Ha:μ<0H_{a}:\mathit{\mu} < 0 @ α=0.001.\alpha = 0.001.

    2. Estimate the observed significance of the test in part (a) and state a decision based on the p-value approach to hypothesis testing.

  7. A random sample of size 8 drawn from a normal population yielded the following results: x−=289\overset{-}{x} = 289, s = 46.

    1. Test H0:μ=250H_{0}:\mathit{\mu} = 250 vs. Ha:μ>250H_{a}:\mathit{\mu} > 250 @ α=0.05.\alpha = 0.05.

    2. Estimate the observed significance of the test in part (a) and state a decision based on the p-value approach to hypothesis testing.

  8. A random sample of size 12 drawn from a normal population yielded the following results: x−=86.2\overset{-}{x} = 86.2, s = 0.63.

    1. Test H0:μ=85.5H_{0}:\mathit{\mu} = 85.5 vs. Ha:μ≠85.5H_{a}:\mathit{\mu} \neq 85.5 @ α=0.01.\alpha = 0.01.

    2. Estimate the observed significance of the test in part (a) and state a decision based on the p-value approach to hypothesis testing.

Applications

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

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

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

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

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

    1. Assuming that daily iron intake in women is normally distributed, perform the test that the actual mean daily intake for all women is different from 18 mg/day, at the 10% level of significance.

    2. The sample mean is less than 18, suggesting that the actual population mean is less than 18 mg/day. Perform this test, also at the 10% level of significance. (The computation of the test statistic done in part (a) still applies here.)

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

    1. Assuming that temperature is normally distributed, perform the test that the mean temperature of dispensed beverages is different from 170°F, at the 10% level of significance.

    2. The sample mean is greater than 170, suggesting that the actual population mean is greater than 170°F. Perform this test, also at the 10% level of significance. (The computation of the test statistic done in part (a) still applies here.)

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

    128135121142126151123\begin{array}{rcccccc} 128 & 135 & 121 & 142 & 126 & 151 & 123 \end{array}
    1. Assuming a normal distribution of recovery times, perform the relevant test of hypotheses at the 10% level of significance.

    2. Would the decision be the same at the 5% level of significance? Answer either by constructing a new rejection region (critical value approach) or by estimating the p-value of the test in part (a) and comparing it to α.\alpha.

  8. 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:

    20-31-210-11-1-411-40-4-3-422\begin{array}{rrrrr} 2 & 0 & {\text{-}3} & 1 & {\text{-}2} \\ 1 & 0 & {\text{-}1} & 1 & {\text{-}1} \\ {\text{-}4} & 1 & 1 & {\text{-}4} & 0 \\ {\text{-}4} & {\text{-}3} & {\text{-}4} & 2 & 2 \end{array}
    1. Assuming a normal distribution of errors, test the null hypothesis that the predictions are unbiased (the mean of the population of all errors is 0) versus the alternative that it is biased (the population mean is not 0), at the 1% level of significance.

    2. Would the decision be the same at the 5% level of significance? The 10% level of significance? Answer either by constructing new rejection regions (critical value approach) or by estimating the p-value of the test in part (a) and comparing it to α.\alpha.

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

  10. 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:

    16.821.519.112.818.020.7\begin{array}{rccccc} 16.8 & 21.5 & 19.1 & 12.8 & 18.0 & 20.7 \end{array}

    The sample mean x−=18.15\overset{-}{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.

Additional Exercises

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

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

  3. 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:

    4,3204,2904,3604,3504,320\begin{array}{rcccc} 4,320 & 4,290 & 4,360 & 4,350 & 4,320 \end{array}
    1. Assuming a normal distribution of shear strengths, test the null hypothesis that the mean shear strength of all bolts in the shipment is 4,350 lb versus the alternative that it is less than 4,350 lb, at the 10% level of significance.

    2. Estimate the p-value (observed significance) of the test of part (a).

    3. Compare the p-value found in part (b) to α=0.10\alpha = 0.10 and make a decision based on the p-value approach. Explain fully.

  4. 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.)

    1. Determine if these data provide sufficient evidence, at the 1% level of significance, to conclude that the mean average sentence length in the document is less than 48.72.

    2. Estimate the p-value of the test.

    3. Based on the answers to parts (a) and (b), state whether or not it is likely that the document was written by Oberon Theseus.

8.5 Large Sample Tests for a Population Proportion

Both the critical value approach and the p-value approach can be applied to test hypotheses about a population proportion p. The null hypothesis will have the form H0:p=p0H_{0}:p = p_{0} for some specific number p0 between 0 and 1. The alternative hypothesis will be one of the three inequalities p<p0p < p_{0}, p>p0p > p_{0}, or p≠p0p \neq p_{0} for the same number p0 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 p0 is the numerical value of p that appears in the two hypotheses, q0=1−p0q_{0} = 1 - p_{0}, p^\hat{p} is the sample proportion, and n is the sample size. Remember that the condition that the sample be large is not that n be at least 30 but that the interval

[p^-3 p^(1−p^)n,p^+3 p^(1−p^)n]\left\lbrack {\hat{p}\text{-}3\,\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}},\hat{p} + 3\,\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}}} \right\rbrack

lie wholly within the interval [0,1].\lbrack 0,1\rbrack.

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

Three standard normal curves on the z axis, centered at 0, for tests about a population proportion. For Hₐ: p < p₀, the left tail of area α below −z_α is shaded and the rejection region is z ≤ −z_α. For Hₐ: p > p₀, the right tail of area α above z_α is shaded and the rejection region is z ≥ z_α. For Hₐ: p ≠ p₀, both tails of area α/2 beyond −z_α/2 and z_α/2 are shaded and the rejection region is both outer intervals.

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 p-value approach in Note 8.49 "Example 14".

We must check that the sample is sufficiently large to validly perform the test. Since p^=270/500=0.54\left. \hat{p} = 270/ 500 = 0.54 \right.,

p^(1−p^)n=(0.54)(0.46)500≈0.02\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}} = \sqrt{\frac{(0.54)(0.46)}{500}} \approx 0.02

hence

[p^-3 p^(1−p^)n, p^+3 p^(1−p^)n ]=[0.54−(3)(0.02),0.54+(3)(0.02)]=[0.48,0.60]⊂[0,1]\begin{array}{l} \left\lbrack {\hat{p}\text{-}3\,\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}},\,\hat{p} + 3\,\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}}}\, \right\rbrack \\ {= \left\lbrack {0.54 - (3)(0.02),0.54 + (3)(0.02)} \right\rbrack} \\ {= \left\lbrack {0.48,0.60} \right\rbrack \subset \lbrack 0,1\rbrack} \end{array}

so the sample is sufficiently large.

Standard normal curve for Hₐ: p > 0.5. The right tail of area α = 0.05 is shaded above the critical value z_α = 1.645. On the number line below, the rejection region z ≥ 1.645 is red, and the test statistic Z = 1.789, marked with a star, lies inside it.

Figure 8.15 Rejection Region and Test Statistic for Note 8.47 "Example 12"{.xref xrefstyle=“select: title”}

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 p-value approach in Note 8.50 "Example 15".

The sample is sufficiently large to validly perform the test since

p^(1−p^)n=(0.5255)(0.4745)5000≈0.01\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}} = \sqrt{\frac{(0.5255)(0.4745)}{5000}} \approx 0.01

hence

[p^-3 p^(1−p^)n, p^+3 p^(1−p^)n]=[0.5255−0.03,0.5255+0.03]=[0.4955,0.5555]⊂[0,1]\begin{array}{l} \left\lbrack \left. \hat{p}\text{-}3\,\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}},\,\hat{p} + 3\,\sqrt{\frac{\hat{p}\left( {1 - \hat{p}} \right)}{n}} \right\rbrack \right. \\ {= \left\lbrack {0.5255 - 0.03,0.5255 + 0.03} \right\rbrack} \\ {= \left\lbrack {0.4955,0.5555} \right\rbrack \subset \lbrack 0,1\rbrack} \end{array}
Standard normal curve for Hₐ: p ≠ 0.5146. Both tails, each of area α/2 = 0.05, are shaded beyond the critical values −z_α/2 = −1.645 and z_α/2 = 1.645. On the number line below, the two rejection intervals are red, and the test statistic Z = 1.542, marked with a star, lies just short of 1.645, outside the rejection region.

Figure 8.16 Rejection Region and Test Statistic for Note 8.48 "Example 13"{.xref xrefstyle=“select: title”}

Example 14

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

Solution:

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

Standard normal curve for Hₐ: p > 0.5, with the test statistic Z = 1.789 starred on the z axis. The right tail beyond it is shaded and labeled area = 0.0367.

Figure 8.17 P-Value for Note 8.49 "Example 14"{.xref xrefstyle=“select: title”}

Example 15

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

Solution:

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

Standard normal curve for Hₐ: p ≠ 0.5146, with the test statistic Z = 1.542 starred on the z axis. The right tail beyond it is shaded and labeled area = 0.0618.

Figure 8.18 P-Value for Note 8.50 "Example 15"{.xref xrefstyle=“select: title”}

Exercises

Basic

On all exercises for this section you may assume that the sample is sufficiently large for the relevant test to be validly performed.

  1. Compute the value of the test statistic for each test using the information given.

    1. Testing H0:p=0.50H_{0}:p = 0.50 vs. Ha:p>0.50H_{a}:p > 0.50, n = 360, p^=0.56.\hat{p} = 0.56.

    2. Testing H0:p=0.50H_{0}:p = 0.50 vs. Ha:p≠0.50H_{a}:p \neq 0.50, n = 360, p^=0.56.\hat{p} = 0.56.

    3. Testing H0:p=0.37H_{0}:p = 0.37 vs. Ha:p<0.37H_{a}:p < 0.37, n = 1200, p^=0.35.\hat{p} = 0.35.

  2. Compute the value of the test statistic for each test using the information given.

    1. Testing H0:p=0.72H_{0}:p = 0.72 vs. Ha:p<0.72H_{a}:p < 0.72, n = 2100, p^=0.71.\hat{p} = 0.71.

    2. Testing H0:p=0.83H_{0}:p = 0.83 vs. Ha:p≠0.83H_{a}:p \neq 0.83, n = 500, p^=0.86.\hat{p} = 0.86.

    3. Testing H0:p=0.22H_{0}:p = 0.22 vs. Ha:p<0.22H_{a}:p < 0.22, n = 750, p^=0.18.\hat{p} = 0.18.

  3. For each part of Exercise 1 construct the rejection region for the test for α=0.05\alpha = 0.05 and make the decision based on your answer to that part of the exercise.

  4. For each part of Exercise 2 construct the rejection region for the test for α=0.05\alpha = 0.05 and make the decision based on your answer to that part of the exercise.

  5. For each part of Exercise 1 compute the observed significance (p-value) of the test and compare it to α=0.05\alpha = 0.05 in order to make the decision by the p-value approach to hypothesis testing.

  6. For each part of Exercise 2 compute the observed significance (p-value) of the test and compare it to α=0.05\alpha = 0.05 in order to make the decision by the p-value approach to hypothesis testing.

  7. Perform the indicated test of hypotheses using the critical value approach.

    1. Testing H0:p=0.55H_{0}:p = 0.55 vs. Ha:p>0.55H_{a}:p > 0.55 @ α=0.05\alpha = 0.05, n = 300, p^=0.60.\hat{p} = 0.60.

    2. Testing H0:p=0.47H_{0}:p = 0.47 vs. Ha:p≠0.47H_{a}:p \neq 0.47 @ α=0.01\alpha = 0.01, n = 9750, p^=0.46.\hat{p} = 0.46.

  8. Perform the indicated test of hypotheses using the critical value approach.

    1. Testing H0:p=0.15H_{0}:p = 0.15 vs. Ha:p≠0.15H_{a}:p \neq 0.15 @ α=0.001\alpha = 0.001, n = 1600, p^=0.18.\hat{p} = 0.18.

    2. Testing H0:p=0.90H_{0}:p = 0.90 vs. Ha:p>0.90H_{a}:p > 0.90 @ α=0.01\alpha = 0.01, n = 1100, p^=0.91.\hat{p} = 0.91.

  9. Perform the indicated test of hypotheses using the p-value approach.

    1. Testing H0:p=0.37H_{0}:p = 0.37 vs. Ha:p≠0.37H_{a}:p \neq 0.37 @ α=0.005\alpha = 0.005, n = 1300, p^=0.40.\hat{p} = 0.40.

    2. Testing H0:p=0.94H_{0}:p = 0.94 vs. Ha:p>0.94H_{a}:p > 0.94 @ α=0.05\alpha = 0.05, n = 1200, p^=0.96.\hat{p} = 0.96.

  10. Perform the indicated test of hypotheses using the p-value approach.

    1. Testing H0:p=0.25H_{0}:p = 0.25 vs. Ha:p<0.25H_{a}:p < 0.25 @ α=0.10\alpha = 0.10, n = 850, p^=0.23.\hat{p} = 0.23.

    2. Testing H0:p=0.33H_{0}:p = 0.33 vs. Ha:p≠0.33H_{a}:p \neq 0.33 @ α=0.05\alpha = 0.05, n = 1100, p^=0.30.\hat{p} = 0.30.

Applications

  1. Five years ago 3.9% of children in a certain region lived with someone other than a parent. A sociologist wishes to test whether the current proportion is different. Perform the relevant test at the 5% level of significance using the following data: in a random sample of 2,759 children, 119 lived with someone other than a parent.

  2. The government of a particular country reports its literacy rate as 52%. A nongovernmental organization believes it to be less. The organization takes a random sample of 600 inhabitants and obtains a literacy rate of 42%. Perform the relevant test at the 0.5% (one-half of 1%) level of significance.

  3. Two years ago 72% of household in a certain county regularly participated in recycling household waste. The county government wishes to investigate whether that proportion has increased after an intensive campaign promoting recycling. In a survey of 900 households, 674 regularly participate in recycling. Perform the relevant test at the 10% level of significance.

  4. Prior to a special advertising campaign, 23% of all adults recognized a particular company’s logo. At the close of the campaign the marketing department commissioned a survey in which 311 of 1,200 randomly selected adults recognized the logo. Determine, at the 1% level of significance, whether the data provide sufficient evidence to conclude that more than 23% of all adults now recognize the company’s logo.

  5. A report five years ago stated that 35.5% of all state-owned bridges in a particular state were “deficient.” An advocacy group took a random sample of 100 state-owned bridges in the state and found 33 to be currently rated as being “deficient.” Test whether the current proportion of bridges in such condition is 35.5% versus the alternative that it is different from 35.5%, at the 10% level of significance.

  6. In the previous year the proportion of deposits in checking accounts at a certain bank that were made electronically was 45%. The bank wishes to determine if the proportion is higher this year. It examined 20,000 deposit records and found that 9,217 were electronic. Determine, at the 1% level of significance, whether the data provide sufficient evidence to conclude that more than 45% of all deposits to checking accounts are now being made electronically.

  7. According to the Federal Poverty Measure 12% of the U.S. population lives in poverty. The governor of a certain state believes that the proportion there is lower. In a sample of size 1,550, 163 were impoverished according to the federal measure.

    1. Test whether the true proportion of the state’s population that is impoverished is less than 12%, at the 5% level of significance.

    2. Compute the observed significance of the test.

  8. An insurance company states that it settles 85% of all life insurance claims within 30 days. A consumer group asks the state insurance commission to investigate. In a sample of 250 life insurance claims, 203 were settled within 30 days.

    1. Test whether the true proportion of all life insurance claims made to this company that are settled within 30 days is less than 85%, at the 5% level of significance.

    2. Compute the observed significance of the test.

  9. A special interest group asserts that 90% of all smokers began smoking before age 18. In a sample of 850 smokers, 687 began smoking before age 18.

    1. Test whether the true proportion of all smokers who began smoking before age 18 is less than 90%, at the 1% level of significance.

    2. Compute the observed significance of the test.

  10. In the past, 68% of a garage’s business was with former patrons. The owner of the garage samples 200 repair invoices and finds that for only 114 of them the patron was a repeat customer.

    1. Test whether the true proportion of all current business that is with repeat customers is less than 68%, at the 1% level of significance.

    2. Compute the observed significance of the test.

Additional Exercises

  1. A rule of thumb is that for working individuals one-quarter of household income should be spent on housing. A financial advisor believes that the average proportion of income spent on housing is more than 0.25. In a sample of 30 households, the mean proportion of household income spent on housing was 0.285 with a standard deviation of 0.063. Perform the relevant test of hypotheses at the 1% level of significance. Hint: This exercise could have been presented in an earlier section.

  2. Ice cream is legally required to contain at least 10% milk fat by weight. The manufacturer of an economy ice cream wishes to be close to the legal limit, hence produces its ice cream with a target proportion of 0.106 milk fat. A sample of five containers yielded a mean proportion of 0.094 milk fat with standard deviation 0.002. Test the null hypothesis that the mean proportion of milk fat in all containers is 0.106 against the alternative that it is less than 0.106, at the 10% level of significance. Assume that the proportion of milk fat in containers is normally distributed. Hint: This exercise could have been presented in an earlier section.

Large Data Set Exercises

  1. Large Data Sets 4 and 4A list the results of 500 tosses of a die. Let p denote the proportion of all tosses of this die that would result in a five. Use the sample data to test the hypothesis that p is different from 1/6, at the 20% level of significance.

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

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

  2. Large Data Set 6 records results of a random survey of 200 voters in each of two regions, in which they were asked to express whether they prefer Candidate A for a U.S. Senate seat or prefer some other candidate. Use the full data set (400 observations) to test the hypothesis that the proportion p of all voters who prefer Candidate A exceeds 0.35. Test at the 10% level of significance.

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

  3. Lines 2 through 536 in Large Data Set 11 is a sample of 535 real estate sales in a certain region in 2008. Those that were foreclosure sales are identified with a 1 in the second column. Use these data to test, at the 10% level of significance, the hypothesis that the proportion p of all real estate sales in this region in 2008 that were foreclosure sales was less than 25%. (The null hypothesis is H0:p=0.25.H_{0}:p = 0.25.)

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

  4. Lines 537 through 1106 in Large Data Set 11 is a sample of 570 real estate sales in a certain region in 2010. Those that were foreclosure sales are identified with a 1 in the second column. Use these data to test, at the 5% level of significance, the hypothesis that the proportion p of all real estate sales in this region in 2010 that were foreclosure sales was greater than 23%. (The null hypothesis is H0:p=0.23.H_{0}:p = 0.23.)

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

Footnotes
  1. A statement about a population parameter.

  2. The statement that is assumed to be true unless there is convincing evidence to the contrary.

  3. A statement that is accepted as true only if there is convincing evidence in favor of it.

  4. A statistical procedure in which a choice is made between a null hypothesis and a specific alternative hypothesis based on information in a sample.

  5. An interval or union of intervals such that the null hypothesis is rejected if and only if the statistic of interest lies in this region.

  6. The number or one of a pair of numbers that determines the rejection region.

  7. Rejection of a true null hypothesis.

  8. Failure to reject a false null hypothesis.

  9. The probability α\alpha that defines an event as “rare;” the probability that the test procedure will lead to a Type I error.

  10. The standardized statistic used in performing the test.

  11. The probability, if H0 is true, of obtaining a result as contrary to H0 and in favor of Ha as the result observed in the sample data.