Message-ID: <550002.37192.qm@web30602.mail.mud.yahoo.com>
Date: 2009-04-12T19:09:12Z
From: jose romero
Subject: goodness of fit between two samples of size N (discrete variable)
Hello list:
I generate by simulation (using different procedures) two sample vectors of size N, each corresponding to a discrete variable and I want to text if these samples can be considered as having the same probability distribution (which is unknown). What is the best test for that?
I've read that Kolmogorov-Smirnov and Anderson-Darling tests are restricted to continuous data (http://cran.r-project.org/doc/contrib/Ricci-distributions-en.pdf), while chi-square can handle discrete data, but how do i test (in R) equivalence of ditribution in 2 samples using it? Are there better tests than those i mentioned?
Thanks and regards,
jlrp