Calculation of probabilities and average number of selections