Empirical quantile
An empirical ( -) quantile , also simply called a quantile for short , is a key figure of a sample in statistics . For every number between 0 and 1, in simplified terms, an empirical quantile divides the sample in such a way that a portion of the sample is smaller than the empirical quantile and a portion of the sample is greater than the empirical quantile. For example, if a sample of shoe sizes is given, the empirical 0.35 quantile is that shoe size , so that 35% of the shoe sizes in the sample are smaller than and 65% are larger than .
Some empirical quantiles have proper names. They include the median ( ), the upper quartile, and the lower quartile, as well as the terciles , quintiles , deciles, and percentiles .
The quantiles (in the sense of probability theory ) must be distinguished from the empirical quantiles discussed here . These are indicators of a probability distribution and thus an abstract (quantity) function (similar to the expected value ), while the empirical quantiles are indicators of a sample (similar to the arithmetic mean ).
definition
It denotes the rounding function . It rounds each number down to the nearest smaller whole number. For example, and .
Given a sample of size , the elements of which are ordered according to size. This means it applies
- .
Then means for a number
the empirical quantile of .
There are some definitions that differ from the definition given here.
example
The following sample consists of ten random whole numbers (drawn from the numbers between zero and one hundred, given the discrete uniform distribution ):
Sorting supplies the sample
- .
It is .
For one receives . Since this is an integer, one gets about the definition
For one receives . The rounding function then delivers and thus
- .
Analogously we get for direct and thus , therefore is
- .
In contrast to the arithmetic mean, the empirical quantile is robust against outliers. This means that if you replace values of a sample above (or below) a certain quantile with a value above (or below) the quantile, the quantile itself does not change. This is based on the fact that quantiles are only determined by their order and thus their position in relation to one another and not by the specific numerical values of the sample. In the case of the sample above, this would be the arithmetic mean . If you now modify the largest value of the sample, for example
- ,
is like that, whereas the median and the lower and upper quartiles remain unchanged because the order of the sample has not changed.
Special quantiles
For certain values, the corresponding quantiles have proper names. They are briefly presented here below. It should be noted that the corresponding quantiles of probability distributions are sometimes referred to with the same proper names.
Median
The median is the quantile and thus divides the sample into two halves: one half is smaller than the median, the other half is larger than the median. Together with the mode and the arithmetic mean, it is an important parameter in descriptive statistics.
Terciles
The two -quantiles for and are called terciles . You divide the sample into three equal parts: one part is smaller than the lower third (= -quantile), one part is larger than the upper third (= -quantile), and one part lies between the thirds.
Quartiles
The two quantiles with and are designated as quartiles . The quantile is called the lower quartile and the quantile is called the upper quartile. Half of the sample lies between the upper and lower quartile, a quarter of the sample below the lower quartile and above the upper quartile. The interquartile range is defined on the basis of the quartiles , a measure of dispersion .
Quintiles
The four quantiles are referred to as quintiles . Accordingly, 20% of the sample is below the first quintile and 80% above, 40% of the sample is below the second quintile and 60% above, etc.
Decile
The quantiles for multiples of , i.e. for, are called deciles. The -quantile is called the first decile, the -quantile is the second decile, etc. 10% of the sample is below the first decile and 90% of the sample is above. Likewise, 40% of the sample are below the fourth decile and 60% above.
Percentiles
The percentiles are the quantiles from to in steps of .
Derived terms
Certain measures of dispersion can still be derived from the quantiles . The most important is the interquartile range (English interquartile range )
- .
It indicates how far apart the upper and lower quartiles are and thus also how wide the range is in which the middle 50% of the sample lie. The (inter) quantile distance can be defined somewhat more generally than for . It indicates how wide is the range in which the middle ones of the sample lie. For it corresponds to the interquartile range.
Another derived degree of divergence is the median deviation , English median absolute deviation . If a sample with a median is given, the median deviation is the empirical median of the modified sample .
presentation
One way to represent quantiles is the box plot . The entire sample is represented by a box with two antennas. The outer boundaries of the box are the upper and lower quartiles, respectively. This means that half of the sample is in the box. The box itself is subdivided again, the dividing line is the median of the sample. The antennas are not defined uniformly. One possibility is to choose the first and the ninth decile to limit the antennas.
Individual evidence
- ↑ Norbert Henze: Stochastics for beginners . An introduction to the fascinating world of chance. 10th edition. Springer Spectrum, Wiesbaden 2013, ISBN 978-3-658-03076-6 , p. 30 , doi : 10.1007 / 978-3-658-03077-3 .
- ↑ Eric W. Weisstein : Quantile . In: MathWorld (English).
- ^ Eric W. Weisstein : Interquartile Range . In: MathWorld (English).
- ↑ Norbert Henze: Stochastics for beginners . An introduction to the fascinating world of chance. 10th edition. Springer Spectrum, Wiesbaden 2013, ISBN 978-3-658-03076-6 , p. 32 , doi : 10.1007 / 978-3-658-03077-3 .