Re: [R] ks.test() with 2 samples vs. 1 sample an distr. function

2017-11-16 Thread peter dalgaard
e Station, TX 77843-4352 > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of > tonja.krue...@web.de > Sent: Wednesday, November 15, 2017 3:47 AM > To: r-help@r-project.org > Subject: [R] ks.test() with 2 samples vs. 1 sample an dis

Re: [R] ks.test() with 2 samples vs. 1 sample an distr. function

2017-11-15 Thread David L Carlson
m: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of tonja.krue...@web.de Sent: Wednesday, November 15, 2017 3:47 AM To: r-help@r-project.org Subject: [R] ks.test() with 2 samples vs. 1 sample an distr. function Dear all, I have a question concerning the ks.test() function. I tryed to calcu

[R] ks.test() with 2 samples vs. 1 sample an distr. function

2017-11-15 Thread tonja . krueger
Dear all, I have a question concerning the ks.test() function. I tryed to calculate the example given on the German wikipedia page. xi <- c(9.41,9.92,11.55,11.6,11.73,12,12.06,13.3) I get the right results when I calculate: ks.test(xi,pnorm,11,1) Now the question: shouldn't I obtain the same or a