The Kolmogorov–Smirnov test (K–S test) tests if two probability distributions are equal. Therefore, you can compare an empirically observed distribution with a known reference distribution, or you can compare two observed distributions, to test whether they match. It works in really quite a simple manner. Let the cumulative distribution functions of the two distributions be … Continue reading The Kolmogorov-Smirnov Test: an Intuition