Let:
A denote the event that chip came from TechZone,
B denote the event that chip came from Advance Electronics,
C denote the event that chip came from PSP,
F denote the event that chip came from Parts Inc, and
D denote the event that the randomly selected chip is defective.
Given
P(A)=0.30,P(D∣A)=0.03,
P(B)=0.25,P(D∣B)=0.04,
P(C)=0.18,P(D∣C)=0.07,
P(F)=0.32,P(D∣F)=0.065.
a) If a random chip is selected, what is the probability that the chip is defective
The total probability rule
P(D)=P(A)P(D∣A)+P(B)P(D∣B)++P(C)P(D∣C)+P(F)P(D∣F)==0.3(0.03)+0.25(0.04)++0.18(0.07)+0.32(0.065)=0.0524b) A defective chip was discovered in the latest shipment. What is the probability that it came from TechZone supplies?
We apply Bayes' Theorem to compute this probability
P(A∣D)=P(D)P(A)P(D∣A)=0.05240.3(0.03)=26245≈≈0.1718
c) A defective chip was discovered in the latest shipment. What is the probability that it came from Parts Inc.?
We apply Bayes' Theorem to compute this probability
P(F∣D)=P(D)P(F)P(D∣F)=0.05240.32(0.065)=13152≈≈0.3969
Comments