Calculate arithmetic mean, median and modal values from discrete data sets
Arithmetic mean value can be calculated by adding together all the values in a set and dividing the result by the number of members in the set. Mean value can be calculated
xmean = (x1 + x2 + .. + xn) / n (1)
xmean = mean value
x1 + x2 + .. + xn ) = set values
n = number of members in the set
Eksample - Mean Value of Data Set
The mean value of set (3,5,2,5,12) can be calculated as
xmean = (3 + 5 + 2 + 5 + 12) / 5
The median value can often be a better indication of a set that contains extreme values. The median value can be estimated by
- ranking the data set in ascending order of magnitude
- selecting the middle member of the data set
Example - Median Value of Data Set
The median value of set (3,5,2,5,12) can be calculated by ordering the data in ascending order to
The middle member - and the Median Value - of the ordered data set is 5.
The mode - or modal - value is the most occurring value in a data set.
Eksample - Mode Value of Data Set
The modal value of set (3,5,2,5,12) can be calculated by counting the occurrence of every value in the data set.
As we can see in this limited data set - the modal value - of the data set is 5.
Online Mean and Median Value Calculator
Input csv (comma separated values) data in the box below:
- en: mean median modal value discrete data