# Kolmogorov-Smirnov Test

A Kolmogorov-Smirnov Test <https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test>`_ is a test of equality of two distributions to determine if they are likely to have come from the same underlying distribution. The DataSketches library provides a modified form of the test that takes into account the error in each underlying sketch in the analysis.

Currently, the test assumes both input sketches are of the same family and data type.

Performs the Kolmogorov-Smirnov Test for kll_ints_sketch pairs. Note: if the given sketches have insufficient data or if the sketch sizes are too small, this will return false. Returns True if we can reject the null hypothesis (that the sketches reflect the same underlying distribution) using the provided p-value, otherwise False.

Performs the Kolmogorov-Smirnov Test for kll_floats_sketch pairs. Note: if the given sketches have insufficient data or if the sketch sizes are too small, this will return false. Returns True if we can reject the null hypothesis (that the sketches reflect the same underlying distribution) using the provided p-value, otherwise False.

Performs the Kolmogorov-Smirnov Test for kll_doubles_sketch pairs. Note: if the given sketches have insufficient data or if the sketch sizes are too small, this will return false. Returns True if we can reject the null hypothesis (that the sketches reflect the same underlying distribution) using the provided p-value, otherwise False.

Performs the Kolmogorov-Smirnov Test for kll_items_sketch pairs. Note: if the given sketches have insufficient data or if the sketch sizes are too small, this will return false. Returns True if we can reject the null hypothesis (that the sketches reflect the same underlying distribution) using the provided p-value, otherwise False.

Performs the Kolmogorov-Smirnov Test for quantiles_ints_sketch pairs. Note: if the given sketches have insufficient data or if the sketch sizes are too small, this will return false. Returns True if we can reject the null hypothesis (that the sketches reflect the same underlying distribution) using the provided p-value, otherwise False.