compute probability of each option