Probability calculations and percentiles