A test that is 99% accurate can still be wrong most of the time when a disease is rare. Bayes' theorem combines the test's accuracy with how common the disease is.