Median of a Statistical List
stats[describe, median](data, gap)
(optional) The common size of gaps between classes.
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function median of the subpackage stats[describe, ...] finds the item in data that correspond to the median.
The median of a sorted list of numbers is either the middle value or the arithmetic mean of the two middle values. If the requested median falls between entries, it is interpolated.
The median is a measure of central tendency. The description for the mean provides more information about such measures. The median is used to find a typical value of the given data when the extreme values are not representative of the rest of the data. It corresponds to the 50th percentile of the data.
Missing data are ignored.
For information about the parameter gap, see describe[gaps].
The data must be numeric.
The command with(stats[describe],median) allows the use of the abbreviated form of this command.
The median of the numbers 1,2,3,4,250 is
Note that this value is more typical of this particular data than the mean
For an even number of data items, interpolation is used:
Download Help Document
What kind of issue would you like to report? (Optional)