trimmean function returns the internal mean of the data set. (Recommended learning: phpstorm)
The function TRIMMEAN first removes a certain percentage of data points from the head and tail (highest value and lowest value) of the data set, and then Then find the average.
This function can be used when you want to eliminate the calculation of a part of the data in the analysis.
Syntax
TRIMMEAN(array, percent)
Parameters
Explanation
(1) Percent < 0 or Percent > 1, the function TRIMMEAN returns the error value #NUM!;(2) The general formula of the Percent parameter: Percent=1÷Total number of data×Total number of removed; [1] (3) TRIMMEAN rounds down the number of removed data points to the nearest multiple of 2. If Percent = 0.1, 10% of 30 data points equals 3 data points. The function TRIMMEAN will symmetrically remove one item from the head and one item from the tail of the data set.The above is the detailed content of What is trimmean function?. For more information, please follow other related articles on the PHP Chinese website!