Calculation of selection coefficients