Description Usage Arguments Value Note References Examples
2-sample Kuiper Test Function: performs Kuiper Test for two sets samples of observations
1 | kuiper.2samp(x, y)
|
x |
an array of sample observations |
y |
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.
1 | kuiper.2samp(rnorm(1e3),rnorm(1e3))
|
$Kuiper.statistic
[1] 0.057
$p.value
[1] 0.4259769
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.