A friend visiting decision tree analysis involves making a tree-shaped diagram to chart out a course of action or statistical probability analysis. As the below image represents, a decision tree is used to break down complex problems or branches. Each branch of the decision tree represents a possible decision, outcome, or reaction. The farthest branches on the tree represent the end result. The following image suggests that if friends are visiting, then travel to a restaurant, but if they are not visiting, it might be due to poor weather conditions. Even if the friends are visiting then and if the weather condition is good and the friends have money, then they can either go shopping or can go out to watch any movie.