Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am trying to compare two array of frequencies, such as:

x A    B
a 100  50
2 90   45
b 70   35
4 120  60
5 50   25

I want a test that, where B is proportionally equivalent to A, the test returns a p-value close to 1 (Null hypothesis is that for each point on x axis, percentage frequencies of B are the same of percentage frequencies of A).

First I tried Chi squared test but I decided not to use it because it seems that it need at least a value of 5 in each cell of the array.

So I switched to Kolmogorov-Smirnov test but I didn't find anything that allows using it on frequencies with categorical values on x-axis.

Can it be used?


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.