[R] confidence band

2007-05-31 Thread Soare Marcian-Alin
Hello, I made a function, which calculates the confidence interval and the prediction interval, but if I want to plot it, then it plots only the regressionline. Maybe somebody can help me: conf.band - function(x,y) { res.lsfit - lsfit(x,y) xi - seq(from=40, to=160, length=200) n -

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.
of Medicine The Glenfield Hospital Leicester LE3 9QP Tel +44 116 256-3643 Fax +44 116 232-2976 -Original Message- From: Leif.Boysen [mailto:[EMAIL PROTECTED] Sent: 21 July 2003 14:42 To: [EMAIL PROTECTED] Subject: [R] Confidence Band for empirical distribution function Hi, I

[R] Confidence Band for empirical distribution function

2003-07-21 Thread Leif.Boysen
Hi, I was trying to draw an empirical distribution function with uniform confidence bands. So I tried to find a way to calculate values of the Kolmogorov-Smirnov Distribution but failed. I guess it must be hidden somewhere (since the ks-test is implemented), but I was unable to find it. Is