Exercise 2.60

Answers

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 (1 2a1 + 1 2b1) 1 2 (P(D|A)P(T|D,A) + P(Dc|A)P(T|Dc,A)) + 1 2 (P(D|B)P(T|D,B) + P(Dc|B)P(T|Dc,B)) = 1 2p(a1 + b1) 1 2(pa1 + (1 p)(1 a2)) + 1 2(pb1 + (1 p)(1 b2))
(b)
P(A|T) = P(A)P(T|A) P(T) = 1 2(pa1 + (1 p)(1 a2)) P(A)P(T|A) + P(B)P(T|B) = 1 2(pa1 + (1 p)(1 a2)) 1 2(pa1 + (1 p)(1 a2)) + 1 2(pb1 + (1 p)(1 b2))
User profile picture
2021-12-05 00:00
Comments