# Mode

The mode of a set of data values is the value that appears most often. It is the value x at which its probability mass function takes its maximum value. In other words, it is the value that is most likely to be sampled. A mode of a continuous probability distribution is often considered to be any value x at which its probability density function has a locally maximum value, so any peak is a mode.

The mode of a sample is the element that occurs most often in the collection.

For example: the mode of the sample [1, 3, 6, 6, 6, 6, 7, 7, 12, 12, 17] is 6. Given the list of data [1, 1, 2, 4, 4] the mode is not unique – the dataset may be said to be bimodal, while a set with more than two modes may be described as multimodal.

In statistics, the mode of a set of data is the one that occurs most. Collected samples of data might be measurements of some kind. In this context, the mode is the value that occurs most often. Unlike the median and the mean, the mode is not necessarily unique. There might be several different values that occur the same number of times.

## DEMONSTRATION:

 Type Description Example Result Mode Most frequent value in a data set 1, 2, 2, 3, 4, 7, 9 2