Skip to content
Prev 176871 / 398506 Next

goodness of fit between two samples of size N (discrete variable)

On Apr 12, 2009, at 3:09 PM, jose romero wrote:

            
The question of whether two discrete samples are independent,  
conditional on their joint marginals is generally handled with a chi- 
square test. The theoretical distribution is only approximately chi- 
square, but is seems close enough that most people will accept it.  
This is not a test of "equivalence". Ricci deals with the cases where  
one sample is fitted to a theoretical distribution. You do not seem to  
have that situation.

?chisq.test

I find myself wondering to what purpose you are seeking these answers.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT