Description Details Author(s) References Examples

Two R-functions: peacock2 and peacock3 are provided to compute the two dimensional and three dimensional KS two-sample tests, respectively. The famous KS two sample test was generalized to multidimensional spaces by Peacock (1983). Hence, it is also called the Peacock test. The Peacock is different from the widely used Fasano and Franceschini test (1987). The latter is a variant of the KS test, invented to alleviate the computational intensity of the former. The two R-functions implement the original definition of the KS test given by Peacock (1983).

Package: | Peacock.test |

Type: | Package |

Version: | 1.0 |

Date: | 2016-07-13 |

License: | GPL-2 |

The two functions: peacock2 and peacock3, provided in this package are self-explanatory and their usage is straightforward.

Yuanhui Xiao

Maintainer: Yuanhui Xiao <xiao\[email protected]hotmail.com> ~~ The author and/or maintainer of the package ~~

Fasano, G., Franceschini, A. (1987)<DOI:10.1093/mnras/225.1.155>. A multidimensional version of the Kolmogorov-Smirnov test. Monthly Notices of the Royal Astronomical Society 225:155-170.

Peacock J.A. (1983) <DOI:10.1093/mnras/202.3.615>. Two-dimensional goodness-of-fit testing in astronomy. Monthly Notices of the Royal Astronomical Society 202:615-627.

Xiao Y(2016). A fast algorithm for two-dimensional Kolmogorov-Smirnov two-sample tests, Journal Computational Statistics and Data Analysis, under revision.

1 2 3 4 5 6 7 8 9 10 |

```
[1] 0.5416667
[1] 1
```

Peacock.test documentation built on May 29, 2017, 5:52 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.