RE: [R] Confidence Band for empirical distribution function

2003-07-24 Thread Hotz, T.
July 2003 15:46 To: Hotz, T. Subject: RE: [R] Confidence Band for empirical distribution function On 22 Jul 2003 at 11:37, Hotz, T. wrote: Dear Leif, If you look at the definition of ks.test, you'll find the lines pkstwo - function(x, tol = 1e-06) { if (is.numeric(x

RE: [R] Confidence Band for empirical distribution function

2003-07-24 Thread David Scott
On Thu, 24 Jul 2003, Hotz, T. wrote: Dear Kjetil, As I already mentioned, it appears that there isn't a function available calculating the quantiles directly (at least, it doesn't appear in the C source of ctest). So as I already suggested, uniroot (or a similar C routine which calls the

RE: [R] Confidence Band for empirical distribution function

2003-07-22 Thread Hotz, T.
Dear Leif, If you look at the definition of ks.test, you'll find the lines pkstwo - function(x, tol = 1e-06) { if (is.numeric(x)) x - as.vector(x) else stop(Argument x must be numeric) p - rep(0, length(x)) p[is.na(x)] - NA IND - which(!is.na(x) (x 0)) if