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



LeveneTest


Unit: SDL_statis
Class: none
Declaration: function LeveneTest (Data: TVector; TmLevel: TIntVector; var FStat: double): double;

The function LeveneTest performs Levene's test for equal group variances. The data to be analysed must be stored in the array Data, the integer array TmLevel contains the corresponding group numbers (level of treatment). On return the function delivers the p-value of the ANOVA and the corresponding F value in the variable parameter FStat. An error is indicated by a negative p value:
-1 no groups defined
-2 too many groups defined
-3 F value is undefined (MSbw and MSwi are both zero)
-4 Data and TmLevel vectors have different lengths



Last Update: 2019-Nov-07