Kolmogorov Smirnov Test. The ks test has the advantage of making no assumption about the distribution of data. This test is used in situations where a comparison has to be made between an observed sample distribution and theoretical distribution.
If interp true default harmonic interpolation is used. In statistics the kolmogorov smirnov test k s test or ks test is a nonparametric test of the equality of continuous or discontinuous see section 2 2 one dimensional probability distributions that can be used to compare a sample with a reference probability distribution one sample k s test or to compare two samples two sample k s test. It is usually used to check the uniformity of random numbers.
This performs a test of the distribution g x of an observed random variable against a given distribution f x.
This test is used in situations where a comparison has to be made between an observed sample distribution and theoretical distribution. The kolmogorov smirnov test chakravart laha and roy 1967 is used to decide if a sample comes from a population with a specific distribution. It is named after andrey kolmogorov and nikolai smirnov. Otherwise linear interpolation is used.