MHB Probability question regarding independence

Click For Summary
The discussion revolves around calculating probabilities related to defective screws supplied by a factory. The first part calculates the overall percentage of defective screws, yielding a result of 2.8%. The second part determines the probability that two randomly chosen screws from a box are both defective, resulting in approximately 1.09%. The final part seeks the conditional probability that a box is 100% defective given that both screws chosen are defective. The calculations are verified with a correction noted for a typo in the second part's formula.
Usagi
Messages
38
Reaction score
0
A supplier sends boxes of screws to a factory: 90% of the boxes contain 1% defective, 9% contain 10% defective, and 1% contain 100% defective (eg wrong size).

i) What percentage of screws supplied are defective?

ii) Two screws are chosen from a randomly selected box. What is the probability that both are defective?

iii) Given that both are defective, what is the probability that the box is 100% defective?

I have attempted all 3 parts but I am unsure if my working is correct, would someone be kind enough to verify my working/reasoning? Thank you.

i) Let D be the event that the screws supplied are defective. Let $A_1$ be the event that the box containing 1% defective was sent to the factory. Likewise, let $A_2$ and $A_3$ be the event that the box containing 10% and 100% defective, respectively, that was sent to the factory.

Thus using the total probability theorem we have:

$P(D) = P(A_1)P(D|A_1) + P(A_2)P(D|A_2)+P(A_3)P(D|A_3) = (0.9)(0.01)+0.09(0.1)+0.01(1) = 0.028$

ii) Let Z be the event that two screws are both defective and let $D_i$ be the event that the ith screw is defective from a random box. Thus using the total probability theorem again we have:

$P(Z) = P(A_1)P(Z|A_1)+P(A_2)P(Z|A_2) + P(A_3)P(Z|A_3) = P(A_1)P(D_1 \cap D_2|A_1) + P(A_2)P(D_1 \cap D_2|A_2) + P(A_3)P(D_1 \cap D_2|A_3)$

$= P(A_1)P(D_1|A_1)P(D_2|A_1) + P(A_2)P(D_1|A_2)P(D_2|A_2) + P(A_3)P(D_1|A_3)P(D_2|A_3)$ because we can assume $D_1$ and $D_2$ are conditionally independent of $A_i$'s.

$=0.01(0.01)^2+0.09(0.1)^2+0.01(1)^2 = 0.010901$

iii) We need to find $P(A_3|Z) = \frac{P(A_3)P(Z|A_3)}{P(Z)} = \frac{0.01(1)}{0.010901}$

Any help is greatly appreciated!
 
Mathematics news on Phys.org
Usagi said:
A supplier sends boxes of screws to a factory: 90% of the boxes contain 1% defective, 9% contain 10% defective, and 1% contain 100% defective (eg wrong size).

i) What percentage of screws supplied are defective?

ii) Two screws are chosen from a randomly selected box. What is the probability that both are defective?

iii) Given that both are defective, what is the probability that the box is 100% defective?

I have attempted all 3 parts but I am unsure if my working is correct, would someone be kind enough to verify my working/reasoning? Thank you.

i) Let D be the event that the screws supplied are defective. Let $A_1$ be the event that the box containing 1% defective was sent to the factory. Likewise, let $A_2$ and $A_3$ be the event that the box containing 10% and 100% defective, respectively, that was sent to the factory.

Thus using the total probability theorem we have:

$P(D) = P(A_1)P(D|A_1) + P(A_2)P(D|A_2)+P(A_3)P(D|A_3) = (0.9)(0.01)+0.09(0.1)+0.01(1) = 0.028$

ii) Let Z be the event that two screws are both defective and let $D_i$ be the event that the ith screw is defective from a random box. Thus using the total probability theorem again we have:

$P(Z) = P(A_1)P(Z|A_1)+P(A_2)P(Z|A_2) + P(A_3)P(Z|A_3) = P(A_1)P(D_1 \cap D_2|A_1) + P(A_2)P(D_1 \cap D_2|A_2) + P(A_3)P(D_1 \cap D_2|A_3)$

$= P(A_1)P(D_1|A_1)P(D_2|A_1) + P(A_2)P(D_1|A_2)P(D_2|A_2) + P(A_3)P(D_1|A_3)P(D_2|A_3)$ because we can assume $D_1$ and $D_2$ are conditionally independent of $A_i$'s.

$=0.01(0.01)^2+0.09(0.1)^2+0.01(1)^2 = 0.010901$

iii) We need to find $P(A_3|Z) = \frac{P(A_3)P(Z|A_3)}{P(Z)} = \frac{0.01(1)}{0.010901}$

Any help is greatly appreciated!

For part ii you should have: \(0.9(0.01)^2 + 0.09(0.1)^2+0.01(1)^2\)CB
 
Oh yes, silly me, typo'ed.

Thanks for the confirmation :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
4K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
21K
Replies
2
Views
2K