Bayes’s theorem: HIV test

Bayes’s theorem used for evaluating the accuracy of a medical test

A hypothetical HIV test given to 10,000 intravenous drug users might produce 2,405 positive test results, which would include 2,375 “true positives” plus 30 “false positives.” Based on this experience, a physician would determine that the probability of a positive test result revealing an actual infection is 2,375 out of 2,405—an accuracy rate of 98.8 percent.