.
Suppose that 4% of all the patients are infected with the virus (event V), P(V) = 0.04.
There exists a test for this viral infection.
It is 95% reliable for infected patients and 99% reliable for healthy ones.
That is, if a patient has the virus, the test shows that (event S) with
probability P(S | V) = 0.95, and if the patient does not have the virus, the test shows that with
probability P(S^c|V^c) = 0.99.
If a person is tested positive, what is the probability that he/she is infected?
~~~~~~~~~~~~~~~~~~~~~~
First, let's calculate the probability that a person is tested positive.
It is P(tested positive) = P(V)*0.95 + P(V^c)*(1-0.99) = 0.04*0.95 + (1-0.04)*(1-0.99) = 0.0476.
Next, the probability that the person is infected is P(V) = 0.04 (given).
They want you find the conditional probability
P(a person is infected | he/she is tested positive) = =
= = 0.7983 (rounded). ANSWER
Solved.