The median, also known as the quantile, is defined as the value that is position in the middle in an ordered dataset.

If we don’t have a middle position, than the median is the mean between the two values at the center.


statistics