Statistics for Combinatorics and Optimization