Calculating probability of selecting a student