W = shipment from West Africa,
I = one vial is ineffective,
G = shipment from Ghana.
P(W)=1-0.3=0.7,
P(I|W)="\\begin{pmatrix} 30 \\\\ 1\\end{pmatrix}"*0.03*0.9729=0.372,
P(I|G)="\\begin{pmatrix} 30 \\\\ 1\\end{pmatrix}" *0.08*0.9229=0.2138,
(P(I|W)*P(W))/(P(I|W)*P(W)+P(I|G)*P(G))=(0.372*0.7)/(0.372*0.7+0.2138*0.3)=0.8.
Comments
Leave a comment