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....



PerformSiegelTukeyTest


Unit:SDL_statis
Class: none
Declaration: function PerformSiegelTukeyTest (Data1, Data2: TDoubleArray; var UStatistic: double): double;

The function PerformSiegelTukeyTest performs a Siegel-Tukey test and returns the probability that two independent samples represent two populations with the same variance. The parameters Data1 and Data2 contain the data to be compared. The variable parameter UStatistic contains the value of the U statistic on return (if no error ocurred).

Returned error codes:

≥0 ... everything is OK, the returned value represents the p-value
-1 ... at least one of the data fields is empty
-2 ... one or both samples contain more than 300 observations


Last Update: 2023-Feb-06