Probability question regarding independence

Click For Summary
SUMMARY

The discussion revolves around calculating probabilities related to defective screws supplied in boxes. The supplier sends boxes with 90% containing 1% defective screws, 9% containing 10% defective screws, and 1% containing 100% defective screws. Using the total probability theorem, the overall percentage of defective screws is calculated to be 2.8%. Additionally, the probability that two randomly selected screws from a box are both defective is found to be approximately 1.0901%. Finally, the conditional probability that a box is 100% defective given that both screws are defective is derived using Bayes' theorem.

PREREQUISITES
  • Understanding of probability theory, specifically total probability theorem and Bayes' theorem.
  • Familiarity with conditional probability and independence of events.
  • Basic knowledge of statistical notation and terminology.
  • Ability to perform calculations involving percentages and probabilities.
NEXT STEPS
  • Study the total probability theorem in detail to understand its applications in various scenarios.
  • Learn about Bayes' theorem and its use in conditional probability problems.
  • Practice problems involving independent events and their probabilities.
  • Explore real-world applications of probability theory in quality control and supply chain management.
USEFUL FOR

This discussion is beneficial for students and professionals in statistics, data science, and quality assurance, particularly those involved in analyzing product defects and probabilities in manufacturing processes.

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!
 
Physics 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 36 ·
2
Replies
36
Views
5K
  • · Replies 1 ·
Replies
1
Views
21K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
878
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K