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



RunsTestSerial


Unit: SDL_statis
Class: none
Declaration: [1] function RunsTestSerial (Data: TVector; var p: double): boolean;
[2] function RunsTestSerial (Data: TDoubleArray; var p: double): boolean;

The function RunsTestSerial tests for numeric randomness of the data contained in the vector/array Data by applying a Wald-Wolfowitz runs test after dichotomisation (using the median as threshold). The function returns TRUE if the p-value is less than 0.05 (which indicates non-randomness).


Last Update: 2023-Feb-06