<< Chapter < Page Chapter >> Page >

The research worker’s hypothesis H 1 : p < 0.05 is called the alternative hypothesis . Since H 1 : p < 0.05 does not completely specify the distribution, it is a composite hypothesis because it is composed of many simple hypotheses.

The rule of rejecting H 0 and accepting H 1 if Y 5 , and otherwise accepting H 0 is called a test of a statistical hypothesis .

    It is clearly seen that two types of errors can be recorded

  • Type I error: Rejecting H 0 and accepting H 1 , when H 0 is true;
  • Type II error: Accepting H 0 when H 1 is true, that is, when H 0 is false.

Since, in the example above, we make a Type I error if Y 5 when in fact p =0.05. we can calculate the probability of this error, which we denote by α and call the significance level of the test . Under an assumption, it is α = P ( Y 5 ; p = 0.05 ) = y = 0 5 ( 200 y ) ( 0.05 ) y ( 0.95 ) 200 y . .

Since n is rather large and p is small, these binomial probabilities can be approximated extremely well by Poisson probabilities with λ = 200 ( 0.05 ) = 10. That is, from the Poisson table, the probability of the Type I error is α y = 0 5 10 y e 10 y ! = 0.067.

Thus, the approximate significance level of this test is α = 0.067 . This value is reasonably small. However, what about the probability of Type II error in case p has been improved to 0.02, say? This error occurs if Y > 5 when, in fact, p =0.02; hence its probability, denoted by β , is β = P ( Y > 5 ; p = 0.02 ) = y = 6 200 ( 200 y ) ( 0.02 ) y ( 0.98 ) 200 y .

Again we use the Poisson approximation, here λ =200(0 .02)=4 , to obtain β 1 y = 0 5 4 y e 4 y ! = 1 0.785 = 0.215.

The engineers and the statisticians who created this new procedure probably are not too pleased with this answer. That is, they note that if their new procedure of manufacturing circuits has actually decreased the probability of failure to 0.02 from 0.05 (a big improvement), there is still a good chance, 0.215, that H 0 : p=0 .05  is accepted and their improvement rejected. Thus, this test of H 0 : p=0 .05  against H 1 : p=0 .02  is unsatisfactory. Without worrying more about the probability of the Type II error, here, above was presented a frequently used procedure for testing H 0 : p=p 0 , where p 0 is some specified probability of success. This test is based upon the fact that the number of successes, Y , in n independent Bernoulli trials is such that Y/n has an approximate normal distribution, N[p 0 , p 0 (1- p 0 )/n] , provided H 0 : p=p 0 is true and n is large. Suppose the alternative hypothesis is H 0 : p>p 0   ; that is, it has been hypothesized by a research worker that something has been done to increase the probability of success. Consider the test of H 0 : p=p 0 against H 1 : p> p 0 that rejects H 0 and accepts H 1 if and only if

Z = Y / n p 0 p 0 ( 1 p 0 ) / n z α .

That is, if Y/n exceeds p 0 by standard deviations of Y/n , we reject H 0 and accept the hypothesis H 1 : p> p 0 . Since, under H 0 Z is approximately N ( 0,1 ) , the approximate probability of this occurring when H 0 : p=p 0 is true is α . That is the significance level of that test is approximately α . If the alternative is H 1 : p< p 0 instead of H 1 : p> p 0 , then the appropriate α -level test is given by Z z α . That is, if Y/n is smaller than p 0 by standard deviations of Y/n , we accept H 1 : p< p 0 .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to statistics. OpenStax CNX. Oct 09, 2007 Download for free at http://cnx.org/content/col10343/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to statistics' conversation and receive update notifications?

Ask