.FloatArrayStat.TrimmedMean (gb.gsl)
Function TrimmedMean ( Trim As Float [ , Sorted As Boolean ] ) As Float
Return the trimmed mean of the array data.
-
Trim is the trim factor, between
0
and 0.5
. It's the percentage of the data that is trimmed from both the smaller and the greater values. If Trim is greater or equal than 0.5
, then the median of the array data is returned.
-
If Sorted is
TRUE
, then the array is supposed to be sorted. Otherwise an internal copy of the array is made and then sorted to compute the median value.
See also