Answer:
0.9851 = 98.51% probability that the person is actually infected.
Step-by-step explanation:
Conditional Probability
We use the conditional probability formula to solve this question. It is
[tex]P(B|A) = \frac{P(A \cap B)}{P(A)}[/tex]
In which
P(B|A) is the probability of event B happening, given that A happened.
[tex]P(A \cap B)[/tex] is the probability of both A and B happening.
P(A) is the probability of A happening.
In this question:
Event A: Positive test
Event B: Infected
Probability of a positive test:
99% of 25%(People have the disease).
0.5% of 100 - 25 = 75%(People do not have the disease). So
[tex]P(A) = 0.99*0.25 + 0.005*0.75 = 0.25125[/tex]
Probability of a positive test and being infected:
99% of 25%, so:
[tex]P(A \cap B) = 0.99*0.25 = 0.2475[/tex]
What is the probability that the person is actually infected?
[tex]P(B|A) = \frac{P(A \cap B)}{P(A)} = \frac{0.2475}{0.25125} = 0.9851[/tex]
0.9851 = 98.51% probability that the person is actually infected.