Professional Documents
Culture Documents
Bayes Theorem
1) When administered to an ill person, the test indicated so with probability
of 0.92. When administered to a person who is not ill the test erroneously
gives positive result with probability of 0.04.
Suppose the illness is rare and is known to affect only 0.1% of entire
population. If a person is selected from entire population and is given a
test and the result is positive, what is the posterior probability that the
person is ill?
Solution: Let Z be the event that the test result is positive and I the event
that the person is tested ill.
Given,P(I) = 0.001 then
P ( I )
= 0.999
P(Z|I) = 0.92
P(Z| I
= 0.04
P(I|Z) = ?
Applying Bayes theorem,
P(I|Z) =
P(I) * P(Z|I)
0.92*0.001
P ( I )
P(I|Z) = 0.025
P(H|A) =
P(A|H) * P(H)
----------------------------------------------------------P(A|H) * P(H) + P(A|M) * P(M) + P(A|L) * P(L)
=
0.7*0.3
-------------------------------------0.7*0.3 + 0.4*0.5 + 0.2*0.2
= 0.467
P(H|A) = 0.467