Save up to $499! Grab all Python courses for $49 or all online courses we’ve ever launched for only $169. Only Feb 11-16. Happy Valentine's!
Introduction
Arithmetic mean
Median
Mode
10. Mode
Summary

Instruction

Finally, let's meet the last measure of central tendency, the mode. The mode is the value that occurs most frequently in a dataset. It can be used with numerical and non-numerical data. Consider this set:

0, \mathbf{1}, \mathbf{1}, \mathbf{1}, \mathbf{1}, 2, 2, 2, 3, 3, 3, 4, 5

The most frequent value in this set is 1. Now let's take a look at this set:

0,\mathbf{1},\mathbf{1}, \mathbf{1}, \mathbf{2}, \mathbf{2}, \mathbf{2}, \mathbf{3}, \mathbf{3}, \mathbf{3}, 4, 5

There is no unique most frequent value in this set: the numbers 1, 2 and 3 each occur three times. Therefore, there is no mode for this set.