what is median
The median is the middle value in a sample sorted into ascending order. If the sample contains an even number of values, the median is defined as the mean of the middle two.