[R] ks.test ; impossible to calculate exact exact value with ex-aequos
Fatma Ell
f@tm@@m@ci @ending from gm@il@com
Mon Dec 10 22:17:32 CET 2018
Dear all,
I'm trying to use ks.test in order to compare two curve. I've 0 values i
think this is why I have the follonwing warnings :impossible to calculate
exact exact value with ex-aequos
a=c(3.02040816326531, 7.95918367346939, 10.6162790697674, 4.64150943396226,
1.86538461538462, 1.125, 1.01020408163265, 1.2093023255814,
0.292452830188679,
0, 0, 0)
b=c(2.30769230769231, 4.19252873563218, 5.81924882629108, 6.2248243559719,
5.02682926829268, 4.50728862973761, 3.61741424802111, 5.05479452054795,
3.68095238095238, 1.875, 5.25, 0)
ks.test(a,b)
data: a and b
D = 0.58333, p-value = 0.0337
alternative hypothesis: two-sided
Warning message:
In ks.test(a, b) :
impossible to calculate exact exact value with ex-aequos
Does the p-value is correct ? Otherwise, how to solve this issue ?
Thanks a lot.
[[alternative HTML version deleted]]
More information about the R-help
mailing list