Modern medicine uses many types of tests; none are 100% accurate. Use this applet to explore Exercises 30-34 in AQR Section 12. This applet simulates 100 medical tests with the give population percentage (the percent of the population that use steroids, that are pregnant, that have prostate cancer, that have the flu, or that have HIV) and test accuracy.

What population percentage and accuracy settings make the probability of a false positive as large as possible?
What population percentage and accuracy settings make the probability of a false positive as small as possible?