...

/

Central Tendency of an Array

Central Tendency of an Array

Learn about mean, skewed mean, and the role of the median.

Mean, skewed mean, and median

Skewness, in general, is the measure of the asymmetry of a distribution. The skewed mean portrays biased behavior and is not a good sign. Let’s look at how the national income per capita of a country can be manipulated. We can easily skew it because it’s calculated based on the mean of a set of income inputs. Keeping that fact in mind, we always think the median is more trustworthy.

Mean and median for an odd number of values

Consider a set of unique and distinct positive integers. In the set of values in the example below, the mean and median are ...