Bayes Rule probability problem.

Hi all,

I am not sure if this belongs to University Math help. It looks like it's basic enough but we are doing it in college. I hope I am not intruding in the wrong territory.

The problem is as follows:

A certain disease can be detected by a blood test in 95% of those who have it. Unfortunately, the test also has a 0.02 probability of showing that a person has the disease when in fact he or she does not. It has been estimated that 1% of those people who are routinely tested actually have the disease. If the test shows that a certain person has the disease, find the probability that the person actually has it.

This is how I did it:

For straight forwardness we will look at the population as being 10000 people.

95% of those who have it will test "yes" i.e. 95% of 1% = 0.95 x 0.01 = 0.0095 from all population, so from 10000 people it would be 95 people

2% of those who do not have it will also test "yes" i.e. 2% of 99% = 0.02 x 0.99 = 0.0198 from all population, so from 10000 people it would be 198 people

So, the total number of all "yes" tests (positive "yes" and negative "yes") would be 95+198=293 "yes" tests

Since we know that 1% of population actually have the disease i.e. 100 people then we can conclude that chance of having disease if the test was positive is 100/293=0.3413

As you can see, my answer came out as 0.3413. Is that correct? The problem is - my lecturer's answer is 0.324 :(

Thank you in advance!