calculates probability based on past selections