Question #152697

Q2 i) Suppose that four persons working in a factory are given the job of stamping expiry  date on the packet of buns. Person A, who stamps 20% of packets, fails to stamp the expiry date once in every 200 packets. Person B who stamps 60% of packets, fails to  stamp the expiry date once in every 100 packets. Person C who stamps 15% of packets,  fails to stamp the expiry date once in every 90 packets and Person D who stamps 5% of 

packets, fails to stamp the expiry date once in every 200 packets. If a buyer complains  that her packet of buns does not show the expiry date, what is the probability that,

a) It was Person A who failed to stamp?

b) It was stamped by Person B or C?

c) What is the probability that a packet bought shows an expiry date and it was  not stamped by B? 


1
Expert's answer
2020-12-25T15:25:38-0500

P(person A) = P(A) = 20% = 0.2

P(person B) = P(B) = 60% = 0.6

P(person C) = P(C) = 15% = 0.15

P(person D) = P(D) = 5% = 0.05

P(failed to stamp | person A) = P(failed | A) = 1 in every 200 =1200=0.005= \frac{1}{200} = 0.005

P(failed to stamp | person B) = P(failed | B) = 1 in every 100 =1100=0.01= \frac{1}{100} = 0.01

P(failed to stamp | person C) = P(failed | C) = 1 in every 90 =190=0.011= \frac{1}{90} = 0.011

P(failed to stamp | person D) = P(failed | D) = 1 in every 200 =1200=0.005= \frac{1}{200} = 0.005

a) Required probability = P(A | failed to stamp)

Bayes theorem

P(Afailed)=P(A)×P(failedA)P(A)×P(failedA)+P(B)×P(failedB)+P(C)×P(failedC)+P(C)×P(failedC)=0.2×0.0050.2×0.002+0.6×0.01+0.15×0.011+0.05×0.005=0.2857P(A | failed) = \frac{P(A) \times P(failed | A)}{P(A) \times P(failed | A) + P(B) \times P(failed | B) + P(C) \times P(failed | C) + P(C) \times P(failed | C)} \\ = \frac{0.2 \times 0.005}{0.2 \times 0.002 + 0.6 \times 0.01 + 0.15 \times 0.011 + 0.05 \times 0.005} \\ = 0.2857

b) Required probability = P(B | failed to stamp) + P(C | failed to stamp)

P(B | failed to stamp) =P(B)×P(failedB)P(A)×P(failedA)+P(B)×P(failedB)+P(C)×P(failedC)+P(C)×P(failedC)= \frac{P(B) \times P(failed | B)}{P(A) \times P(failed | A) + P(B) \times P(failed | B) + P(C) \times P(failed | C) + P(C) \times P(failed | C)} \\

=0.6×0.010.2×0.002+0.6×0.01+0.15×0.011+0.05×0.005=0.1714= \frac{0.6 \times 0.01}{0.2 \times 0.002 + 0.6 \times 0.01 + 0.15 \times 0.011 + 0.05 \times 0.005} \\ = 0.1714

P(C | failed to stamp) =P(C)×P(failedC)P(A)×P(failedA)+P(B)×P(failedB)+P(C)×P(failedC)+P(C)×P(failedC)= \frac{P(C) \times P(failed | C)}{P(A) \times P(failed | A) + P(B) \times P(failed | B) + P(C) \times P(failed | C) + P(C) \times P(failed | C)} \\

=0.15×0.0110.2×0.002+0.6×0.01+0.15×0.011+0.05×0.005=0.4714= \frac{0.15 \times 0.011}{0.2 \times 0.002 + 0.6 \times 0.01 + 0.15 \times 0.011 + 0.05 \times 0.005} \\ = 0.4714

Required probability = P(B | failed to stamp) + P(C | failed to stamp)

= 0.1714 + 0.4714

= 0.6428

c) Required probability = P[Bc | failed to stamp]

= 1 - P(B | failed to stamp)

= 1 - 0.1714

= 0.8286


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