Using conditional probability, it is found that the probability a person who tests positive actually has the disease is 0.087 = 8.7%.
Conditional probability is the probability of one event happening, considering a previous event. The formula is:
[tex]P(B|A) = \frac{P(A \cap B)}{P(A)}[/tex]
In which:
For this problem, the events are given as follows:
The percentages associated with a positive test is:
Hence:
P(A) = 0.95 x 0.005 + 0.05 x 0.995 = 0.0545.
The probability of both a positive test and having the disease is:
[tex]P(A \cap B) = 0.95 \times 0.005 = 0.00475[/tex]
Hence the conditional probability is:
P(B|A) = 0.00475/0.0545 = 0.087.
The probability a person who tests positive actually has the disease is 0.087 = 8.7%.
More can be learned about conditional probability at https://brainly.com/question/14398287
#SPJ1