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


Unit: SDL_statis
Class: none
Declaration: function KSPValue (NumData: integer; KSD: double): double;

The function KSPValue returns the p-value corresponding to the KS-statistic KSD, given the size of the sample is NumData.

Hint: Please note that the calculation of the p-value if accurate to about 5 decimal places for p-values below 0.2. Higher p-values (which are usually of no importance under practical circumstances) calculated by this routine may deviate considerably from the true value and must not be used. It is therefore recommended to indicate high p-values by denoting "p > 0.2" or a similar statement.

Last Update: 2012-Oct-20