mode in probability and statistic code example Example: what is mode The mode of a set of data values is the value that appears most often.