The question goes like this: The American Diabetes Association estimates that 5.9% of Americans have diabetes. Suppose that a medical lab has developed a simple diagnostic test for diabetes that is 98% accurate for people who have the disease and 95% accurate for people who do not have it. If the medical lab gives the test to a randomly selected person, what is the probability that the person has diabetes given a positive test?
I'm not exactly sure where to start, but I was thinking about the 98% accurate test of positive for those with diabetes and the 5% inaccuracy of the test stating that you have a positive test when you don't. I do note however that 94.1% of the population don't have diabetes whereas 5.9% do have it, which means that there is a greater stress on the inaccurate test of positive for those that don't have the disease.