Risk analysis and the probability of collision