Calculating probabilities and standardized values