The probability that a person has the virus given that they have tested positive is approximately 0.0198. the probability that a person does not have the virus given that they test negative is approximately 0.9996.
Let's use conditional probability to find the probabilities in each case:
a) Probability that a person has the virus given that they have tested positive (P(A|B)):

Given:
P(A)= 1/500 (Probability that a person has the virus)
P(B∣A)=0.80 (Probability of testing positive given the person has the virus)
P(B∣A')=0.08 (Probability of testing positive given the person does not have the virus)
P(A')=1−P(A) (Probability that a person does not have the virus)
Now plug these values into the formula:

Calculating:



So, the likelihood of an individual having the virus, given a positive test result, is approximately 0.0198 (rounded to the nearest hundredth of a percent).
b) Probability that a person does not have the virus given that they test negative (P(not A | not B)):

Given:
P(not B ∣ not A)=0.92 (Probability of testing negative given the person does not have the virus)
P(not B∣A)=1−P(B∣A) (Probability of testing negative given the person has the virus)
Now plug in the values:




So, the likelihood of an individual being free of the virus, given a negative test result, is approximately 0.9996 (rounded to the nearest hundredth of a percent).
Complete Question:
A certain virus infects one in every 500 people. A test used to detect the virus in a person is positive 80% of the time if the person has the virus and positive 8% of the time if the person does not have the virus. (This 8% result is called a false positive.) Let A be the event "the person is infected" and B be the event "the person tests positive".
a. Find the probability that a person has the virus given that they have tested positive, i.e. find P(A if B). Round your answer to the nearest hundredth of a percent and do not include a percent sign. P(A if B)= % b.
b. Find the probability that a person does not have the virus given that they test negative, i.e. find P( not A if not B). Round your answer to the nearest hundredth of a percent and do not include a percent sign. P(not A if not B)=