Kolmogorov-Smirnov test A KS test is a hypothesis test that measures if two groups of samples are drawn from the same distribution.