A hospital gets medical supplies from two companies: Company X supplies 80% of the...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
P(D) = (0.80)(0.01) + (0.20)(0.05) = 0.008 + 0.01 = 0.018
P(Y|D) = (0.20 * 0.05) / 0.018 = 0.01 / 0.018 = 5/9 ≈ 0.5556
Using Bayes' Theorem, $P(Y|D) = \frac{P(D|Y)P(Y)}{P(D|X)P(X) + P(D|Y)P(Y)} = \frac{0.05 \times 0.20}{0.01 \times 0.80 + 0.05 \times 0.20} = \frac{0.01}{0.008 + 0.01} = \frac{0.01}{0.018} = \frac{10}{18} \approx 55.56\%$.