Calculating probabilities from given information