kuiper_two

astropy.stats.kuiper_two(data1, data2)[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.