DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


PerformSiegelTukeyTest

Declaration: 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