Declaration: 
DeanDixonTest (Data: TDoubleArray; SigLevel: TSignifLevelEx; var Statistic: double): integer;

The function DeanDixonTest performs a DeanDixon 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. 
