Let "G=" the event that the shipment is from Ghana. Then "G^C" is the event that the shipment is from neighbouring countries.
Given "P(G)=0.2." Then "P(G^C)=1-P(G)=1-0.2=0.8."
Let "I=" be the event that the vial is ineffective.
Use binomial distribution.
Find the probability that one out of 30 vials is ineffective, given that the shipment is from Ghana
"n=30, p=0.1,x=1"
Find the probability that one out of 30 vials is ineffective, given that the shipment is from neighbouring countries
"n=30, p=0.02,x=1"
Use Bayes' Theorem
"\\approx{0.14130386(0.2)\\over0.14130386(0.2)+0.333970(0.8)}\\approx0.0957"
"P(G|I)=0.0957"
Comments
Leave a comment