Author(s): F. James | Library: MATHLIB |
Submitter: | Submitted: 15.02.1991 |
Language: Fortran | Revised: |
Subroutine subprogram TKOLMO tests whether two one-dimensional sets of points are compatible with coming from the same parent distribution, using the Kolmogorov test. That is, it is used to compare two experimental distributions of unbinned data.
Structure:
SUBROUTINE subprogram
User Entry Name: TKOLMO
External routine referenced: PROBKL (G102)
Usage:
CALL TKOLMO(A,NA,B,NB,PROB)
Method:
The Kolmogorov test is used. The test statistic is the maximum deviation between the two integrated distribution functions, multiplied by the normalizing factor , where M and N are the numbers of points in the two samples.
Accuracy:
Approximately seven digits are correct.
Notes:
Probabilities smaller than are set to zero. However, the method has a statistical meaning only for "large" M and N (>10).
References: