The interquartile mean (IQM) (or midmean) is a
statistical
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
measure of
central tendency
In statistics, a central tendency (or measure of central tendency) is a central or typical value for a probability distribution.Weisberg H.F (1992) ''Central Tendency and Variability'', Sage University Paper Series on Quantitative Applications in ...
based on the
truncated mean
A truncated mean or trimmed mean is a statistical measure of central tendency, much like the mean and median. It involves the calculation of the mean after discarding given parts of a probability distribution or sample at the high and low end, a ...
of the
interquartile range
In descriptive statistics, the interquartile range (IQR) is a measure of statistical dispersion, which is the spread of the data. The IQR may also be called the midspread, middle 50%, fourth spread, or H‑spread. It is defined as the differen ...
. The IQM is very similar to the scoring method used in sports that are evaluated by a panel of judges: ''discard the lowest and the highest scores; calculate the mean value of the remaining scores''.
Calculation
In calculation of the IQM, only the data between the first and third
quartile
In statistics, quartiles are a type of quantiles which divide the number of data points into four parts, or ''quarters'', of more-or-less equal size. The data must be ordered from smallest to largest to compute quartiles; as such, quartiles are ...
s is used, and the lowest 25% and the highest 25% of the data are discarded.
:
assuming the values have been ordered.
Examples
Dataset size divisible by four
The method is best explained with an example. Consider the following dataset:
:5, 8, 4, 38, 8, 6, 9, 7, 7, 3, 1, 6
First sort the list from lowest-to-highest:
:1, 3, 4, 5, 6, 6, 7, 7, 8, 8, 9, 38
There are 12 observations (datapoints) in the dataset, thus we have 4 quartiles of 3 numbers. Discard the lowest and the highest 3 values:
:
1, 3, 4, 5, 6, 6, 7, 7, 8,
8, 9, 38
We now have 6 of the 12 observations remaining; next, we calculate the arithmetic
mean
A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
of these numbers:
:''x''
IQM = (5 + 6 + 6 + 7 + 7 + 8) / 6 = 6.5
This is the interquartile mean.
For comparison, the arithmetic mean of the original dataset is
:(5 + 8 + 4 + 38 + 8 + 6 + 9 + 7 + 7 + 3 + 1 + 6) / 12 = 8.5
due to the strong influence of the outlier, 38.
Dataset size not divisible by four
The above example consisted of 12 observations in the dataset, which made the determination of the quartiles very easy. Of course, not all datasets have a number of observations that is divisible by 4. We can adjust the method of calculating the IQM to accommodate this. So ideally we want to have the IQM equal to the
mean
A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
for symmetric distributions, e.g.:
:1, 2, 3, 4, 5
has a mean value ''x''
mean = 3, and since it is a symmetric distribution, ''x''
IQM = 3 would be desired.
We can solve this by using a
weighted average
The weighted arithmetic mean is similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others. The ...
of the quartiles and the interquartile dataset:
Consider the following dataset of 9 observations:
:1, 3, 5, 7, 9, 11, 13, 15, 17
There are 9/4 = 2.25 observations in each quartile, and 4.5 observations in the interquartile range. Truncate the fractional quartile size, and remove this number from the 1st and 4th quartiles (2.25 observations in each quartile, thus the lowest 2 and the highest 2 are removed).
:
1, 3, (5), 7, 9, 11, (13),
15, 17
Thus, there are 3 ''full'' observations in the interquartile range with a weight of 1 for each full observation, and 2 fractional observations with each observation having a weight of 0.75 (1-0.25 = 0.75). Thus we have a total of 4.5 observations in the interquartile range, (3×1 + 2×0.75 = 4.5 observations).
The IQM is now calculated as follows:
:''x''
IQM = / 4.5 = 9
In the above example, the mean has a value x
mean = 9. The same as the IQM, as was expected. The method of calculating the IQM for any number of observations is analogous; the fractional contributions to the IQM can be either 0, 0.25, 0.50, or 0.75.
Comparison with mean and median
The interquartile mean shares some properties of both the
mean
A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
and the
median
The median of a set of numbers is the value separating the higher half from the lower half of a Sample (statistics), data sample, a statistical population, population, or a probability distribution. For a data set, it may be thought of as the “ ...
:
*Like the
median
The median of a set of numbers is the value separating the higher half from the lower half of a Sample (statistics), data sample, a statistical population, population, or a probability distribution. For a data set, it may be thought of as the “ ...
, the IQM is insensitive to
outlier
In statistics, an outlier is a data point that differs significantly from other observations. An outlier may be due to a variability in the measurement, an indication of novel data, or it may be the result of experimental error; the latter are ...
s; in the example given, the highest value (38) was an obvious outlier of the dataset, but its value is not used in the calculation of the IQM. On the other hand, the common average (the
arithmetic mean
In mathematics and statistics, the arithmetic mean ( ), arithmetic average, or just the ''mean'' or ''average'' is the sum of a collection of numbers divided by the count of numbers in the collection. The collection is often a set of results fr ...
) is sensitive to these outliers: ''x''
mean = 8.5.
*Like the
mean
A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
, the IQM is a distinct parameter, based on a large number of observations from the dataset. The
median
The median of a set of numbers is the value separating the higher half from the lower half of a Sample (statistics), data sample, a statistical population, population, or a probability distribution. For a data set, it may be thought of as the “ ...
is always equal to ''one'' of the observations in the dataset (assuming an odd number of observations). The mean can be equal to ''any'' value between the lowest and highest observation, depending on the value of ''all'' the other observations. The IQM can be equal to ''any'' value between the first and third quartiles, depending on ''all'' the observations in the interquartile range.
See also
Related statistics
*
Interquartile range
In descriptive statistics, the interquartile range (IQR) is a measure of statistical dispersion, which is the spread of the data. The IQR may also be called the midspread, middle 50%, fourth spread, or H‑spread. It is defined as the differen ...
*
Mid-hinge
*
Trimean In statistics the trimean (TM), or Tukey's trimean, is a measure of a probability distribution's location defined as a weighted average of the distribution's median and its two quartiles:
: TM= \frac
This is equivalent to the arithmetic mean of ...
Applications
*
London Interbank Offered Rate estimated a reference interest rate as the interquartile mean of the rates offered by several banks. (
SOFR
Secured Overnight Financing Rate (SOFR) is a secured overnight rate, overnight interest rate. SOFR is a reference rate (that is, a rate used by parties in commercial contracts that is outside their direct control) established as an alternative to L ...
, Libor's primary US replacement, uses a
volume-weighted average price which is not
robust.)
*
Everything2
Everything2 (styled Everything2 or E2 for short) is a collaborative online community consisting of a database of interlinked user-submitted written material. E2 is moderated for quality, but has no formal policy on subject matter. Writing on E ...
uses the interquartile mean of the reputations of a user's writeups to determine the quality of the user's contributio
References
{{Reflist
Means
Robust statistics