https://doi.org/10.1351/goldbook.M03806
Depending on whether the number of observations is even or odd, the median can be estimated as follows:
  1. If \(n=2\ m+1\): The middle value of a series of observations, arranged in increasing or decreasing order.
  2. If \(n=2\ m\): The arithmetic mean of the two middle values of a series of observations, arranged in increasing or decreasing order.
Comment: The use of the median when reporting results of chemical analysis is generally not recommended, because its statistical efficiency is less than that of the mean. In certain cases, however, especially when treating small sets of data, the median may offer advantages because it is a so-called 'robust statistic', i.e. it offers considerable @R05315@ to the effects of isolated outliers.
Source:
PAC, 1994, 66, 595. (Nomenclature for the presentation of results of chemical analysis (IUPAC Recommendations 1994)) on page 603 [Terms] [Paper]