# What is mean median and MDE?

Mean:

The mean, also known as the average, is a measure of central tendency that is calculated by adding up all the numbers in a data set and then dividing that sum by the total number of values in the set. It is a useful statistic for determining the typical or average value in a data set.

To calculate the mean, you simply add up all the numbers and then divide by the total count. For example, let’s say we have the following data set: 5, 7, 9, 11, 13. To find the mean, we add up all the values: 5 + 7 + 9 + 11 + 13 = 45. Then, we divide this sum by the number of values in the set, which is 5 in this case. Therefore, the mean is 45/5 = 9.

The mean is often used in various fields such as statistics, mathematics, economics, and science to summarize and analyze data. It provides a measure of central tendency that represents the typical value in a data set.

Median:

The median is another measure of central tendency that is calculated by finding the middle value in a data set when it is ordered from least to greatest. It is useful for determining the midpoint or middle value in a set of data.

To find the median, you first need to order the data set from least to greatest. Then, if the total number of values is odd, the median is simply the middle value. For example, let’s consider the following data set: 2, 4, 6, 8, 10, 12, 14. When ordered, it becomes: 2, 4, 6, 8, 10, 12, 14. Since the total count is odd (7 in this case), the median is the middle value, which is 8.

On the other hand, if the total number of values is even, the median is calculated by finding the average of the two middle values. For example, let’s consider the data set: 1, 3, 5, 7, 9, 11. When ordered, it becomes: 1, 3, 5, 7, 9, 11. Since the total count is even (6 in this case), the median is the average of the two middle values, which are 5 and 7. Therefore, the median is (5 + 7)/2 = 6.

The median is often used when dealing with data sets that have outliers or extreme values, as it is less affected by these values compared to the mean. It provides a measure of central tendency that reflects the middle value in a data set.

Mode:

The mode is a measure of central tendency that represents the number or value that appears most frequently in a data set. It is useful for identifying the most common or frequently occurring value in a set of data.

To find the mode, you simply look for the number that occurs most often in the data set. For example, let’s consider the following data set: 2, 4, 6, 6, 8, 10, 10. In this case, the number 6 and 10 both appear twice, which is more frequently than any other number. Therefore, the mode of this data set is 6 and 10.

It is possible for a data set to have multiple modes if there are multiple numbers that occur with the same highest frequency. In some cases, a data set may also have no mode if there is no number that appears more frequently than others.

The mode is used in various fields such as statistics, probability, and data analysis to identify the most common or frequently occurring value in a set of data. It provides a measure of central tendency that represents the mode or peak of the distribution.