# What is mode of data? How to calculate mode ?

In statistics, the mode is the most frequently occurring value in a dataset. It is a measure of central tendency, which is a way to describe the center or middle of a distribution of data. Other measures of central tendency include the mean, which is the arithmetic average of the data, and the median, which is the middle value when the data is sorted from lowest to highest.

The mode is a useful measure of central tendency because it is not affected by extreme values (also known as outliers) in the data. For example, if a dataset has a few extremely high or low values, they may skew the mean, but they would not affect the mode.

To find the mode of a dataset, you first need to arrange the data in order from lowest to highest. Then, you can count how many times each value occurs. The value that occurs the most is the mode. If there are multiple values that occur with the same highest frequency, the dataset is said to have multiple modes, or to be multimodal. If there is no value that occurs more frequently than any other, the dataset is said to be uniform, or to have no mode.

The mode is a useful measure of central tendency for datasets that are not well-described by the mean or median. For example, if a dataset has a skewed distribution (that is, it is not symmetrical), the mean and median may not accurately represent the center of the distribution. In this case, the mode may be a more appropriate measure of central tendency.

In addition to its use as a measure of central tendency, the mode can also be used to describe the shape of a distribution. For example, a distribution with a single mode is said to be unimodal. A distribution with two modes is said to be bimodal. A distribution with more than two modes is said to be multimodal.

The mode is also useful for comparing datasets. For example, if you have two datasets with different shapes, you can compare the modes to see which dataset is more heavily concentrated at a particular value.

There are a few limitations to the use of the mode as a measure of central tendency. First, the mode is not defined for continuous data, only for discrete data. For example, you can find the mode of a dataset of integers, but you cannot find the mode of a dataset of real numbers. Second, the mode is not always unique, as a dataset can have multiple modes or no mode at all. Finally, the mode is not as robust as the mean or median, meaning that it can be affected by small changes in the data.

Despite these limitations, the mode is a useful and commonly used measure of central tendency, particularly in the fields of social sciences, economics, and biology. It is often used in conjunction with other measures of central tendency, such as the mean and median, to provide a more complete understanding of a dataset.

There are several properties of the mode that are important to consider when using it as a measure of central tendency:

1. The mode is the value that occurs most frequently in a dataset. To find the mode, you need to count the number of times each value occurs and choose the value with the highest frequency.
2. The mode is defined only for discrete data, not for continuous data. This means that you can find the mode of a dataset of integers, but you cannot find the mode of a dataset of real numbers.
3. The mode is not always unique. A dataset can have multiple modes (also known as a multimodal distribution) if there are multiple values that occur with the same highest frequency. Alternatively, a dataset can have no mode (also known as a uniform distribution) if there is no value that occurs more frequently than any other.
4. The mode is not affected by extreme values (also known as outliers) in the data. For example, if a dataset has a few extremely high or low values, they may skew the mean or median, but they would not affect the mode.
5. The mode is not as robust as the mean or median. This means that it can be affected by small changes in the data. For example, if you remove a single value from a dataset, it is more likely to affect the mode than the mean or median.
6. The mode is often used in conjunction with other measures of central tendency, such as the mean and median, to provide a more complete understanding of a dataset. It is particularly useful for datasets that are not well-described by the mean or median, such as datasets with a skewed distribution.