Calculating dependent probability and using probability trees to see how future events are impacted by previous events