double InterQuartile(TVec *X, TPercentileMethod Method = TPercentileMethod::pctMethodNPlus);
InterQuartile range.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | Data. An exception is raised if X is complex. |
| 2 | Method = TPercentileMethod::pctMethodNPlus | TPercentileMethod | Defines one of the available methods for calculating percentile. Software packages use different methods to calculate percentiles. For example, Excel uses pctMethodNMinus, while on the other hand, NCSS's default method is pctMethodNPlus. |
Returns: the interquartile range of all X vector elements. The interquartile range is defined as a difference between 75th percentile and 25th percentile of given values.
See Also: Statistics::Percentile
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler