[][src]Module fmlrc::stats_util

Contains special statistics functions, mainly an ignored median score

Functions

calculate_bounded_median

Returns the median of the array ignoring all values less than min_value. For an odd number of accepted values, the middle value is returned. For an even number of accepted values, the lower value is used in place of the average. If all values are smaller than min_value, this function returns 0. Runs in O(n*log(n)) time.