MultivariateTrimmedMean


gives the mean of the bivariate data matrix after dropping a fraction f of the outermost vectors.

DetailsDetails

  • To use , you first need to load the Multivariate Statistics Package using Needs["MultivariateStatistics`"].
  • gives a robust estimate of the mean by excluding extreme values.
  • The outlying vectors are removed by repeatedly peeling off layers of convex hulls from the data until at least a fraction f have been removed.
  • interpolates between the means of the points remaining before and after the last layer is removed.
  • is equivalent to Mean[matrix].
  • approaches ConvexHullMedian[matrix] as f approaches 1.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Multivariate trimmed mean of bivariate data:

In[2]:=
Click for copyable input
Out[2]=
New to Mathematica? Find your learning path »
Have a question? Ask support »