astropy.stats.kuiper_two(data1, data2)[source] [edit on github]

Compute the Kuiper statistic to compare two samples.

data1 : array-like

The first set of data values.

data2 : array-like

The second set of data values.

D : float

The raw test statistic.

fpp : float

The probability of obtaining two samples this different from the same distribution.

.. warning::

The fpp is quite approximate, especially for small samples.