Measures of central location
There are many measures of central location and the most well known is of course the arithmetic mean
. This mean depends on all data values and is therefore sensitive to extreme values.
Other means,together with the arithmetic mean, with their formulas are shown in the following table. The lower and upper limits of the index of summation are not shown explicitly.

These means satisfy the order relation 
Your statistics teacher will explain the specific problem domain for using the various means above.
As additional measures of central location, the median and mode also find use. Here is a way to determine the median:
Let the starting index be one(adjustment necessary for zero based indexing). The median is computed as
odd sample size |
![]() |
even sample size |
![]() |
The mode is another simple mean and may be applied to categorical data. It is the most “popular” value and may or may not exist for all samples: Consider
. as a sample of the gender of 6 students. what is the mode? One can say that both M and F are modes or may not exist at all. Ask your teacher what rules to adopt for this not so uncommon case. For unimodal data, the mean, mode, and median are related :Mean-Mode= 3(mean-Median)
Here are other means, designed to complement the arithmetic mean sensisitivity to extreme values.
trimmed mean: a certain percentage of the sample values are taken out at the end of the sample values.
mid interquartile values: this is defined as
where the values
are the first, second(median) and third quartiles.
Sone softwares define
and
as the minimum and maximum values of all sample values respectively, and the five numbers form the values of the five-number summary for the sample.
Arrange the numbers in increasing order. The value of
is at
and the value of
is at
. The determination of the median
has been described before. All that is left is the determination of
and
. To determine these values:
For
, compute
.
Similarly for
, compute
.
If these values are integers, then the quartile is the mean of
and
.
Otherwise if these values have fractional digits, then roundup to the nearest integer(ceiling function) and the quartile is
.
For more complicated options for computing quartiles which are just variations of quantiles or percentiles: Computing quantiles (with Python program) /?p=125
The mean of a linear transform (scaling) of variables.
Given a data array or vector X, the mean of a linear transform
is given by
. The linear transform
has mean
. Notice that is is zero if
! Ask your teacher the easy proof of this.









