A computer producing factory has only two plants and . Plant produces 20% and plant produces 80% of the total computers produced. 7% of computers produced in the factory turn out to be defective. It is known that (computer turns out to be defective given that it is produced in plant ) (computer turns out to be defective given that it is produced in plant ),where denotes the probability of an event . A computer produced in the factory is randomly selected and it does not turn out to be defective. Then the probability that it is produced in plant is
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. Use the total to fix the defect rates ( for and for ), then apply Bayes' theorem to the observed event "not defective".
Concept refresher. If partition the sample space and is the observed event, then
Here the observed event is 'not defective' .
Approach. Use the total probability of a defect (7%) to find the two defect rates, convert them to non-defect rates, then apply Bayes' theorem.
Step 1: Find the defect rates
Let , so . By total probability:
So and .
Step 2: Non-defect rates
Step 3: Apply Bayes' theorem
Check: the denominator , as it must be.
Answer. (C)
Smart method. Imagine 1000 computers. makes 200, of which , i.e. 50, are defective (150 good). makes 800, of which , i.e. 20, are defective (780 good). Total defective , which is 7%, as given. Good computers , of which 780 are from : probability .
Why the other options are wrong
- (A) is below the prior ; a non-defective computer is evidence for the more reliable plant , so the answer must exceed .
- (B) is also below : it treats a good computer as evidence against , the reverse of what the data say.
- (D) is too large: the data fix and , whose ratio is about .
Key takeaway
The trap. Plugging the defect rates into Bayes' formula is wrong here because the computer was found not defective, so the complements must be used.
How toppers think. They write down the observed event first and build every branch of the tree for exactly that event.
Remember. .
More on Bayes’ Theorem
- A student appears for a quiz consisting of only true-false type questions and answers all the questions. The…
- Consider three sets E₁ = {1, 2, 3}, F₁ = {1, 3, 4} and G₁ = {2, 3, 4, 5}. Two elements are chosen at random…
- There are three bags B₁, B₂ and B₃. The bag B₁ contains 5 red and 5 green balls, B₂ contains 3 red and 5…
- All 5 on Bayes’ Theorem ›