Re: Two-Sample Chi-Squared test?



On Apr 25, 8:26 am, Paul Rubin <ru...@xxxxxxx> wrote:
Yaroslav Bulatov wrote:
Is there an analogue of two-sample t-test for categorical data? In
other words, I'm given a sample of a multinomial random variable X and
of a multinomial random variable Y and want to test if X and Y are the
same

Try the two sample Kolmogorov-Smirnov test:http://en.wikipedia.org/wiki/Kolmogorov-Smirnov.

/Paul

Kolmogorov Smirnoff seems to require an ordering on the sample space
of the random variable, whereas chi-squared test of association needs
paired samples, so neither seems to fit
.