Answer:
The probability that a person who tests positive actually has the disease is 5.52%.
Explanation:
One out of 500 people have the disease. That means 0.2% of the population (0.002).
Of this proportion, according to the sensitivity of the test, 93,4% (0.934) of them will test positive (true positives).
Also, the rest of the population, that represents 99.8% (0.998), don't have the disease, but, according to the specificity of the test, (1-0.968)=0.032 will test positive (false positives).
We have:
True positives tests = 0.002 * 0.934 = 0.001868, and
False positives tests = 0.998 * 0.032 = 0.031936
We can calculate the probability that a person who tests positive actually have the the disease as the division between the true positives and the total amount of positives:
P = True positives / (True positives + False positives)
P = 0.001868 / (0.001868+0.031936) = 0.055259733 = 5.52%