|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....|
|Home MathPack Statis Functions KolmogSmir1SampleTestStat|
|See also: KSPValue, KSQuantile, ShapiroWilkTest|
A frequently encountered problem in statistics is to test whether a given number of samples belong to a predefined probability distribution. The function KolmogSmir1SampleTestStat returns an approximation of the critical values for the Kolmogorov-Smirnov test (KS test). The parameter SampleSize specifies the number of samples used for the test, the parameter alpha specifies the level of uncertainty.
Note that the test statistic is calculated by finding the maximum absolute difference between the cumulative frequency distribution of the samples and the predefined distribution.