Answer:
Probability that person does not have disease when test is positive=0.9527
Explanation:
Given,
Probability of a person having disease,

= 0.001
Then,probability of a person not having disease,

= 1 - 0.001
= 0.999
Probability that the test shows positive when disease is present,

Then, probability that the test shows negative when disease is present,

= 1 - 0.99
= 0.01
Probability that test will positive when disease will not present,

= 0.02
Then, probability that the test will be negative when disease will not present,

= 0.98
Then, the probability that the test will be positive either the disease will present or not,
P(B) = P(B/A).P(A) + P(B/A').P(A')
= 0.99 x 0.001 + 0.02 x 0.999
= 0.02097
Then, the probability that person does not have disease when test is positive,


= 0.9527
Hence,the probability that person does not have disease when test is positive = 0.9527