Goodness of Fit for Two Samples

Kolmogorov–Smirnov Two-Sample Test

The Kolmogorov test of goodness of fit was introduced in Chapter 1, where it was noted that the modifications to the test by Smirnov, Lilliefors, and others are used more commonly for goodness of fit tests for a single sample rather than the original version of the Kolmogorov test. An advantage of the Lilliefors modification is its ability to replace the population parameters for the mean and standard deviation with their sample statistics.

The Kolmogorov–Smirnov test is equally capable of testing the equality of the distributions of two populations, making the test a two-sample test. The procedure can also be used to compare two sets of percentages. The test can be ...

Get A Primer on Nonparametric Analysis, Volume I now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.