thumb|Calculating the median in data sets of odd (above) and even (below) observations The median of a set of numbers is the value separating the higher half from the lower half of a data sample, a population, or a probability distribution. For a data set, it may be thought of as the “middle" value. The basic feature of the median in describing data compared to the mean (often simply described as the "average") is that it is not skewed by a small proportion of extreme values, and therefore provides a better representation of the center. Median income, for example, may be a better way to descri
The median is the middle value in a set of numbers, separating the higher half of the data from the lower half. It matters because unlike the average, the median isn't thrown off by extreme values, making it often a better way to describe where the typical value actually sits.
AI-generated from the Wikipedia summary — may contain errors.
thumb|Calculating the median in data sets of odd (above) and even (below) observations The median of a set of numbers is the value separating the higher half from the lower half of a data sample, a population, or a probability distribution. For a data set, it may be thought of as the “middle" value. The basic feature of the median in describing data compared to the mean (often simply described as the "average") is that it is not skewed by a small proportion of extreme values, and therefore provides a better representation of the center. Median income, for example, may be a better way to describe the center of the income distribution because increases in the largest incomes alone have no effect on the median. For this reason, the median is of central importance in robust statistics. Median is a 2-quantile; it is the value that partitions a set into two equal parts.
==Finite set of numbers== The median of a finite list of numbers is the "middle" number, when those numbers are listed in order from smallest to greatest.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).