Probability calculations and expected values