the fraction of defective items in a large lot is ‘p’. to test the null hypothesis h0: p=0.2, one consider the number ‘f’ of defectives in a sample of 8 items and accept the hypothesis if f≤6, and reject the hypothesis otherwise. what is the probability of type-1 error of the test? what is the probability of type-2 error of the test?
The number of defectives in the sample is a random variable which follows a Binomial distribution with parameters and .
The probability of defectives is given as,
The probability of type 1 error.
From definition, probability of type 1 error is he probability of rejecting when it is true. So, and we find the probability of 7 or 8 defectives.
So, when the number of defectives is 7, its probability is, and when the number of defectives is 8, its probability is,
The probability of committing type 1 error is 0.00008192+0.00000256=0.00008448
The probability of type 2 error.
From definition, type 2 error is the probability of accepting when is true. So we determine the probability of 6 or less defectives when .
Therefore, the probability of committing type 2 error is 0.99999927
Comments