Calculating probabilities of randomly selected individuals