Calculating probabilities with different outcomes