Mean, Median, Mode in data mining

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?

AgeFrequencyAge * Frequency
22522 * 5 =  110
33233 * 2 = 66 
44644 * 6 = 264 
66466 * 4 = 264 
Total17704


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

Leave a Reply

Your email address will not be published. Required fields are marked *