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:
- If \(n=2\ m+1\): The middle value of a series of observations, arranged in increasing or decreasing order.
- If \(n=2\ m\): The arithmetic mean of the two middle values of a series of observations, arranged in increasing or decreasing order.