Definition
Let
- : Random variable
If
- such that
Then
- We say is the quantile of order of
- We say is the th percentile of
Remark
Examples include the median which is the quantile .
The median is also called the second quartile. The first and third quartiles divide each of these halves into quarters. They are, respectively and . We label these quartiles as respectively.
The difference is called the interquartile range.
The median is often used as a measure of center of the distribution of , while the interquartile range is used as a measure of spread/dispersion of the distribution .