25.11.2014 Views

Biostatistics

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

278 CHAPTER 7 HYPOTHESIS TESTING<br />

In many statistical inference procedures, the investigator wishes to consider the type<br />

II error as well as the type I error when determining the sample size. To illustrate the<br />

procedure, we refer again to Example 7.9.2.<br />

EXAMPLE 7.10.1<br />

In Example 7.9.2, the hypotheses are<br />

H 0 : m 65; H A : m < 65<br />

The population standard deviation is 15, and the probability of a type I error is set at .01.<br />

Suppose that we want the probability of failing to reject H 0 ðbÞ to be .05 if H 0 is false<br />

because the true mean is 55 rather than the hypothesized 65. How large a sample do we<br />

need in order to realize, simultaneously, the desired levels of a and b?<br />

Solution:<br />

For a ¼ :01 and n ¼ 20; b is equal to .2743. The critical value is 57. Under the<br />

new conditions, the critical value is unknown. Let us call this new critical value<br />

C. Let m 0 be the hypothesized mean and m 1 the mean under the alternative<br />

hypothesis. We can transform each of the relevant sampling distributions of x,<br />

the one with a mean of m 0 and the one with a mean of m 1 to a z distribution.<br />

Therefore, we can convert C to a z value on the horizontal scale of each of the<br />

two standard normal distributions. When we transform the sampling distribution<br />

of x that has a mean of m 0 to the standard normal distribution, we call the z<br />

that results z 0 . When we transform the sampling distribution x that has a<br />

mean of m 1 to the standard normal distribution, we call the z that results z 1 .<br />

Figure 7.10.1 represents the situation described so far.<br />

We can express the critical value C as a function of z 0 and m 0 and also as<br />

a function of z 1 and m 1 . This gives the following equations:<br />

s<br />

C ¼ m 0 z 0 p ffiffiffi<br />

(7.10.1)<br />

n<br />

s<br />

C ¼ m 1 þ z 1 p ffiffiffi<br />

(7.10.2)<br />

n<br />

a<br />

b<br />

m 1 C m 0<br />

x – z<br />

0<br />

z 1<br />

0<br />

z 0<br />

z<br />

FIGURE 7.10.1 Graphic representation of relationships in determination<br />

of sample size to control both type I and type II errors.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!