Computes the trimmed mean of a data set.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(inout), | dimension(:) | :: | x |
An N-element array containing the data. On output, the array is sorted into ascending order. |
|
real(kind=real64), | intent(in), | optional | :: | p |
An optional parameter specifying the percentage of values from either end of the distribution to remove. The default is 0.05 such that the bottom 5% and top 5% are removed. |
The trimmed mean.