Calculation of the probability of a specific event