Re: [R] Is this my mistake or a bug?(K-S test and EVT)

From: Peter Ehlers <>
Date: Thu 01 Jun 2006 - 06:48:30 EST

Mu Tian wrote:

> Hi,
> I was doing a Kolmogrov test on x, y shown below. They are both 151 long.
> According to the help file, exact p-value is not available so I set "exact =
> FALSE", but still got the warning. There are no duplicated values in either
> X or Y.
But I'll wager that there are some Xs equal to Ys.

> Thank you for your tips.
> BTW, is there functions in R about Extreme value theory?
Packages evd and evir and perhaps others.

Peter Ehlers

> ********************************************

>>ks.test(x, y, exact=FALSE)

> Two-sample Kolmogorov-Smirnov test
> data: x and y
> D = 0.0199, p-value = 1
> alternative hypothesis: two.sided
> Warning message:
> cannot compute correct p-values with ties in: ks.test(x, y, exact = FALSE)
[snip] mailing list PLEASE do read the posting guide! Received on Thu Jun 01 08:08:33 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 01 Jun 2006 - 10:10:27 EST.

Mailing list information is available at Please read the posting guide before posting to the list.