Formal probability analysis based on Bayes' theorem greatly enhances the diagnostic capabilities of exercise testing in the detection of coronary artery disease. The pretest characteristics of a patient must be considered along with the test results in arriving at a post-test probability of disease. The essential concepts of probability analysis have broad applications in the entire field of medicine.