double MeanT(TVec *Data, double Alpha = 0.05);
Trimmed mean.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Data | TVec * | Data. An exception is raised if Data vector is complex. |
| 2 | Alpha = 0.05 | double | Defines the percent of value excluded from mean calculation. If Alpha parameter is omitted, the default value 0.05 is used (meaning highest 2.5% and lowest 2.5% of data will be excluded). Alpha paramater must lie on the interval [0,1) otherwise an exception is raised. |
Returns: the mean of all Data vector elements, excluding highest and lowest 100*Alpha/2 percents of value.
See Also: Statistics::MeanH, Statistics::MeanG
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler