Functions

Returns the average value of the given data set, or None if data is empty.
Returns the majority value of the given data set, or None if there is no majority.
Returns the median value of the given data set, or None if data is empty.
Returns the median value using the given compare function, or None if data is empty.