Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Descriptive Statistics >

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
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team