This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

TrimmedMean

TrimmedMean
gives the mean of the elements in list after dropping a fraction f of the smallest and largest elements.
TrimmedMean
gives the mean when a fraction of the smallest elements and a fraction of the largest elements are removed.
TrimmedMean[list]
gives the 5% trimmed mean TrimmedMean.
  • TrimmedMean gives a robust estimate of the mean by excluding extreme values.
Give the trimmed mean after removing extreme values:
Give the trimmed mean after removing the smallest extreme values:
Give the trimmed mean after removing extreme values:
In[1]:=
Click for copyable input
Out[1]=
 
Give the trimmed mean after removing the smallest extreme values:
In[1]:=
Click for copyable input
Out[1]=
TrimmedMean works with any real numeric quantities:
TrimmedMean finds trimmed means of elements in each column:
Obtain results at any precision:
Compute results for a large vector or matrix:
Obtain a robust estimate of location when outliers are present:
Extreme values have a large influence on the Mean:
A 0% TrimmedMean is equivalent to Mean:
TrimmedMean approaches Median as f approaches 1/2:
TrimmedMean requires numeric values:
New in 6