Disease Testing Experiment
A certain percentage of the total population is infected with some particular disease. There exist tests to check whether someone is infected, and it is known how reliable these tests are. These reliabilities are given by two percentages:
This lab lets you experiment with this question. You set the percentage of infected people in the total population and the reliabilities of the tests, the lab then computes the number of people who are infected or not, and the number within each of these groups who get a "positive" or a "negative" result.
If your test came out positive, then you are either in the "positive and infected" or "positive and not infected" groups. By looking at the sizes of these two groups, you can see how likely it is that you are infected.
Enter values in the top four white windows and click "Calculate." To try another set of data, click "Start Over." The applet doesn't work with decimal numbers as input. It also doesn't round off when the formula gives a non integer answer even though a "number of people" should always be an integer. If you want to make sure that you get integer answers for the number of people, input a multiple of 10,000 for total population.
Disease Testing Calculator