- #1
JoePhysicsNut
- 35
- 0
Dear all,
I am using some software to perform a two-sample Kolmogorov–Smirnov test. Specifically, I am testing the compatibility of two histograms.
The function returns a single number that is 1 for a perfect match (when I compare the histogram to itself) and somewhere between 0.05 to 0.25 for histograms that show reasonable compatibility.
The method seems to work as I expect, but there is a sentence in the description of the function that I do not understand:
"The returned value PROB is calculated such that it will be uniformly distributed between zero and one for compatible histograms".
Each test yields one value not many, so can't be distributed in any way. If it's over many tests, then compatible histograms should yield a high value for PROB and incompatible ones a low value. Why/how would the distribution be uniform?
Note that I'm not a statistics expert to a friendly explanation would be very welcome.
I am using some software to perform a two-sample Kolmogorov–Smirnov test. Specifically, I am testing the compatibility of two histograms.
The function returns a single number that is 1 for a perfect match (when I compare the histogram to itself) and somewhere between 0.05 to 0.25 for histograms that show reasonable compatibility.
The method seems to work as I expect, but there is a sentence in the description of the function that I do not understand:
"The returned value PROB is calculated such that it will be uniformly distributed between zero and one for compatible histograms".
Each test yields one value not many, so can't be distributed in any way. If it's over many tests, then compatible histograms should yield a high value for PROB and incompatible ones a low value. Why/how would the distribution be uniform?
Note that I'm not a statistics expert to a friendly explanation would be very welcome.