A method for estimating the probability of adverse drug reactions