Final answer:
Using Bayes' Theorem, the probability that a person is infected when they test positive for the virus is approximately 9.1%.
Step-by-step explanation:
Using Bayes' Theorem, we can determine the probability that a person is infected when they test positive for the virus.
- Let A be the event 'the person is infected' and B be the event 'the person tests positive'.
- The probability of a person being infected, P(A), is 1/200 or 0.005 (since the virus infects one in every 200 people).
- The probability of a positive test result given that the person is infected, P(B|A), is 0.8 or 80%.
- The probability of a positive test result given that the person is not infected, P(B|A'), is 0.05 or 5% (this is the false positive rate).
- We want to find the probability of a person being infected given that they test positive, P(A|B).
- Applying Bayes' Theorem, we have P(A|B) = (P(B|A) * P(A)) / [(P(B|A) * P(A)) + (P(B|A') * P(A'))].
- Substituting the given values, we get P(A|B) = (0.8 * 0.005) / [(0.8 * 0.005) + (0.05 * 0.995)].
- Calculating this expression, we find that P(A|B) ≈ 0.091 or approximately 9.1%.