[R] The confidence level of p-value of ks.boot

Gala mikgalina at yandex.ru
Sat Apr 28 17:18:22 CEST 2007


Hello!
I need to compare 2 datasets whether they come from the same distribution. I use function ks.boot{Matching}. And what is the confidence level of the p-value, returned by ks.boot function?

The code is:

set=read.table("http://stella.sai.msu.ru:8080/~gala/data/testsets.csv",
                header=T,sep=',')
set1=set[!is.na(set$set1),'set1']
set2=set[!is.na(set$set2),'set2']
library(Matching)
ks.b=ks.boot(set1,set2,1000)
ks.b

Thank you!



More information about the R-help mailing list