Equations used to estimates probabilities in the diagnostic (decision tree) model