kuiper_two#

astropy.stats.kuiper_two(data1: ArrayLike, data2: ArrayLike) tuple[float, float][source]#

Compute the Kuiper statistic to compare two samples.

Parameters:
data1array_like

The first set of data values.

data2array_like

The second set of data values.

Returns:
Dfloat

The raw test statistic.

fppfloat

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

Warning

The fpp is quite approximate, especially for small samples.