Probability that the shipment is from Ghana is P(G) =0.2 hence P(Gc) =0.8
P(I|G) =0.1, P(I∣Gc) =0.02
The probability that the one ineffective out of the 30 shipments comes from Ghana follows a binomial distribution
P(I=1∣G)=(130)0.11∗0.929
=0.1413
P(I=1∣Gc)=(130)0.021∗0.9829
=0.334
The probability that one shipment is ineffective is;
P(I=1)=P(I=1∣G).P(G)+P(I=1∣Gc).P(Gc)
=0.1413*0.2+0.334*0.8
=0.29546
Using Bayes theorem, the probability that the ineffective shipment comes from Ghana is;
P(G∣I=1)=P(I=1)P(I=1∣G)∗P(G)
=0.295460.1413∗0.2
=0.0956
Comments