Probability of event given certain conditions