Hi everyone I would I really appreciate if anyone could help me out with this problem. I was discussing it with a friend and we disagreed on whether we needed to treat this as a conditional probability problem or whether we just needed to multiply 94% and 98% to get the answer. This is not for a class, I am just interested in the topic.
The probability that a patient has HIV is 0.001 and the diagnostic test for HIV can detect the virus with a probability of 0.98. Given that the chance of a false positive is 6%, what is the probability that a patient who has already tested positive really has HIV?
Thanks in advance
A positive result can come in two ways: a patient with HIV and a correct result: $0.001 \cdot 0.98=0.00098$ of the population, or a patient without HIV and a false positive. The fraction of false positives is $0.999 \cdot 0.06 = 0.05994$. The false positives are then $\frac {0.05994}{0.0094}\approx 61.2$ times more than the infected patients.