Problem Statement
Machine A makes 60% of items with 2% defect rate. Machine B makes 40% with 5% defect rate. If an item is defective, what is the probability it was made by Machine B?
Explanation
Use Bayes. P(def) equals 0.6×0.02 plus 0.4×0.05 equals 0.012 plus 0.02 equals 0.032. P(B|def) equals (0.4×0.05)/0.032 equals 0.02/0.032 equals 0.625? Wait compute carefully: 0.4×0.05 = 0.02. Divide by 0.032 gives 0.625. So the correct answer is 0.625, not 0.4. Choose nearest? Instead provide the exact value.
Code Solution
SolutionRead Only
P(B|D) = 0.02 / 0.032 = 0.625
Practice Sets
This question appears in the following practice sets:
