Consider the following data points: $1, 1, 2, 3, 4$
I understand that... the average is the total of the numbers divided by the count of numbers in the set, the median is the central value based on location in the set, the mode is the value occurring most often in the set, and the midrange is highest and lowest values divided by $2$.
Is there a name for the calculation of the average based on the unique values found in the set? So... $\frac{1 + 2 + 3 + 4}{4} = 2.5$? And is there a use for it?
Pardon a possibly elementary question, I'm a programmer but I'm not exactly a math-oriented person, and this has been bugging me recently.