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


Class: none
Declaration: [1] function PerformLillieforsTest (Data: TVector; IsSorted: boolean): double;
[2] function PerformLillieforsTest (Data: TDoubleArray; IsSorted: boolean): double;

The function PerformLillieforsTest performs a test for normality according to Lilliefors. The data to be tested is contained in the vector Data (version [1]) or in the open array Data (version [2]). The parameter IsSorted should be set to TRUE if the values in Data are already sorted in ascending order (this speeds up calculation for long data vectors).

The function returns the Lilliefors test statistic which can be compared to the critical limit calculated by LillieforsQuantile.

Hint: The routine PerformLillieforsTest always changes the data vector.

Last Update: 2023-Feb-06