📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

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

A. 0.34 ✅
B. 0.39
C. 0.29
D. 0.44

Correct Answer: A. 0.34

Explanation

P(positive and diseased) = 0.99 x 0.05 = 0.0495; P(positive) = 0.0495 + 0.095 = 0.1445; posterior = 0.0495/0.1445 = 0.34 (about 0.343).