[R] KS for goodness of fit

Emmanuel Paradis paradis at isem.univ-montp2.fr
Fri Nov 29 12:20:01 CET 2002

At 09:12 29/11/2002 +0200, vous avez écrit:

>Dear All,
>I have two distributions which I don't their nature. I want to check 
>whether they come from the same distribution. I know that I can use KS 
>test however the standart function ks.test applies only the ks test for 
>testing the difference of two samples (non-parametric). By the way the 
>distribution are of Euclidean distances. One of observed and the other of 
>shuffled data.


It seems to me that if your two distributions are not significantly 
different, you can conclude that they come from the same (theoretical) 
distribution. The KS test seems appropriate.


Emmanuel Paradis
Laboratoire de Paléontologie
Institut des Sciences de l'Évolution
Université Montpellier II
F-34095 Montpellier cédex 05
    phone: +33  4 67 14 39 64
      fax: +33  4 67 14 36 10
   mailto:paradis at isem.univ-montp2.fr

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list