6.2 Tests of Significance

The confidence interval is appropriate when our goal is to estimate population parameters. The second common type of inference is directed at a different goal: to assess the evidence provided by the data in favor of some claim about the population parameters. Assessing the randomness of tree locations in a forest in Example 6.1 (page 329) and the effectiveness of a new oral antibiotic in Example 6.2 (page 330) are two examples of this type of inference.

The reasoning of significance tests

A significance test is a formal procedure for comparing observed data with a hypothesis whose truth we want to assess. The hypothesis is a statement about the population parameters. The results of a test are expressed in terms of a probability that measures how well the data and the hypothesis agree. We use the following examples to illustrate these concepts.

Example 6.8 Grants and scholarships amount by planner status.

One purpose of Sallie Mae’s annual study described in Example 6.4 (page 336) is to allow comparisons of different subgroups. For example, in the latest report, 882 of the 2000 respondents (44.1%) had a plan in place to pay for all years of school before the student enrolled. The average grants and scholarships amount among them was $8460. The average grants and scholarships amount among those who did not have a plan was $7949. The difference of $511 is fairly large, but we know that these numbers are estimates of the population means. If we took different samples, we would get different estimates.

Can we conclude from these data that the average grants and scholarships amounts in these two groups are different? One way to answer this question is to compute the probability of obtaining a difference as large as or larger than the observed $511, assuming that, in fact, there is no difference in the population means. This probability is 0.47. Because this probability is not particularly small, we conclude that observing a difference of $511 is not very surprising when the population means are equal. The data do not provide enough evidence for us to conclude that the average grants and scholarships amounts for planners and nonplanners differ.

Here is an example with a different conclusion.

Example 6.9 Average amount paid for college by planner status.

Sallie Mae’s study reports the average amount a family pays annually for college. Among planners the average is $29,388, while it is $23,679 among nonplanners. Families who have a plan in place have access to more resources, leading to more purchase options. Do these higher-priced options result in this group paying more for college? The observed difference is $5709, but as we learned in the previous example, an observed difference in means is not necessarily sufficient for us to conclude that the population means are different.

Again, we answer this question with a probability calculated under the assumption that there is no difference in the population means. The probability is 0.0019 of observing a difference in mean contributions that is $5709 or more when there really is no difference. Because this probability is so small, we have sufficient evidence in the data to conclude that the average amount paid for college is higher for planners than nonplanners.

What are the key steps in these two examples?

The 0.47 probability is not particularly small, so we have limited evidence to question the possibility that the true difference is zero. In the second case, however, the probability is very small. Something that happens with probability 0.0019 occurs only about 19 times out of 10,000. In this case, we have two possible explanations:

  1. We have observed something that is very unusual.
  2. The assumption that underlies the calculation—that there is no difference in mean balance—is not true.

Because this probability is so small, we prefer the second conclusion: the average amounts spent on college for planners and nonplanners is different, and the planners’ mean is larger than that of the nonplanners.

The probabilities in Examples 6.8 and 6.9 are measures of the compatibility of the data (a difference in means of $511 and $5709) with the hypothesis that there is no difference in the true means. Figures 6.7 and 6.8 compare the two results graphically. For each, a Normal curve centered at 0 is the sampling distribution. You can see from Figure 6.7 that we should not be particularly surprised to observe the difference $511, but the difference $5709 in Figure 6.8 is clearly an unusual observation. We will now consider some of the formal aspects of significance testing.

A normal distribution curve.

Figure 6.7 Comparison of the sample mean in Example 6.8 with the null hypothesized value 0.

A normal distribution curve.

Figure 6.8 Comparison of the sample mean in Example 6.9 with the null hypothesized value 0.

Stating hypotheses

In Examples 6.8 and 6.9, we asked whether the difference in the observed means is reasonable if, in fact, there is no difference in the population means. To answer this, we begin by supposing that the statement following the “if” in the previous sentence is true. In other words, we suppose that the true difference is $0. We then ask whether the data provide evidence against the supposition we have made. If so, we have evidence in favor of an effect (the means are different) we are seeking. Often, the first step in a test of significance is to state a claim that we will try to find evidence against.

We abbreviate “null hypothesis” as H0. A null hypothesis is a statement about the population parameters. For example, our null hypothesis for Example 6.8 is

H0:there is no difference in the population means

or, equivalently,

H0:the difference in population means is zero

Note that the null hypothesis refers to the population means for all undergraduates, including those for whom we do not have data.

It is convenient also to give a name to the statement we hope or suspect is true. This is called the alternative hypothesis and is abbreviated as Ha. In Example 6.8, the alternative hypothesis states that the means are different. We write this as

Ha:the population means are not the same

or, equivalently,

Ha:the difference in population means is not zero

caution Hypotheses always refer to some populations or a model, not to a particular outcome. For this reason, we must state H0 and Ha in terms of population parameters.

Because Ha expresses the effect that we hope to find evidence for, we will sometimes begin with Ha and then set up H0 as the statement that the hoped-for effect is not present. Stating Ha, however, is often the more difficult task. It is not always clear, in particular, whether to use a one-sided alternative, which specifies that the parameter differs from its null hypothesis value in a specific direction, or a two-sided alternative, which specifies that the parameter can differ from its null hypothesis value in either direction. Phrases like “greater than” and “smaller than” suggest one-sided alternatives. Phrases like “are different” and “not equal to” suggest a two-sided alternative.

The alternative hypothesis should express the hopes or suspicions we bring to the data. caution It is cheating to first look at the data and then frame Ha to fit what the data show. If you do not have a specific direction firmly in mind in advance, you must use a two-sided alternative. Moreover, some users of statistics argue that you should always use a two-sided alternative.

Check-in
  1. 6.12 Dining court survey. During the summer, the dining court closest to your university residence was redesigned. A survey is planned to assess whether or not students think that the new design is an improvement. It will contain eight questions; a 7-point scale will be used for the answers, with scores less than 4 favoring the previous design and scores greater than 4 favoring the new design (to varying degrees). The average of the eight questions will be used as the student’s response. State the null and alternative hypotheses you would use for examining whether or not the new design is viewed more favorably.

  2. 6.13 DXA scanners. A dual-energy X-ray absorptiometry (DXA) scanner is used to measure bone mineral density for people who may be at risk for osteoporosis. One researcher believes that her scanner is not giving accurate readings. To assess this, the researcher uses an object called a “phantom” that has known mineral density μ=1.4 grams per square centimeter. The researcher scans the phantom 10 times and compares the sample mean reading x¯ with the theoretical mean μ using a significance test. State the null and alternative hypotheses for this test.

Test statistics

We will learn the form of significance tests in a number of common situations. Here are some principles that apply to most tests and that help in understanding these tests:

A test statistic measures compatibility between the null hypothesis and the data. We use it for the probability calculation that we need for our test of significance. It is a random variable with a distribution that we know.

Let’s return to our comparison of the grants and scholarship amount among planners and nonplanners and specify the hypotheses as well as calculate the test statistic.

Example 6.10 Average grants and scholarships amount of planners and nonplanners: The hypotheses.

In Example 6.8, the hypotheses are stated in terms of the difference in the average grants and scholarships amount between planners and nonplanners:

H0:there is no difference in the population meansHa:there is a difference in the population means

Because Ha is two-sided, large values of both positive and negative differences count as evidence against the null hypothesis.

We can also state the null hypothesis as H0: the true mean difference is 0. This statement makes it more clear that the hypothesized value for this comparison of average scholarship amounts is 0.

Example 6.11 Average grants and scholarships amount of planners and nonplanners: The test statistic.

In Example 6.8, the estimate of the difference is $511. Using methods that we will discuss in detail later, we can determine that the standard deviation of the estimate is $710. For this problem the test statistic is

z=estimate  hypothesized valuestandard deviation of the estimate

For our data,

z=5110710=0.72

We have observed a sample estimate that is less than 1 standard deviation away from the hypothesized value of the parameter.

Because the sample sizes are sufficiently large for us to conclude that the distribution of the sample estimate is approximately Normal, the standardized test statistic z will have approximately the N(0, 1) distribution. We will use facts about the Normal distribution in what follows.

P-values

If all test statistics were Normal, we could base our conclusions on the value of the z test statistic. In fact, the Supreme Court of the United States has said that “two or three standard deviations” (z=2 or 3) is its criterion for rejecting H0 (see Check-in question 6.18 on page 355), and this is the criterion used in most applications involving the law. But because not all test statistics are Normal, we use the language of probability to express the meaning of a test statistic.

“Extreme” means “far from what we would expect if H0 were true.” The direction or directions that count as “far from what we would expect” are determined by Ha and H0. We often refer to a significance test as one-sided or two-sided to make it clear how the P-value is calculated.

The key to calculating the P-value is knowing the sampling distribution of the test statistic. For the problems we consider in this chapter, we need only the standard Normal distribution for the test statistic z.

In Example 6.8, we want to know if the average grants and scholarships amount for planners differs from the average grants and scholarships amount for nonplanners. The difference we calculated based on our sample is $511, which corresponds to 0.72 standard deviation away from zero—that is, z=0.72. Because we are using a two-sided alternative for this problem, the evidence against H0 is measured by the probability that we observe a value of Z as extreme as or more extreme than 0.72.

Example 6.12 Average grants and scholarships amount of planners and nonplanners: The P-value.

In Example 6.11, we found that the test statistic for testing

H0:the true mean difference is 0

versus

Ha:there is a difference in the population means

is

z=5110710=0.72

If H0 is true, then z is a single observation from the standard Normal, N(0, 1), distribution. Figure 6.9 illustrates this calculation. The P-value is the probability of observing a value of Z at least as extreme as the one that we observed, z=0.72. From Table A, our table of standard Normal probabilities, we find

P(Z0.72)=10.7642=0.2358

The probability for being extreme in the negative direction is the same:

P(Z0.72)=0.2358

So the P-value is

2P(Z0.72)=2(0.2358)=0.4716
A normal distribution curve.

Figure 6.9 The P-value, Example 6.12. The P-value is the probability (when H0 is true) that x¯ takes a value as extreme or more extreme than the actual observed value, z=0.72. Because the alternative hypothesis is two-sided, we use both tails of the distribution.

This is the value that we reported on page 347. There is a 47% chance of observing a difference as extreme as the $511 in our sample if the true population difference is zero. This P-value tells us that our outcome is not particularly extreme. In other words, the data do not provide substantial evidence for us to doubt the validity of the null hypothesis.

Check-in
  1. 6.14 Normal curve and the P-value. A test statistic for a two-sided significance test for a population mean is z=1.78. Sketch a standard Normal curve and mark this value of z on it. Find the P-value and shade the appropriate areas under the curve to illustrate your calculations.

  2. 6.15 More on the Normal curve and the P-value. A test statistic for a two-sided significance test for a population mean is z=2.73. Sketch a standard Normal curve and mark this value of z on it. Find the P-value and shade the appropriate areas under the curve to illustrate your calculations.

Statistical significance

We started our discussion of the reasoning of significance tests with the statement of null and alternative hypotheses. We then learned that a test statistic is the tool used to examine the compatibility of the observed data with the null hypothesis. Finally, we translated the test statistic into a P-value to quantify the evidence against H0. One important final step is needed: to state our conclusion.

We can compare the P-value we calculated with a fixed value that we regard as decisive. This amounts to announcing in advance how much evidence against H0 we will require to reject H0. The decisive value is called the significance level. It is commonly denoted by α (the Greek letter alpha). If we choose α=0.05, we are requiring that the data give evidence against H0 so strong that it would happen no more than 5% of the time (1 time in 20) when H0 is true. If we choose α=0.001, we are insisting on stronger evidence against H0, evidence so strong that it would appear only 0.1% of the time (1 time in 1000) if H0 is in fact true.

caution “Significant” in the statistical sense does not mean “important.” The original meaning of the word is “signifying something.” In statistics, significant is used to indicate only that the evidence against the null hypothesis has reached the standard set by α. For example, significance at level 0.01 is often expressed by the statement “The results were significant (P<0.01).” Here, P stands for the P-value. The P-value is more informative than a statement of significance because we can then assess significance at any level we choose. For example, a result with P=0.03 is significant at the α=0.05 level but is not significant at the α=0.01 level. We discuss this in more detail at the end of this section.

Example 6.13 Average grants and scholarships amount of planners and nonplanners: The conclusion.

In Example 6.12, we found that the P-value is

P=2P(Z0.72)=2(0.2358)=0.4716

There is an 47% chance of observing a difference as extreme as the $511 in our sample if the true population difference is zero. Because this P-value is larger than the α=0.05 significance level, we conclude that our test result is not significant. We could report the result as “the data fail to provide evidence that would cause us to conclude that there is a difference in average scholarship amount between borrowers and nonborrowers (z=0.72,P=0.47).”

caution This statement does not mean that we conclude that the null hypothesis is true, only that the level of evidence we require to reject the null hypothesis is not met. Our criminal court system follows a similar procedure in which a defendant is presumed innocent (H0) until proven guilty. If the level of evidence presented is not strong enough for the jury to find the defendant guilty beyond a reasonable doubt, the defendant is acquitted. Acquittal does not imply innocence, only that the degree of evidence was not strong enough to prove guilt.

If the P-value is small, we reject the null hypothesis. Here is the conclusion for our second example.

Example 6.14 Average amount paid for college by planner status: The conclusion.

In Example 6.9, we found that the difference in the average amount a family pays for college between planners and nonplanners was $5709. Because planners have access to more expensive options, we had a prior expectation that the planner average would be higher than the nonplanner average. It is appropriate to use a one-sided alternative in this situation. So, our hypotheses are

H0:the true mean difference is 0

versus

Ha:the difference between the average amount paid for collegebetween planners and nonplanners is positive

The standard deviation is $1975 (again, we defer details regarding this calculation), and the test statistic is

z=estimatehypothesized valuestandard deviation of the estimatez=570901975=2.89

Because only positive differences in parental contributions count against the null hypothesis, the one-sided alternative leads to the calculation of the P-value using the upper tail of the Normal distribution. The P-value is

P=P(Z2.89)=10.9981=0.0019

The calculation is illustrated in Figure 6.10. There is about a 2-in-1000 chance of observing a difference as large as or larger than the $5709 in our sample if the true population difference is zero. This P-value tells us that our outcome is very rare. We conclude that the null hypothesis must be false. Because the observed difference is positive, here is one way to report the result: “The data clearly show that the average amount a planning family pays for college is larger than the average amount a nonplanning family pays for college (z=2.89,P=0.0019).”

A normal distribution curve.

Figure 6.10 The P-value, Example 6.14. The P-value is the probability (when H0 is true) that x¯ takes a value as extreme or more extreme than the actual observed value, z=2.89. We look at only the right tail because we are considering the one-sided (>) alternative.

Check-in
  1. 6.16 Finding significant z-scores. Consider a two-sided significance test for a population mean.

    1. Sketch a Normal curve similar to that shown in Figure 6.9 (page 352) but find the value z such that P=0.10.

    2. Based on your curve from part (a), what values of the z statistic are statistically significant at the α=0.10 level?

  2. 6.17 More on finding significant z-scores. Consider a one-sided significance test for a population mean, where the alternative is “greater than.”

    1. Sketch a Normal curve similar to that shown in Figure 6.10 but find the value z such that P=0.10.

    2. Based on your curve from part (a), what values of the z statistic are statistically significant at the α=0.10 level?

  3. 6.18 The Supreme Court speaks. The Supreme Court has said that z-scores beyond 2 or 3 are generally convincing statistical evidence. For a two-sided test, what significance level corresponds to z=2? To z=3?

A test of significance is a process for assessing the significance of the evidence provided by data against a null hypothesis. The four steps common to all tests of significance are as follows:

  1. State the null hypothesis H0 and the alternative hypothesis Ha. The test is designed to assess the strength of the evidence against H0; Ha is the statement that we will accept if the evidence enables us to reject H0.
  2. Calculate the value of the test statistic on which the test will be based. This statistic usually measures how far the data are from H0.
  3. Find the P-value for the observed data. This is the probability, calculated assuming that H0 is true, that the test statistic will weigh against H0 at least as strongly as it does for these data.
  4. State a conclusion. One way to do this is to choose a significance level α, how much evidence against H0 you regard as decisive. If the P-value is less than or equal to α, you conclude that the alternative hypothesis is true; if it is greater than α, you conclude that the data do not provide sufficient evidence to reject the null hypothesis. Your conclusion is a sentence or two that summarizes what you have found by using a test of significance.

We will learn the details of many tests of significance in the following chapters. The proper test statistic is determined by the hypotheses and the data collection design. We use computer software or a calculator to find its numerical value and the P-value. The computer will not formulate your hypotheses for you, however. Nor will it decide if significance testing is appropriate or help you to interpret the P-value that it presents to you. These steps require judgment based on a sound understanding of this type of inference.

Tests for a population mean

Data set icon for Vtm.

Our discussion has focused on the reasoning of statistical tests, and we have outlined the key ideas for one type of procedure. Our examples focused on the comparison of two population means. Here is a summary for a test about one population mean.

We want to test the hypothesis that a parameter has a specified value. This is the null hypothesis. For a test of a population mean μ, the null hypothesis is

H0:the true population mean is equal toμ0 

which often is expressed as

H0:μ=μ0 

where μ0 is the hypothesized value of μ that we would like to examine.

The test is based on data summarized as an estimate of the parameter. For a population mean, this is the sample mean x¯. Our test statistic measures the difference between the sample estimate and the hypothesized parameter in terms of standard deviations of the test statistic:

z=estimatehypothesized valuestandard deviation of the estimate

Recall from Chapter 5 that the standard deviation of x¯ is σ/n. Therefore, the test statistic is

z=x¯μ0σ/n

Again from Chapter 5 , if the population is Normal, then x¯ will be Normal, and z will have the standard Normal distribution when H0 is true. By the central limit theorem, both distributions will be approximately Normal when the sample size is large, even if the population is not Normal. We’ll assume that we’re in one of these two settings for now.

Suppose that we have calculated a test statistic z=1.7. If the alternative is one-sided on the high side, then the P-value is the probability that a standard Normal random variable Z takes a value as large as or larger than the observed 1.7. That is,

P=P(Z1.7)=1P(Z<1.7)=10.9554=0.0446

Similar reasoning applies when the alternative hypothesis states that the true μ lies below the hypothesized μ0 (one-sided). When Ha states that μ is simply unequal to μ0 (two-sided), values of z away from zero in either direction count against the null hypothesis. The P-value is the probability that a standard Normal Z is at least as far from zero as the observed z. Again, if the test statistic is z=1.7, the two-sided P-value is the probability that Z1.7 or Z1.7. Because the standard Normal distribution is symmetric, we calculate this probability by finding P(Z1.7) and doubling it:

P(Z1.7orZ1.7)=2P(Z1.7)=2(10.9554)=0.0892

We would make exactly the same calculation if we observed z=1.7. It is the absolute value | z | that matters, not whether z is positive or negative. Here is a statement of the test in general terms.

Example 6.15 Percent energy from added sugars.

Dietary sugars can loosely be broken down into those naturally occurring in foods and those that are added for taste or other functional property. The added sugars, such as granulated sugar and corn syrup, are typically associated with foods of poor nutrient quality and are more strongly associated with obesity and diabetes. One study used data from the National Health and Nutrition Examination Survey (NHANES) to estimate the percent energy from added sugars in various age categories. For the adult category (19years), more than 10,000 individuals provided data.14 The mean was 13.1%.

You decide to determine this percent for students at your large university. You survey 100 students and find the average to be 14.3%. Is there evidence that this mean percent differs from the reported adult mean?

The null hypothesis is “no difference” from the published mean μ0=13.1%. The alternative is two-sided because you did not have a particular direction in mind before examining the data. So the hypotheses about the unknown mean μ of the students at your university are

H0:μ=13.1%Ha:μ13.1%

As usual in this chapter, we make the unrealistic assumption that the population standard deviation is known. In this case, we’ll use the standard deviation from the large national study, σ=11.4%.

We compute the test statistic:

z=x¯μ0σ/n=14.313.111.4/100=1.05

Figure 6.11 illustrates the P-value, which is the probability that a standard Normal variable Z takes a value at least 1.05 away from zero. From Table A, we find that this probability is

P=2P(Z1.05)=2(10.8531)=0.2938
A normal distribution curve.

Figure 6.11 Sketch of the P-value calculation for the two-sided test, Example 6.15. The test statistic is z=1.05.

That is, if the population mean were 13.1%, almost 30% of the time an SRS of size 100 would have a mean at least as far from 13.1% as that of this sample. The observed x¯=14.3% is, therefore, not strong evidence that the student population mean at your university differs from that of the large population of adults.

This z test result is valid provided that the 100 students in the sample can be considered an SRS from the population of students at your university and that n=100 is sufficiently large so that we can rely on the central limit theorem to provide an approximately correct P-value. This test is also treating the adult population estimate of 13.1% as the true value. We’ll learn about two-sample tests in the next chapter, but for now we’re content with the fact that our sample is like an SRS so the very large sample size implies that the estimate is very close to the truth.

The data in Example 6.15 do not establish that the mean μ for students at your university is 13.1%. We sought evidence that μ differed from 13.1% and failed to find convincing evidence. That’s our conclusion. No doubt the mean is not exactly equal to 13.1%. A large enough sample would give evidence of a difference, even if it were very small.

Tests of significance assess the evidence against H0. If the evidence is strong, we can confidently reject H0 in favor of the alternative. caution Failing to find evidence against H0 means only that the data are consistent with H0, not that we have clear evidence that H0 is true.

Example 6.16 Significance test of the mean SATM score.

In a discussion of SAT Mathematics (SATM) scores, a friend comments, “Because only California high school students considering college take the SAT, the scores overestimate the mathematics ability of typical high school seniors. I think that if all seniors took the test, the mean score would be no more than 495.” You do not agree with his claim and decide to use the SRS of 500 seniors from Example 6.3 (page 331) to assess the degree of evidence against it. Those 500 seniors had a mean SATM score of x¯=505. Is this strong enough evidence to conclude that this friend’s claim is wrong?

Because the claim states that the mean is “no more than 495,” the alternative hypothesis is one-sided. The hypotheses are

H0:μ=495Ha:μ>495

As we did in the discussion following Example 6.3, we assume that σ=100. The z statistic is

z=x¯μ0σ/n=505495100/500=2.24

Because Ha is one-sided on the high side, large values of z count against H0. From Table A, we find that the P-value is

P=P(Z2.24)=10.9875=0.0125

Figure 6.12 illustrates this P-value. A mean score as large as that observed would occur roughly 12 times in 1000 samples if the population mean were 495. This is convincing evidence that the mean SATM score for all California high school seniors is higher than 495. You can confidently tell your friend that his claim is incorrect.

A normal distribution curve.

Figure 6.12 Sketch of the P-value calculation for the one-sided test, Example 6.16. The test statistic is z=2.24.

Check-in
  1. 6.19 Computing the test statistic and P-value. You will perform a significance test of H0:μ=30 based on an SRS of n=49. Assume that σ=21.

    1. If x¯=35.7, what is the test statistic z?

    2. What is the P-value if Ha:μ>30?

    3. What is the P-value if Ha:μ30?

  2. 6.20 Testing a random number generator. Statistical software often has a “random number generator” that is supposed to produce numbers uniformly distributed between 0 and 1. If this is true, the numbers generated come from a population with μ=0.5 and standard deviation σ=0.289. A command to generate 100 random numbers gives outcomes with mean x¯=0.55. Do we have evidence that the mean of all numbers produced by this software is not 0.5?

Two-sided significance tests and confidence intervals

Recall the basic idea of a confidence interval, discussed in Section 6.1. We constructed an interval that would include the true value of μ with a specified probability C. Let’s consider a 95% confidence interval (C=0.95). Then the values of μ0 that are not in our interval would seem to be incompatible with the data. This sounds like a significance test with α=0.05 (or 5%) as our standard for drawing a conclusion. The following examples demonstrate that this is, in fact, correct.

Example 6.17 Water quality testing.

Data set icon for pbtest.

The Deely Laboratory is a drinking-water testing and analysis service. One of the common contaminants it tests for is lead. Lead enters drinking water through corrosion of plumbing materials, such as lead pipes, fixtures, and solder. The service knows that its analysis procedure is unbiased but not perfectly precise, so the laboratory analyzes each water sample three times and reports the mean result. The repeated measurements follow a Normal distribution quite closely. The standard deviation of this distribution is a property of the analytic procedure and is known to be α=0.25 parts per billion (ppb).

The Deely Laboratory has been asked by a university to evaluate a claim that the drinking water in the Student Union has a lead concentration above the Environmental Protection Agency’s (EPA’s) action level of 15 ppb. Because the true concentration of the sample is the mean μ of the population of repeated analyses, the hypotheses are

H0:μ=15Ha:μ15

We use the two-sided alternative here because there is no prior evidence to substantiate a one-sided alternative. The lab chooses the 1% level of significance, α=0.01.

Three analyses of one specimen give concentrations

15.8415.3315.58

The sample mean of these readings is

x¯=15.84+15.33+15.583=15.58

The test statistic is

z=x¯μ0σ/n=15.5815.000.25/3=4.02

Because the alternative is two-sided, the P-value is

P=2P(Z4.02)

We cannot find this probability in Table A. The largest value of z in that table is 3.49. All that we can say from Table A is that P is less than 2P(Z3.49)=2(10.9998)=0.0004. Software or a calculator could be used to give an accurate value of the P-value. However, because the P-value is clearly less than the lab’s standard of 1%, we reject H0. Because x¯ is larger than 15.00, we can conclude that the true concentration level of lead in this one specimen is higher than the EPA’s action level.

We can compute a 99% confidence interval for the same data to get a likely range for the actual mean concentration μ of this specimen.

Example 6.18 99% confidence interval for the mean concentration.

Data set icon for pbtest.

The 99% confidence interval for μ in Example 6.17 is

x¯±z*σn=15.58±2.576(0.25/3)=15.58±0.37=(15.21,15.95)

The hypothesized value μ0=15.00 in Example 6.17 falls outside the confidence interval we computed in Example 6.18. In other words, it is in the region we are 99% confident that μ is not in. Thus, we can reject

H0:μ=15.00

at the 1% significance level. On the other hand, we cannot reject

H0:μ=15.30

at the 1% level in favor of the two-sided alternative Ha:μ15.30, because 15.30 lies inside the 99% confidence interval for μ. Figure 6.13 illustrates both cases.

A plot of a confidence interval.

Figure 6.13 The link between two-sided significance tests and confidence intervals. For the study described in Examples 6.17 and 6.18, values of μ falling outside a 99% confidence interval can be rejected at the 1% significance level; values falling inside the interval cannot be rejected. This holds for any significance level α and 1α confidence interval.

The calculation in Example 6.17 for a 1% significance test is very similar to the calculation for a 99% confidence interval. In fact, a two-sided test at significance level α can be carried out directly from a confidence interval with confidence level C=1α.

Check-in
  1. 6.21 Two-sided significance tests and confidence intervals. The P-value for a two-sided significance test with null hypothesis H0:μ=30 is 0.037.

    1. Does the 95% confidence interval include the value 30? Explain.

    2. Does the 99% confidence interval include the value 30? Explain.

  2. 6.22 More on two-sided significance tests and confidence intervals. A 95% confidence interval for a population mean is (29, 58).

    1. Can you reject the null hypothesis that μ=50 against the two-sided alternative at the 5% significance level? Explain.

    2. Can you reject the null hypothesis that μ=60 against the two-sided alternative at the 5% significance level? Explain.

The P-value versus a statement of significance

The observed result in Example 6.17 was z=4.02. The conclusion that this result is significant at the 1% level does not tell the whole story. The observed z is far beyond the z corresponding to 1%, and the evidence against H0 is far stronger than 1% significance suggests. The actual P-value

2P(Z4.02)=0.000058

gives a better sense of how strong the evidence is. The P-value is the smallest level α at which the data are significant. Knowing the P-value allows us to assess significance at any level.

Example 6.19 Test of the mean SATM score: Significance.

In Example 6.16, we tested the hypotheses

H0:μ=495Ha:μ495

concerning the mean SAT Mathematics score μ of California high school seniors. The test had the P-value P=0.0125. This result is significant at the α=0.05 level because 0.01250.05. It is not significant at the α=0.01 level, because the P-value is larger than 0.01. See Figure 6.14.

A plot of a confidence interval.

Figure 6.14 Link between the P-value and the significance level α. An outcome with P-value P is significant at all levels α at or above P and is not significant at smaller levels α.

A P-value is more informative than a reject-or-not finding at a fixed significance level. But assessing significance at a fixed-level α is easier because no probability calculation is required. You need only look up a number in a table. A value z* with a specified area to its right under the standard Normal curve is called a critical value of the standard Normal distribution. The range of values beyond z* is called the rejection region. Because the practice of statistics almost always employs computer software or a calculator that calculates P-values automatically, the use of tables of critical values is outdated. We include the usual tables of critical values (such as Table D) at the end of the book primarily for learning purposes. The tables can be used directly to carry out fixed α tests. They also allow us to approximate P-values quickly without a probability calculation. The following example illustrates the use of Table D to find an approximate P-value.

Example 6.20 Average grants and scholarships amount of planners and nonplanners: Assessing significance.

In Example 6.11 (page 351), we found the test statistic z=0.72 for testing the null hypothesis of no difference in the mean grant and scholarship amount between planners and nonplanners. The alternative was two-sided. Under the null hypothesis, z has a standard Normal distribution, and from the last row in Table D, we can see that there is a 95% chance that z is between ±1.96. Therefore, we reject H0 in favor of Ha whenever z is outside this range. Because our calculated value is 0.72, we are within the range and we do not reject the null hypothesis at the 5% level of significance.

Check-in
  1. 6.23 P-value and the significance level. The P-value for a significance test is 0.033.

    1. Do you reject the null hypothesis at level α=0.05?

    2. Do you reject the null hypothesis at level α=0.01?

    3. Explain how you determined your answers to parts (a) and (b).

  2. 6.24 More on P-value and the significance level. The P-value for a significance test is 0.069.

    1. Do you reject the null hypothesis at level α=0.05?

    2. Do you reject the null hypothesis at level α=0.01?

    3. Explain how you determined your answers to parts (a) and (b).

  3. 6.25 One-sided and two-sided P-values. The P-value for a two-sided significance test is 0.084.

    1. State the P-values for the two one-sided tests.

    2. What additional information do you need to properly assign these P-values to the > and < (one-sided) alternatives?

Section 6.2 SUMMARY

  • A test of significance is intended to assess the evidence provided by data against a null hypothesis H0 in favor of an alternative hypothesis Ha.

  • The hypotheses are stated in terms of population parameters. Usually H0 is a statement that no effect or no difference is present, and Ha says that there is an effect or difference, in a specific direction (one-sided alternative) or in either direction (two-sided alternative).

  • The test is based on a test statistic. The P-value is the probability, computed assuming that H0 is true, that the test statistic will take a value at least as extreme as that actually observed. Small P-values indicate strong evidence against H0. Calculating P-values requires knowledge of the sampling distribution of the test statistic when H0 is true.

  • If the P-value is as small as or smaller than a specified value α, the data are statistically significant at significance level α.

  • Significance tests for the hypothesis H0:μ=μ0 concerning the unknown mean μ of a population with known standard deviation σ are based on the z test statistic:

    z=x¯μ0σ/n

    This test assumes that the sample is an SRS of size n and either a Normal population or a large enough sample size n. P-values are computed from the Normal distribution (Table A). Fixed α tests use the table of standard Normal critical values (Table D).

Section 6.2 EXERCISES

  1. 6.26 What’s wrong? For each of the following statements, explain what is wrong and why.

    1. A researcher tests the following null hypothesis: H0:x¯=23.

    2. A random sample of size 30 is taken from a population that is assumed to have a standard deviation of 5. The standard deviation of the sample mean is 5/30.

    3. A study with x¯=45 reports statistical significance when Ha:μ>50.

    4. A researcher tests the hypothesis H0:μ=350 and concludes that the population mean is equal to 350.

  2. 6.27 What’s wrong? For each of the following statements, explain what is wrong and why.

    1. A significance test rejected the null hypothesis that the sample mean is equal to 500.

    2. A test preparation company wants to test that the average score of its students on the ACT is better than the national average score of 21.2. The company states its null hypothesis to be H0:μ>21.2.

    3. A study summary says that the results are statistically significant with P=0.98.

    4. The z test statistic is equal to 0.018. Because this is less than α=0.05, the null hypothesis was rejected.

  3. 6.28 Determining hypotheses. State the appropriate null hypothesis H0 and alternative hypothesis Ha in each of the following cases.

    1. A 2019 study reported that 97.8% of college students own a cell phone. You plan to take an SRS of college students to see if the percent has increased.

    2. The examinations in a large freshman chemistry class are scaled after grading so that the mean score is 75. The professor thinks that students who do not attend their recitation section will have a lower mean score than the class as a whole. This semester’s students who do not attend their recitation can be considered a sample from the population of all students who would not attend, so she compares their mean score with 75.

    3. The student newspaper at your college recently changed the format of its opinion page. You want to test whether students find the change an improvement. You take a random sample of students who regularly read the newspaper. They are asked to indicate their opinions on the changes using a five-point scale: 2 if the new format is much worse than the old, 1 if the new format is somewhat worse than the old, 0 if the new format is the same as the old, +1 if the new format is somewhat better than the old, and +2 if the new format is much better than the old.

  4. 6.29 More on determining hypotheses. State the null hypothesis H0 and the alternative hypothesis Ha in each case. Be sure to identify the parameters that you use to state the hypotheses.

    1. A university gives credit in first-year calculus to students who pass a placement test. The mathematics department wants to know if students who get credit in this way differ in their success with second-year calculus. Scores in second-year calculus are scaled so the average each year is equivalent to a 77. This year, 21 students who took second-year calculus passed the placement test.

    2. Experiments on learning in animals sometimes measure how long it takes a mouse to find its way through a maze. The mean time is 20 seconds for one particular maze. A researcher thinks that playing rap music will cause the mice to complete the maze more slowly. She measures how long each of 12 mice takes with the rap music as a stimulus.

    3. The average square footage of one-bedroom apartments in a new student-housing development is advertised to be 880 square feet. A student group thinks that the apartments are smaller than advertised. They hire an engineer to measure a sample of apartments to test their suspicion.

  5. 6.30 Even more on determining hypotheses. In each of the following situations, state an appropriate null hypothesis H0 and alternative hypothesis Ha. Be sure to identify the parameters that you use to state the hypotheses. (We have not yet learned how to test these hypotheses.)

    1. A sociologist asks a large sample of high school students which television channel they like best. She suspects that a higher percent of males than of females will name MTV as their favorite channel.

    2. An education researcher randomly divides sixth-grade students into two groups for physical education class. He teaches both groups basketball skills, using the same methods of instruction in both classes. He encourages Group A with compliments and other positive behavior but acts cool and neutral toward Group B. He hopes to show that positive teacher attitudes result in a higher mean score on a test of basketball skills than do neutral attitudes.

    3. An education researcher believes that, among college students, there is a negative correlation between time spent at social network sites and self-esteem, measured on a scale of 0–100. To test this, she gathers social-networking information and self-esteem data from a sample of students at your college.

  6. 6.31 Translating research questions into hypotheses. Translate each of the following research questions into appropriate H0 and Ha.

    1. U.S. Census Bureau data show that the mean household income in the area served by a shopping mall is $78,800 per year. A market research firm questions shoppers at the mall to find out whether the mean household income of mall shoppers is higher than that of the general population.

    2. Last year, your online registration technicians took an average of 0.4 hour to respond to trouble calls from students trying to register. Do this year’s data show a different average response time?

    3. In 2019, Netflix’s vice president of original content stated that the average Netflix subscriber spends two hours a day on the service.15 Because of an increase in competing services, you believe this average has declined this year.

  7. 6.32 Computing the P-value. A test of the null hypothesis H0:μ=μ0 gives test statistic z=1.37.

    1. What is the P-value if the alternative is Ha:μ>μ0?

    2. What is the P-value if the alternative is Ha:μ<μ0?

    3. What is the P-value if the alternative is Ha:μμ0?

  8. 6.33 More on computing the P-value. A test of the null hypothesis H0:μ=μ0 gives test statistic z=2.59.

    1. What is the P-value if the alternative is Ha:μ>μ0?

    2. What is the P-value if the alternative is Ha:μ<μ0?

    3. What is the P-value if the alternative is Ha:μμ0?

  9. 6.34 Consumption of neurotoxic insecticide delays migration. Some Canadian researchers recently investigated the impact of songbirds consuming a widely used insecticide.16 They reported that white-crowned sparrows fed 1.2 mg/kg body mass of imidacloprid had an average mass loss of 3% (P=0.005) just six hours after dosing. They argue that this immediate weight loss results in the birds delaying their migration. Explain what this P=0.005 means in a way that could be understood by someone who has not studied statistics.

  10. 6.35 Average starting salary, continued. Refer to Exercise 6.12 (page 345). Use the information presented in the exercise to test whether the average income of graduates from your institution is different from the national average (α=0.05). Write a short paragraph summarizing your conclusions.

  11. 6.36 Change in consumption of sweet snacks? Refer to Exercise 6.13 (page 345). A similar study performed four years earlier reported the average consumption of sweet snacks among healthy-weight children aged 12 to 19 years to be 369.4 kilocalaries per day (kcal/d). Does this current study suggest a change in the average consumption? Perform a significance test using the 5% significance level. Write a short paragraph summarizing the results.

  12. 6.37 Peer pressure and choice of major. A study followed a cohort of students entering a business/economics program.17 All students followed a common track during the first three semesters and then chose to specialize in either business or economics. Through a series of surveys, the researchers were able to classify roughly 50% of the students as either peer driven (ignored abilities and chose major to follow peers) or ability driven (ignored peers and chose major based on ability). When looking at entry wages after graduation, the researchers conclude that a peer-driven student can expect an average wage that is 13% less than that of an ability-driven student. The report states that the significance level is P=0.09. Can you be confident of the researchers’ conclusion statement regarding the wage decrease? Explain your answer.

  13. 6.38 Symbol of wealth in ancient China? Every society has its own symbols of wealth and prestige. In ancient China, it appears that owning pigs was such a symbol. Evidence comes from examining burial sites. If the skulls of sacrificed pigs tend to appear along with expensive ornaments, that suggests that the pigs, like the ornaments, signal the wealth and prestige of the person buried. A study of burials from around 3500 b.c. concluded that “there are striking differences in grave goods between burials with pig skulls and burials without them . . .. A test indicates that the two samples of total artifacts are significantly different at the 0.01 level.”18 Explain clearly why “significantly different at the 0.01 level” gives good reason to think that there really is a systematic difference between burials that contain pig skulls and those that lack them.

  14. 6.39 Alcohol awareness among college students. A study of alcohol awareness among college students reported a higher awareness for students enrolled in a health and safety class than for those enrolled in a statistics class.19 The difference is described as being statistically significant. Explain what this means in simple terms and offer an explanation for why the health and safety students had a higher mean score.

  15. NAEP 6.40 Are the pine trees randomly distributed from north to south? In Example 6.1 (page 329), we looked at the distribution of longleaf pine trees in the Wade Tract. One way to formulate hypotheses about whether or not the trees are randomly distributed in the tract is to examine the average location in the north–south direction. The values range from 0 to 200, so if the trees are uniformly distributed in this direction, any difference from the middle value (100) should be due to chance variation. The sample mean for the 584 trees in the tract is 99.74. A theoretical calculation based on the assumption that the trees are uniformly distributed gives a standard deviation of 58. Carefully state the null and alternative hypotheses in terms of this variable. Note that this requires that you translate the research question about the random distribution of the trees into specific statements about the mean of a probability distribution. Test your hypotheses, report your results, and write a short summary of what you have found.

  16. NAEP 6.41 Are the pine trees randomly distributed from east to west? Answer the questions in the previous exercise for the east–west direction, for which the sample mean is 113.8.

  17. 6.42 Who is the author? Statistics can help decide the authorship of literary works. Sonnets by a certain Elizabethan poet are known to contain an average of μ=8.9 new words (words not used in the poet’s other works). The standard deviation of the number of new words is σ=2.5. Now a manuscript with six new sonnets has come to light, and scholars are debating whether it is the poet’s work. The new sonnets contain an average of x¯=10.2 words not used in the poet’s known works. We expect poems by another author to contain more new words, so to see if we have evidence that the new sonnets are not by our poet, we test

    H0:μ=8.9Ha:μ>8.9

    Give the z test statistic and its P-value. What do you conclude about the authorship of the new poems?

  18. 6.43 Attitudes toward school. The Survey of Study Habits and Attitudes (SSHA) is a psychological test that measures the motivation, attitude toward school, and study habits of students. Each scores ranges from 0 to 200. The mean attitude score for U.S. college students is about 110, and the standard deviation is about 25. A teacher who suspects that older students have better attitudes toward school gives the SSHA to 25 students who are at least 30 years of age. Their mean score is x¯=118.3.

    1. Assuming that σ=25 for the population of older students, carry out a test of

      H0:μ=110Ha:μ>110

      Report the P-value of your test and state your conclusion clearly.

    2. Your test in part (a) required two important assumptions in addition to the assumption that the value of σ is known. What are they? Which of these assumptions is most important to the validity of your conclusion in part (a)?

  19. 6.44 Nutritional intake among Canadian high-performance athletes. Since previous studies have reported that elite athletes are often deficient in their nutritional intake (for example, total calories, carbohydrates, protein), a group of researchers decided to evaluate Canadian high-performance athletes.20 A total of n=324 athletes from eight Canadian sports centers participated in the study. One reported finding was that the average caloric intake among the n=201 women was 2403.7 kilocalories per day (kcal/d). The recommended amount is 2811.5 kcal/d. Is there evidence that female Canadian athletes are deficient in caloric intake?

    1. State the appropriate H0 and Ha to test this.

    2. Assuming a standard deviation of 880 kcal/d, carry out the test. Give the P-value, and then interpret the result in plain language.

  20. 6.45 Fuel economy. In 2017, the Environmental Protection Agency (EPA) changed how it calculates window-sticker gas mileage. For many models, this meant a 12 miles per gallon (mpg) reduction in combined highway/city mileage.21 Here are some combined mpg test values for the 2018 Toyota RAV4 LE: Data set icon for mileage.

    25.9 25.4 24.7 26.1 24.7 25.7 25.2 26.2
    26.1 25.3 24.3 24.6 26.5 25.8 25.8 25.6

    The average combined mpg for the 2017 Toyota RAV4 LE was 26.0 mpg. Using σ=0.85mpg, is the average combined mpg for the 2018 model lower?

  21. Applet 6.46 Impact of x¯ on significance. The Statistical Significance applet illustrates statistical tests with a fixed level of significance for Normally distributed data with known standard deviation. Open the applet and set the null hypothesis to μ=0, the alternative hypothesis to μ>0, the sample size to n=10, the standard deviation to σ=1, the significance level to α=0.05, and the observed x¯ to 1. Is the difference between x¯ and μ0 significant at the 5% level? Repeat for x¯ equal to 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9. Make a table giving x¯ and the results of the significance tests. What do you conclude?

  22. Applet 6.47 Effect of changing α on significance. Repeat the previous exercise with significance level α=0.01. How does the choice of α affect which values of x¯ are far enough away from μ0 to be statistically significant?

  23. Applet 6.48 Changing to a two-sided alternative. Repeat the previous exercise but with the two-sided alternative hypothesis. How does this change affect which values of x¯ are far enough away from μ0 to be statistically significant at the 0.01 level?

  24. Applet 6.49 Changing the sample size. Refer to Exercise 6.46. Suppose that you increase the sample size n from 10 to 100. Again, make a table giving x¯ and the results of the significance tests at the 0.05 significance level. What do you conclude?

  25. Applet 6.50 Impact of x¯ on the P-value. We can study the P-value by using the Statistical Significance applet. Set the null hypothesis to μ=0, the alternative hypothesis to μ>0, the sample size to n=10, the standard deviation to σ=1, the significance level to σ=0.05, and the observed x¯ to x¯=1. What is the P-value? Repeat for x¯ equal to 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9. Make a table giving x¯ and P-values. How does the P-value change as x¯ moves farther away from μ0?

  26. Applet 6.51 Changing to a two-sided alternative, continued. Repeat the previous exercise but with the two-sided alternative hypothesis. How does this change affect the P-values associated with each x¯? Explain why the P-values change in this way.

  27. Applet 6.52 Other changes and the P-value. Refer to the previous exercise.

    1. What happens to the P-values when you change the significance level α to 0.01? Explain the result.

    2. What happens to the P-values when you change the sample size n from 10 to 100? Explain the result.

  28. 6.53 Understanding levels of significance. Explain in plain language why a significance test that is significant at the 1% level must always be significant at the 5% level.

  29. 6.54 More on understanding levels of significance. You are told that a significance test is significant at the 5% level. From this information, can you determine whether or not it is significant at the 1% level? Explain your answer.

  30. 6.55 Test statistic and levels of significance. Consider a significance test for a null hypothesis versus a two-sided alternative. Give a value of z that will give a result significant at the 1% level but not at the 0.5% level.

  31. 6.56 Using Table D to find a P-value. You have performed a two-sided test of significance and obtained a value of z=2.08. Use Table D to find the approximate P-value for this test.

  32. 6.57 More on using Table D to find a P-value. You have performed a one-sided test of significance and obtained a value of z=1.03. Use Table D to find the approximate P-value for this test when the alternative is greater than.

  33. 6.58 Using Table A and Table D to find a P-value. Consider a significance test for a null hypothesis versus a two-sided alternative. Between what values from Table D does the P-value for an outcome z=1.88 lie? Calculate the P-value using Table A and verify that it lies between the values you found from Table D.

  34. 6.59 More on using Table A and Table D to find a P-value. Refer to the previous exercise. Find the P-value for z=1.88.