|
|
|
|
|
by gcr
3682 days ago
|
|
The median of a list of numbers is the value that minimizes the sum of absolute differences to each value, sum([abs(median - x) for x in list]) The average of a list of numbers is the value that minimizes the sum of squared difference to each value, sum([squared(mean - x) for x in list]) They're both summary statistics in that they're single numbers used to describe a dataset, but a median is not a "kind of average." The mean is the mean and nothing else. |
|
"Average: a number expressing the central or typical value in a set of data, in particular the mode, median, or (most commonly) the mean, which is calculated by dividing the sum of the values in the set by their number." -- Google