2.6.1 problem 60
Let D
be the event that a person has the disease. Let
T be
the event that a person tests positive for the disease.
-
(a)
-
P(D|T)=P(D)P(T|D)P(T)=p(P(A|D)P(T|D,A)+P(B|D)P(T|D,B))P(A)P(T|A)+P(B)P(T|B)=p(12a1+12b1)12(P(D|A)P(T|D,A)+P(Dc|A)P(T|Dc,A))+12(P(D|B)P(T|D,B)+P(Dc|B)P(T|Dc,B))=12p(a1+b1)12(pa1+(1−p)(1−a2))+12(pb1+(1−p)(1−b2))
-
(b)
-
P(A|T)=P(A)P(T|A)P(T)=12(pa1+(1−p)(1−a2))P(A)P(T|A)+P(B)P(T|B)=12(pa1+(1−p)(1−a2))12(pa1+(1−p)(1−a2))+12(pb1+(1−p)(1−b2))