49% of the population has a particular gene. A test has been developed that can determine if a person has this gene or not. The test has a false positive (says the person has the gene when they don't) rate of 6%, and a false negative rate of 3%. What is the probability that a random person will test positive to having this gene using this test?
P(Test Gene / No Gene) 0.06
P(Test No Gene / Gene) 0.03
Apply Bayes theorem ...
This solution applies the Bayes Theorem to determine the probability that a random person will test positive to having a certain gene using a certain test.