Statistics for problem solving