📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

A test for a disease has sensitivity 0.95 and specificity 0.9. The disease prevalence is 0.02. What is the probability that a person who tests positive actually has the disease?

A. 0.21
B. 0.11
C. 0.26
D. 0.16 ✅

Correct Answer: D. 0.16

Explanation

P(positive and diseased) = 0.95 x 0.02 = 0.019; P(positive) = 0.019 + 0.098 = 0.117; posterior = 0.019/0.117 = 0.16 (about 0.162).