Median ( for even number of observations)

Description

In statistics and probability theory, the median is the numerical value separating the higher half of a data sample, a population, or a probability distribution, from the lower half. The median of a finite list of numbers can be found by arranging all the observations from lowest value to highest value and picking the middle one, for odd number of observations and the mean of the two middle values, for even number of observations.

Related formulas

Variables

mthThe average of the two middle numbers in order (dimensionless)
nthThe total number of observations in given data (dimensionless)