Calculates the mean of a data set as the sum ÷ the count. List the values on one line, separated by commas or spaces.
The mean is the most common way to summarise a set of numbers with a single value: add everything up and divide by how many values there are.
Here is the -th value, is the number of values, and ("x-bar") is the mean.
For the data 12, 15, 18, 20, 25 the sum is and the count is 5.
The mean is pulled towards extreme values. A single billionaire in a list of salaries drags the average far above what most people actually earn.
When that happens the median, the middle value, describes the data better. A large gap between the mean and the median is a sign that the distribution is skewed, so it is worth calculating both.