Answer:
Probability that person does not have disease when test is positive=0.9527
Step-by-step explanation:
Given,
Probability of a person having disease,
[tex]P(A)\ =\ \dfrac{1}{1000}[/tex]
= 0.001
Then,probability of a person not having disease,
[tex]P'(A)\ =\ 1\ -\ \dfrac{1}{1000}[/tex]
= 1 - 0.001
= 0.999
Probability that the test shows positive when disease is present,
[tex]P(B/A)\ =\ \dfrac{99}{100}[/tex]
Then, probability that the test shows negative when disease is present,
[tex]P(B'/A)\ =\ 1\ -\ \dfrac{99}{100}[/tex]
= 1 - 0.99
= 0.01
Probability that test will positive when disease will not present,
[tex]P(B/A')\ =\ \dfrac{2}{100}[/tex]
= 0.02
Then, probability that the test will be negative when disease will not present,
[tex]P(B'/A')\ =\ 1\ -\ \dfrac{2}{100}[/tex]
= 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,
[tex]P(A'/B)\ =\ \dfrac{P(B/A')\times P(A')}{P(B)}[/tex]
[tex]=\ \dfrac{0.02\times 0.999}{0.02097}[/tex]
= 0.9527
Hence,the probability that person does not have disease when test is positive = 0.9527