2-sample Kuiper Test Function: performs Kuiper Test for two sets samples of observations
an array of sample observations
the other array of sample observations
Kuiper test statistic and p-value
The computation of the p-value takes references from Paltani(2004) which states that the functions (in the set of four formulas) never underestimates the false positive probability however it can be a bit high when the sample size in the range of 40 to 50 a factor of 1.5 is quoted at the 1e-7 level
Kuiper, N. H. (1960). "Tests concerning random points on a circle". Proceedings of the Koninklijke Nederlandse Akademie van Wetenschappen, Series A. 63: 38-47. Paltani, S., "Searching for periods in X-ray observations using Kuiper's test. Application to the ROSAT PSPC archive", Astronomy and Astrophysics, v.240, p.789-790, 2004.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.