The predictive factor — a method to simplify Bayes' formula and its application to diagnostic procedures