Answer on Question #70480, Math / Statistics and Probability
A batch of 10 products comes randomly from three factories A, B and C. This batch is checked to detect the defective products. The defective rates of three factories A, B and C are 5%, 10% and 15% respectively
a. Determine the probability that there are exactly two defective products.
b. Given that this batch has two defectives, what is the probability that it comes from factory B.
c. If there are two batches come from the same factory and first one has exactly two defective items, what is the probability that the second one has two defectives? Solution
Let X be event "there are exactly two defective products". Then
P(A)=P(B)=P(C)=31pA=0.05,qA=1−pA=0.95pB=0.1,qB=1−pB=0.9pC=0.15,qC=1−pC=0.85P(X∣A)=(210)pA2qA8=45(0.05)2(0.95)8=0.074635P(X∣B)=(210)pB2qB8=45(0.1)2(0.9)8=0.193710P(X∣C)=(210)pC2qC8=45(0.15)2(0.85)8=0.275897
(a) Total Probability Rule
P(X)=P(A)P(X∣A)+P(B)P(X∣B)+P(C)P(X∣C)P(X)=31(45)((0.05)2(0.95)8+(0.1)2(0.9)8+(0.15)2(0.85)8)=0.181414
(b) Bayes' Theorem
P(B∣X)=P(X)P(B)P(X∣B)P(B∣X)=31(45)((0.05)2(0.95)8+(0.1)2(0.9)8+(0.15)2(0.85)8)31(45)(0.1)2(0.9)8=0.355927
(c) Let D be even “the second one has two defectives”.
i) The probability that two batches come from the factory A, if first one has exactly two defective items
P(A∣X)=P(X)P(A)P(X∣A)
The probability that the second one has two defectives
P(A∣X)P(X∣A)=P(X)P(A)[P(X∣A)]2
ii) The probability that two batches come from the factory B, if first one has exactly two defective items
P(B∣X)=P(X)P(B)P(X∣B)
The probability that the second one has two defectives
P(B∣X)P(X∣B)=P(X)P(B)[P(X∣B)]2
iii) The probability that two batches come from the factory C, if first one has exactly two defective items
P(C∣X)=P(X)P(C)P(X∣C)
The probability that the second one has two defectives
P(C∣X)P(X∣C)=P(X)P(C)[P(X∣C)]2
Total Probability Rule
P(D)=P(A∣X)P(X∣A)+P(B∣X)P(X∣B)+P(C∣X)P(X∣C)==P(X)P(A)[P(X∣A)]2+P(B)[P(X∣B)]2+P(C)[P(X∣C)]2P(D)=31(45)((0.05)2(0.95)8+(0.1)2(0.9)8+(0.15)2(0.85)8)31(45)2((0.05)4(0.95)16+(0.1)4(0.9)16+(0.15)4(0.85)16)==0.219044
Answer provided by www.AssignmentExpert.com
Comments