Question #70480

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?
1

Expert's answer

2017-10-10T15:41:07-0400

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 XX be event "there are exactly two defective products". Then


P(A)=P(B)=P(C)=13P(A) = P(B) = P(C) = \frac{1}{3}pA=0.05,qA=1pA=0.95p_A = 0.05, q_A = 1 - p_A = 0.95pB=0.1,qB=1pB=0.9p_B = 0.1, q_B = 1 - p_B = 0.9pC=0.15,qC=1pC=0.85p_C = 0.15, q_C = 1 - p_C = 0.85P(XA)=(102)pA2qA8=45(0.05)2(0.95)8=0.074635P(X|A) = \binom{10}{2} p_A^2 q_A^8 = 45(0.05)^2(0.95)^8 = 0.074635P(XB)=(102)pB2qB8=45(0.1)2(0.9)8=0.193710P(X|B) = \binom{10}{2} p_B^2 q_B^8 = 45(0.1)^2(0.9)^8 = 0.193710P(XC)=(102)pC2qC8=45(0.15)2(0.85)8=0.275897P(X|C) = \binom{10}{2} p_C^2 q_C^8 = 45(0.15)^2(0.85)^8 = 0.275897


(a) Total Probability Rule


P(X)=P(A)P(XA)+P(B)P(XB)+P(C)P(XC)P(X) = P(A)P(X|A) + P(B)P(X|B) + P(C)P(X|C)P(X)=13(45)((0.05)2(0.95)8+(0.1)2(0.9)8+(0.15)2(0.85)8)=0.181414P(X) = \frac{1}{3}(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(BX)=P(B)P(XB)P(X)P(B|X) = \frac{P(B)P(X|B)}{P(X)}P(BX)=13(45)(0.1)2(0.9)813(45)((0.05)2(0.95)8+(0.1)2(0.9)8+(0.15)2(0.85)8)=0.355927P(B|X) = \frac{\frac{1}{3}(45)(0.1)^2(0.9)^8}{\frac{1}{3}(45)((0.05)^2(0.95)^8 + (0.1)^2(0.9)^8 + (0.15)^2(0.85)^8)} = 0.355927


(c) Let DD 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(AX)=P(A)P(XA)P(X)P(A|X) = \frac{P(A)P(X|A)}{P(X)}


The probability that the second one has two defectives


P(AX)P(XA)=P(A)[P(XA)]2P(X)P(A|X)P(X|A) = \frac{P(A)[P(X|A)]^2}{P(X)}


ii) The probability that two batches come from the factory B, if first one has exactly two defective items


P(BX)=P(B)P(XB)P(X)P(B|X) = \frac{P(B)P(X|B)}{P(X)}


The probability that the second one has two defectives


P(BX)P(XB)=P(B)[P(XB)]2P(X)P(B|X)P(X|B) = \frac{P(B)[P(X|B)]^2}{P(X)}


iii) The probability that two batches come from the factory C, if first one has exactly two defective items


P(CX)=P(C)P(XC)P(X)P(C|X) = \frac{P(C)P(X|C)}{P(X)}


The probability that the second one has two defectives


P(CX)P(XC)=P(C)[P(XC)]2P(X)P(C|X)P(X|C) = \frac{P(C)[P(X|C)]^2}{P(X)}


Total Probability Rule


P(D)=P(AX)P(XA)+P(BX)P(XB)+P(CX)P(XC)==P(A)[P(XA)]2+P(B)[P(XB)]2+P(C)[P(XC)]2P(X)\begin{array}{l} P(D) = P(A|X)P(X|A) + P(B|X)P(X|B) + P(C|X)P(X|C) = \\ = \frac{P(A)[P(X|A)]^2 + P(B)[P(X|B)]^2 + P(C)[P(X|C)]^2}{P(X)} \\ \end{array}P(D)=13(45)2((0.05)4(0.95)16+(0.1)4(0.9)16+(0.15)4(0.85)16)13(45)((0.05)2(0.95)8+(0.1)2(0.9)8+(0.15)2(0.85)8)==0.219044\begin{array}{l} P(D) = \frac{\frac{1}{3}(45)^2((0.05)^4(0.95)^{16} + (0.1)^4(0.9)^{16} + (0.15)^4(0.85)^{16})}{\frac{1}{3}(45)((0.05)^2(0.95)^8 + (0.1)^2(0.9)^8 + (0.15)^2(0.85)^8)} = \\ = 0.219044 \\ \end{array}


Answer provided by www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS