- #1
Federica
- 12
- 1
Hi all,
I have some doubts regarding the Kolmogorov test: I made a simple c++ program generating two samples of random numbers following a Landau distribution (I used the "hit and miss" method). I made the Kolmogorov test, in order to check the randomness of the generator, but I'm having some problems with the interpretation of the results (I attach the histogram here).
It seems I'm having a probability which is (more or less) uniformly distributed from 0 to 1. Is that correct? Or there's something wrong with my code? I expected to get a probability really close to 1, since the two sets come from the same distribution.
I have some doubts regarding the Kolmogorov test: I made a simple c++ program generating two samples of random numbers following a Landau distribution (I used the "hit and miss" method). I made the Kolmogorov test, in order to check the randomness of the generator, but I'm having some problems with the interpretation of the results (I attach the histogram here).
It seems I'm having a probability which is (more or less) uniformly distributed from 0 to 1. Is that correct? Or there's something wrong with my code? I expected to get a probability really close to 1, since the two sets come from the same distribution.