Stan S. answered 11/28/17
Tutor
4.9
(137)
Get a Good Handle on Statistics with Patient, Encouraging PhD
Hi Carlos,
You're right that you should use Bayes' theorem.
To figure out the right conditional probabilities to apply,
start with an empty confusion matrix.
C+ C-
PS+ TP FP
-----------
PS- FN TN
Here C+ means having cancer, C- means not having cancer,
PS+ is a positive Pap smear, and PS- is a negative Pap smear.
Also TP is the true positives, FP is the false positives,
FN is the false negatives, and TN is the true negatives.
Then what do we know? That P(C+) = .02.
Also P(FP) = P(PS+|C-) = .583, and P(FN) = P(PS-|C+) = .18.
What can we figure out from what we know?
P(C-) = 1-P(C+) = .98.
P(PS+|C-) = FP/(FP+TN), so P(TN) = P(PS-|C-), also called Specificity, =
P(PS+|C-) = FP/(FP+TN), so P(TN) = P(PS-|C-), also called Specificity, =
TN/(FP+TN) = 1-P(PS+|C-) = .417.
P(PS-|C+) = FN/(TP+FN), so P(TP) = P(PS+|C+), also called Sensitivity, =
TP/(TP+FN) = 1-P(PS-|C+) = .82.
The question is asking for P(C+|PS+), and now we have everything
we need to calculate it using Bayes' theorem.
P(C+|PS+) = TP/(TP+FP) = P(PS+|C+)*P(C+)/P(PS+) =
P(PS+|C+)*P(C+)/(P(PS+|C+)*P(C+)+P(PS+|C-)*P(C-)) =
.82*.02/(.82*.02+.583*.98) = 0.0279.