Returns the trimmed mean.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetTrimmedMean ( _ percent As Double _ ) As Double |
| C# |
|---|
public double GetTrimmedMean ( double percent ) |
| C++ |
|---|
public: double GetTrimmedMean ( double percent ) |
Parameters
- percent (System.Double)
- The percentage of extreme values to trim before evaluating the mean.
Return Value
The mean of the variable with the percent % of extreme values removed.
Remarks
The trimmed mean is useful for obtaining a measure of location when some extreme values
may distort the estimate if they were taken into account. The 50% trimmed mean is also called the
GetMidMean().
percent must be expressed as a percentage. The 10% trimmed mean corresponds to a value of 10, not 0.1.
The 10% trimmed mean is one of the measures of location used by LeveneTest.