I am a bit confused with the following question, I get that P(T|D) = 0.95 and P(D) = 0.0001 however because i'm unable to work out P(T|~D) i'm struggling to apply the theorem, am i missing something? Also i'm unsure about what to do with the information relating to testing negative when you don't have the disease correctly 95% of the time
You take a test T to tell whether you have a disease D. The test comes back positive. You know that test is 95% accurate (the probability of testing positive when you do have the disease is 0.95, and the probability of testing negative when you don’t have the disease is also 0.95). You also know that the disease is rare, only 1 person is 10,000 gets the disease. What is the probability that you have the disease? How would this change if the disease was more common, say affecting 1 person in 100?