Estimating the probability of events