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

TrimmedMean

TrimmedMean[list, f]
gives the mean of the elements in list after dropping a fraction f of the smallest and largest elements.
TrimmedMean[list, {f1, f2}]
gives the mean when a fraction f1 of the smallest elements and a fraction f2 of the largest elements are removed.
TrimmedMean[list]
gives the 5% trimmed mean TrimmedMean[list, 0.05].
  • TrimmedMean gives a robust estimate of the mean by excluding extreme values.
  • TrimmedMean[{{x1, y1, ...}, {x2, y2, ...}, ...}, f] gives {TrimmedMean[{x1, x2, ...}, f], TrimmedMean[{y1, y2, ...}, f], ...}.
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]=
New in 6