From the course: Machine Learning Foundations: Statistics

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

The mode

The mode

- [Instructor] There is one more basic summary statistic called the mode. In our previous company's salary story, we could easily find the mode. The mode is the value or values that appear most often in data. In our case, it's 90,000, as 10 out of 25 employees have a yearly salary of $90,000. A dataset can have one or more modes. The mode is a different measure from the mean, which is the average of the numbers in a set. It's also different from median, which is the midpoint of a set. When we find the mode in the dataset, we know which data points occur most commonly. But why would we want to calculate the mode if we have the mean and the median? It is not affected by extreme values. It is easy to identify in a dataset and in discrete frequency distribution. It is very useful for qualitative data. So how do we calculate the mode? Calculating the mode is easy and straightforward. We have to sort the data points from…

Contents