In: Statistics and Probability
A factory that produces screws sells its products in packets of 100. A packet is considered defect if more than 10 screws (out of the 100) are defect. To test whether a packet is defective, 5 screws are picked at random and checked. If at most two of the five are defect, we say that the packet is not defective. Take Ho: the number of defect screws in a given packet is 10 and Ha : the number of defect screws is more than 10.
a. What is the probability for a type I error?
b. Given that the number of defective is 20. What is the probability for a type II error?