Arithmetic mean, median and mode are the most common measures of central tendency.
The most commonly used method foe finding the average of given dataset. To find the mean simply add up all the values and divide by total number of values.
If given data is
Median is defined as the value that is exactly in the middle of a data set.
Median could be found by following steps,
- Sort the data from smallest to largest.
- Median is the middle number of the sorted set of n values.
Mode refers to the most occurring number/value in the given set.
This file contains the code for calculating mean, median mode of a given data