Consider the following events:
D: the chip is defective,
TZ: the chip came from TechZone,
AE: the chip came from Advance Electronics,
PSP: the chip came from PSP,
TP: the chip came from Tech Parts inc.
a. By the Law of Total Probability
P(D)=P(TZ)P(D∣TZ)+P(AE)P(D∣AE)
+P(PSP)P(D∣PSP)+P(TP)P(D∣TP)
=0.32(0.01)+0.20(0.03)+0.23(0.06)+0.25(0.055)
=0.03675
b. By Bayes' Theorem
P(TZ∣D)=P(D)P(D∣TZ)P(TZ)=0.036750.01(0.32)
≈0.087075
c. By Bayes' Theorem
P(TP∣D)=P(D)P(D∣TP)P(TP)=0.036750.055(0.25)
≈0.374150
Comments