# Mean, Median, Mode in data mining

Table of Contents

## What is mean?

Mean is the average of numbers.

Example:

3, 5, 6, 9, 8

Mean = all values/Total number of values

Mean = 3+5+6+9+8/5

Mean = 6.2

## How to calculate the mean for data with frequencies?

 Age Frequency Age * Frequency 22 5 22 * 5 =  110 33 2 33 * 2 = 66 44 6 44 * 6 = 264 66 4 66 * 4 = 264 Total 17 704

Mean = 704/ 17

Mean = 41

What is Median?

Median is the middle value among all values.

How to calculate the median for an odd number of values?

Example:

9, 8, 5, 6, 3

Arrange values in order

3, 5, 6, 8, 9

Median = 6

How to calculate median for an even number of values?

Example:

9, 8, 5, 6, 3, 4

Arrange values in order

3, 4, 5, 6, 8, 9

Add 2 middle values and calculate their mean.

Median = 5+6/2

Median = 5.5

What is Mode?

The mode is the most occurring value.

How to calculate mode?

Example:

3, 6, 6, 8, 9

Mode = 6 (because 6 is occurring 2 times and all other values occur only one time).

## Next Tutorials with Similar Topics

1. Type of Data that can be mined.
2. Attributes Types.
3. Learn Mean, Median, Mode.
4. Estimated Mean, Median, Mode – Click Here
5. Data Quartiles – Click Here
6. Box Plot for Data – Click Here
7. Variance and standard deviation of data in data mining – Click Here   Calculator –  Click Here

8. Data skewness – Click Here
9. Correlation analysis of numerical data in Data Mining – Click Here
10. Correlation analysis of Nominal data with Chi-Square Test in Data Mining – Click Here
11. Data discretization and its techniques in data mining – Click Here
By:Prof. Fazal Rehman Shamil
CEO @ T4Tutorials
Last Modified: February 5, 2020

## 3 thoughts on “Mean, Median, Mode in data mining”

1. Harsh Vishal Jain says:

Thanks, buddy, it helps me a lot in clearing my doubts.

2. Santhiya says:

Thank you so much because it contains lot of information for pupils purposes