Re: [R] ks.test or other Kolmogorov-Smirnov code

2013-09-30 Thread William Dunlap
If the ecdf is to be read as y=Pr(xx_i), for each x_i , well at which x_i does D occur? The definition is Pr(x = x_i), but that doesn't matter much here. You know the maximum occurs at one of the points in union(x, y) so you can find it by comparing the ecdf's at each of those points: f -

Re: [R] ks.test or other Kolmogorov-Smirnov code

2013-09-30 Thread sitterlyb
sweet, I didn't know ecdf could be use like that! Thanks! -- View this message in context: http://r.789695.n4.nabble.com/ks-test-or-other-Kolmogorov-Smirnov-code-tp4677290p4677306.html Sent from the R help mailing list archive at Nabble.com. __