New method ensures accurate statistical tests for large data sets.
The two-sample Kolmogorov-Smirnov test is a common way to see if two sets of data are from the same distribution. A new method has been developed to calculate p-values more accurately, even for large datasets. This method avoids numerical errors that can happen during calculations.