The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DeanDixonTest


Unit: SDL_statis
Class: none
Declaration: [1] function DeanDixonTest (Data: TVector; SigLevel: TSignifLevelEx; var Statistic: double): integer;
[2] function DeanDixonTest (Data: TDoubleArray; SigLevel: TSignifLevelEx; var Statistic: double): integer;

The function DeanDixonTest performs a Dean-Dixon outlier test on the data contained in Data. The parameter SigLevel specifies the level of significance. On return the function provides an index of the vector Data which points to an observation which is recognized as an outlier. If no outliers are recognized, a value of -1 is returned. The variable parameter Statistic contains the corresponding test statistic.

Hint 1: Please note that this function tests only for a single outlier, checking both the lower and the upper end of the sorted list. The element which delivers the highest test statistic is compared to the critical value.

Hint 2: The returned index value is one-based for version [1] of DeanDixonTest and zero-based for version [2].



Last Update: 2023-Feb-06