<< Chapter < Page | Chapter >> Page > |
In general, without changing the sample size or the type of the test of the hypothesis, a decrease in causes an increase in , and a decrease in causes an increase in . Both probabilities and of the two types of errors can be decreased only by increasing the sample size or, in some way, constructing a better test of the hypothesis.
If n =100 and we desire a test with significance level =0.05, then means, since is ,
and . Thus c =61.645. The power function is
In particular, this means that at =65 is so, with n =100, both and have decreased from their respective original values of 0.1587 and 0.0668 when n =25. Rather than guess at the value of n , an ideal power function determines the sample size. Let us use a critical region of the form . Further, suppose that we want =0.025 and, when =65, =0.05. Thus, since is ,
and
That is, and .
Solving these equations simultaneously for c and , we obtain
Thus, and . Since n must be an integer, we would use n =52 and obtain =0.025 and =0.05, approximately.
For a number of years there has been another value associated with a statistical test, and most statistical computer programs automatically print this out; it is called the probability value or, for brevity, p -value . The p -value associated with a test is the probability that we obtain the observed value of the test statistic or a value that is more extreme in the direction of the alternative hypothesis, calculated when is true. Rather than select the critical region ahead of time, the p -value of a test can be reported and the reader then makes a decision.
Say we are testing against with a sample mean based on n =52 observations. Suppose that we obtain the observed sample mean of . If we compute the probability of obtaining an of that value of 62.75 or greater when =60, then we obtain the p -value associated with . That is,
If this p -value is small, we tend to reject the hypothesis . For example, rejection of if the p -value is less than or equal to 0.025 is exactly the same as rejection if .That is, has a p -value of 0.025. To help keep the definition of p -value in mind, we note that it can be thought of as that tail-end probability , under , of the distribution of the statistic, here , beyond the observed value of the statistic. See Figure 1 for the p -value associated with
Suppose that in the past, a golfer’s scores have been (approximately) normally distributed with mean =90 and =9. After taking some lessons, the golfer has reason to believe that the mean has decreased. (We assume that is still about 9.) To test the null hypothesis against the alternative hypothesis , the golfer plays 16 games, computing the sample mean .If is small, say , then is rejected and accepted; that is, it seems as if the mean has actually decreased after the lessons. If c =88.5, then the power function of the test is
Because 9/16 is the variance of . In particular,
If, in fact, the true mean is equal to =88 after the lessons, the power is . If =87, then . An observed sample mean of has a
and this would lead to a rejection at =0.0228 (or even =0.01).
Notification Switch
Would you like to follow the 'Introduction to statistics' conversation and receive update notifications?