AQR Section 12 Exercises 30-34 Medical Testing (Part 1)

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.
AQR Section 12 Exercises 30-34 Medical Testing (Part 1)
What population percentage and accuracy settings make the probability of a false positive as large as possible? [br]What population percentage and accuracy settings make the probability of a false positive as small as possible?

Information: AQR Section 12 Exercises 30-34 Medical Testing (Part 1)