Faulty Inspection

10% of all items produced are defective. The worker who chooses items for inspection has a sense for which are defective, so 60% of all defective items are inspected, while only 20% of all good items are inspected. If an item is inspected, what is the probability it is defective?

Enter your answer as a decimal.


The answer is 0.25.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Benji Chong
May 14, 2016
  • assuming 1000 items in total.
  • no. of defective = 10% * 1000 = 100
  • no. of inspected from defective pile = 60% * 100 = 60
  • no. of inspected from good pile = 20% * 900 = 180
  • no. of inspected = 60 + 180 = 240
  • likelihood of inspected is defective = 60/240 = 0.25
Dan Wilhelm
Jul 13, 2015

Let the events D D and I I be where a product is defective and inspected, respectively. For defective items, we are given that P ( D ) = 0.1 P(D) = 0.1 and P ( I D ) = 0.6 P(I|D) = 0.6 . For good items, we are given P ( ¬ D ) = 1 P ( D ) = 0.9 P(\neg D) = 1 - P(D) = 0.9 and P ( I ¬ D ) = 0.2 P(I|\neg D) = 0.2 .

From the definition of conditional probability and since each product is either defective or not defective, we find P ( I ) P(I) :

P ( I ) = P ( D ) P ( I D ) + P ( ¬ D ) P ( I ¬ D ) = 0.1 0.6 + 0.9 0.2 = 0.24 P(I) = P(D)P(I|D) + P(\neg D)P(I|\neg D) = 0.1 \cdot 0.6 + 0.9 \cdot 0.2 = 0.24 .

Now, applying Bayes' Rule:

P ( D I ) = P ( I D ) P ( D ) P ( I ) = 0.1 ( 0.6 ) 0.24 = 0.25 P(D|I) = \frac{P(I|D)P(D)}{P(I)} = \frac{0.1(0.6)}{0.24} = 0.25 .

So, P ( D I ) = 0.25 P(D|I) = 0.25 .

you are mistaken

Quang Hai Anh PHUNG - Year 10 - 2 months, 1 week ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...