Re: [R] Kolmogorov-Smirnov test, which one to use?

2010-08-05 Thread Greg Snow
age- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Roslina Zakaria > Sent: Wednesday, August 04, 2010 8:34 PM > To: r-help@r-project.org > Subject: [R] Kolmogorov-Smirnov test, which one to use? > > Hi, > > I have two sets

[R] Kolmogorov-Smirnov test, which one to use?

2010-08-04 Thread Roslina Zakaria
Hi, I have two sets of data, an observed data and generated data. The generated data is obtained from the model where the parameters is estimated from the observed data. So I'm not sure which to use either one-sample test ks.test(x+2, "pgamma", 3, 2) # two-sided, exact or two-sample test ks.