levine smume7 bonus ch09

6

Click here to load reader

Upload: kiran-soni

Post on 25-Oct-2015

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Levine Smume7 Bonus Ch09

9.6 the power of a test 9-1

Section 9.1 defined type I and type II errors and their associated risks. recall that a rep-resents the probability that you reject the null hypothesis when it is true and should not be rejected, and b represents the probability that you do not reject the null hypothesis when it is false and should be rejected. the power of the test, 1 - b, is the probability that you correctly reject a false null hypothesis. this probability depends on how different the actual population parameter is from the value being hypothesized (under H0), the value of a used, and the sam-ple size. If there is a large difference between the population parameter and the hypothesized value, the power of the test will be much greater than if the difference between the population parameter and the hypothesized value is small. Selecting a larger value of a makes it easier to reject H0 and therefore increases the power of a test. Increasing the sample size increases the precision in the estimates and therefore increases the ability to detect differences in the param-eters and increases the power of a test.

the power of a statistical test can be illustrated by using the Oxford Cereal Company sce-nario. the filling process is subject to periodic inspection from a representative of the consumer affairs office. the representative’s job is to detect the possible “short weighting” of boxes, which means that cereal boxes having less than the specified 368 grams are sold. thus, the representative is interested in determining whether there is evidence that the cereal boxes have a mean weight that is less than 368 grams. the null and alternative hypotheses are as follows:

H0: m Ú 368 1filling process is working properly2 H1: m 6 368 1filling process is not working properly2

the representative is willing to accept the company’s claim that the standard deviation, s, equals 15 grams. therefore, you can use the Z test. Using equation (9.1) on page 302, with XL (the lower critical X value) substituted for X, you can find the value of X that enables you to reject the null hypothesis:

Z =XL - m

s1n

Za>2 s1n

= XL - m

XL = m + Za>2 s1n

Because you have a one-tail test with a level of significance of 0.05, the value of Za>2 is equal to -1.645 (see Figure 9.15). the sample size n = 25. therefore,

XL = 368 + 1-1.6452 1152125

= 368 - 4.935 = 363.065

the decision rule for this one-tail test is

reject H0 if X 6 363.065;

otherwise, do not reject H0.

9.6 The Power of a Test

F i g U R e 9 . 1 5 Determining the lower critical value for a one-tail Z test for a population mean at the 0.05 level of significance

Region ofRejection

Region ofNonrejection

XL µ = 368

ZL = –1.645 Z

.05

0

X

.95

Z10_LEVI1819_07_OM_BONUS_PP2.indd 1 2/11/13 10:21 AM

Page 2: Levine Smume7 Bonus Ch09

9-2 Chapter 9 Fundamentals of hypothesis testing: One-Sample tests

the decision rule states that if in a random sample of 25 boxes, the sample mean is less than 363.065 grams, you reject the null hypothesis, and the representative concludes that the process is not working properly. the power of the test measures the probability of concluding that the process is not working properly for differing values of the true population mean.

What is the power of the test if the actual population mean is 360 grams? to determine the chance of rejecting the null hypothesis when the population mean is 360 grams, you need to determine the area under the normal curve below XL = 363.065 grams. Using equation (9.1), with the population mean m = 360,

ZSTAT =X - m

s1n

=363.065 - 360

15125

= 1.02

From table e.2, there is an 84.61% chance that the Z value is less than +1.02. this is the power of the test where m is the actual population mean (see Figure 9.16). the probability 1b2 that you will not reject the null hypothesis 1m = 3682 is 1 - 0.8461 = 0.1539. thus, the probability of committing a type II error is 15.39%.

Now that you have determined the power of the test if the population mean were equal to 360, you can calculate the power for any other value of m. For example, what is the power of the test if the population mean is 352 grams? assuming the same standard deviation, sample size, and level of significance, the decision rule is

reject H0 if X 6 363.065

otherwise, do not reject H0.

Once again, because you are testing a hypothesis for a mean, from equation (9.1),

ZSTAT =X - m

s1n

If the population mean shifts down to 352 grams (see Figure 9.17), then

ZSTAT =363.065 - 352

15125

= 3.69

F i g U R e 9 . 1 6 Determining the power of the test and the probability of a Type ii error when m = 360 grams

µ = 360 XL = 363.065

Z0 +1.02

X

.1539

Power = .8461

Z10_LEVI1819_07_OM_BONUS_PP2.indd 2 2/11/13 10:21 AM

Page 3: Levine Smume7 Bonus Ch09

9.6 the power of a test 9-3

From table e.2, there is a 99.989% chance that the Z value is less than +3.69. this is the power of the test when the population mean is 352. the probability 1b2 that you will not reject the null hypothesis 1m = 3682 is 1 - 0.99989 = 0.00011. thus, the probability of commit-ting a type II error is only 0.011%.

In the preceding two examples, the power of the test is high, and the chance of commit-ting a type II error is low. In the next example, you compute the power of the test when the population mean is equal to 367 grams—a value that is very close to the hypothesized mean of 368 grams.

Once again, from equation (9.1),

ZSTAT =X - m

s1n

If the population mean is equal to 367 grams (see Figure 9.18), then

ZSTAT =363.065 - 367

15125

= -1.31

From table e.2, the probability less than Z = -1.31 is 0.0951 (or 9.51%). Because the rejec-tion region is in the lower tail of the distribution, the power of the test is 9.51%, and the chance of making a type II error is 90.49%.

Figure 9.19 illustrates the power of the test for various possible values of m (including the three values examined). this graph is called a power curve.

F i g U R e 9 . 1 7 Determining the power of the test and the probability of a Type ii error when m = 352 grams

µ = 352 XL = 363.065

Z0 +3.69

X

� = .00011

Power = .99989

F i g U R e 9 . 1 8 Determining the power of the test and the probability of a Type ii error when m = 367 grams

µ = 367XL = 363.065

Z0–1.31

X

Power = .0951

� = .9049

Z10_LEVI1819_07_OM_BONUS_PP2.indd 3 2/11/13 10:21 AM

Page 4: Levine Smume7 Bonus Ch09

9-4 Chapter 9 Fundamentals of hypothesis testing: One-Sample tests

From Figure 9.19, you can see that the power of this one-tail test increases sharply (and approaches 100%) as the population mean takes on values farther below the hypothesized mean of 368 grams. Clearly, for this one-tail test, the smaller the actual mean m, the greater the power to detect this difference.1 For values of m close to 368 grams, the power is small be-cause the test cannot effectively detect small differences between the actual population mean and the hypothesized value of 368 grams. When the population mean approaches 368 grams, the power of the test approaches a, the level of significance (which is 0.05 in this example).

Figure 9.20 summarizes the computations for the three cases. You can see the drastic changes in the power of the test for different values of the actual population means by review-ing the different panels of Figure 9.20. From panels A and B you can see that when the popula-tion mean does not greatly differ from 368 grams, the chance of rejecting the null hypothesis, based on the decision rule involved, is not large. however, when the population mean shifts substantially below the hypothesized 368 grams, the power of the test greatly increases, ap-proaching its maximum value of 1 (or 100%).

In the above discussion, a one-tail test with a = 0.05 and n = 25 was used. the type of statistical test (one-tail vs. two-tail), the level of significance, and the sample size all affect the power. three basic conclusions regarding the power of the test are summarized below:

1. a one-tail test is more powerful than a two-tail test. 2. an increase in the level of significance 1a2 results in an increase in power. a decrease in

a results in a decrease in power. 3. an increase in the sample size, n, results in an increase in power. a decrease in the sample

size, n, results in a decrease in power.

1For situations involving one-tail tests in which the actual mean, m1, exceeds the hypothesized mean, the converse would be true. the larger the actual mean, m1, com-pared with the hypothesized mean, the greater is the power. For two-tail tests, the greater the distance between the actual mean, m1, and the hypothesized mean, the greater the power of the test.

F i g U R e 9 . 1 9 Power curve of the cereal-box-filling process for H1: m 6 368 grams

1.00

352 353 354

Po

wer

355 356 357 358 359 360Possible Values for µ (grams)

361 362 363 364 365 366 367 368

0.90

0.80

0.70

0.60

0.50

0.40

0.30

0.20

0.10

0.00

.99989

.99961 .9964 .9783.9545

.9131.8461

.7549

.6406

.5080

.3783

.2578

.1635.0951

.0500

.99874 .9909

Z10_LEVI1819_07_OM_BONUS_PP2.indd 4 2/11/13 10:21 AM

Page 5: Levine Smume7 Bonus Ch09

9.6 the power of a test 9-5

F i g U R e 9 . 2 0 Determining statistical power for varying values of the population mean

Panel A

One-tail testµ = 368 (null hypothesis is true)

XL = 368 – (1.645) = 363.06515

25���

Decision rule: Reject H0 if X < 363.065; otherwisedo not reject

α = .050

368

363.065 – 3673

XL = 363.065

Panel B

H0: µ = 368

µ = 367 (true mean shifts to 367 grams)

= –1.31

Power = .0951

Power = .0951

367

X – µσ

363.065 – 3603

Panel C

Given: α = .05, σ = 15, n = 25One-tail test

H0: µ = 368

µ = 360 (true mean shifts to 360 grams)

ZSTAT = = = +1.02

n��

Power = .8461

Power = .8461

360

X – µσ

363.065 – 3523

Panel D

Given: α = .05, σ = 15, n = 25One-tail test

H0: µ = 368

µ = 352 (true mean shifts to 352 grams)

ZSTAT = = = +3.69

n��

Power = .99989

Power = .99989

352XL = 363.065

Region of Nonrejection

1 – α = .95

Region of Rejection

Region of NonrejectionRegion of Rejection

� = .9049

� = .1539

� = .00011

X – µσZSTAT = =

n��

Given: α = .05, σ = 15, n = 25One-tail test

Given: α = .05, σ = 15, n = 25

X

X

X

X

Z10_LEVI1819_07_OM_BONUS_PP2.indd 5 2/11/13 10:21 AM

Page 6: Levine Smume7 Bonus Ch09

9-6 Chapter 9 Fundamentals of hypothesis testing: One-Sample tests

aPPlyiNg The CoNCePTS9.80 a coin-operated soft-drink machine is designed to discharge at least 7 ounces of beverage per cup, with a standard deviation of 0.2 ounce. If you select a random sam-ple of 16 cups and you are willing to have an a = 0.05 risk of committing a type I error, compute the power of the test and the probability of a type II error 1b2 if the population mean amount dispensed is actuallya. 6.9 ounces per cup.b. 6.8 ounces per cup.

9.81 refer to problem 9.80. If you are willing to have an a = 0.01 risk of committing a type I error, compute the power of the test and the probability of a type II error 1b2 if the population mean amount dispensed is actuallya. 6.9 ounces per cup.b. 6.8 ounces per cup.c. Compare the results in (a) and (b) of this problem and in

problem 9.80. What conclusion can you reach?

9.82 refer to problem 9.80. If you select a random sample of 25 cups and are willing to have an a = 0.05 risk of com-mitting a type I error, compute the power of the test and the probability of a type II error 1b2 if the population mean amount dispensed is actuallya. 6.9 ounces per cup.b. 6.8 ounces per cup.c. Compare the results in (a) and (b) of this problem and in

problem 9.80. What conclusion can you reach?

9.83 a tire manufacturer produces tires that have a mean life of at least 25,000 miles when the production process is working properly. Based on past experience, the stand-ard deviation of the tires is 3,500 miles. the operations manager stops the production process if there is evidence that the mean tire life is below 25,000 miles. If you select a random sample of 100 tires (to be subjected to destructive

Problems for Section 9.6testing) and you are willing to have an a = 0.05 risk of committing a type I error, compute the power of the test and the probability of a type II error 1b2 if the population mean life is actuallya. 24,000 miles.b. 24,900 miles.

9.84 refer to problem 9.83. If you are willing to have an a = 0.01 risk of committing a type I error, compute the power of the test and the probability of a type II error 1b2 if the population mean life is actuallya. 24,000 miles.b. 24,900 miles.c. Compare the results in (a) and (b) of this problem and (a)

and (b) in problem 9.83. What conclusion can you reach?

9.85 refer to problem 9.83. If you select a random sample of 25 tires and are willing to have an a = 0.05 risk of com-mitting a type I error, compute the power of the test and the probability of a type II error 1b2 if the population mean life is actuallya. 24,000 miles.b. 24,900 miles.c. Compare the results in (a) and (b) of this problem and (a)

and (b) in problem 9.83. What conclusion can you reach?

9.86 refer to problem 9.83. If the operations manager stops the process when there is evidence that the mean life is different from 25,000 miles (either less than or greater than) and a random sample of 100 tires is selected, along with a level of significance of a = 0.05, compute the power of the test and the probability of a type II error 1b2 if the popula-tion mean life is actuallya. 24,000 miles.b. 24,900 miles.c. Compare the results in (a) and (b) of this problem and (a)

and (b) in problem 9.83. What conclusion can you reach?

Z10_LEVI1819_07_OM_BONUS_PP2.indd 6 2/11/13 10:21 AM