I have three vectors each of six observations. I imagine other situations will arrive in which I might have more than three vectors with other lengths. I want a statistical test to compare them.
>x
a b c d e f
0 4 27470 9 20 1
>y
a b c d e f
0 20 27823 6 17 0
>z
a b c d e f
1 43 6653 666 762 0
To me, it seems pretty obvious that the last vector, z
, is different from the two other ones because the d
and e
components are much larger both numerically and percentage-wise.
I have no idea which distributions the observations might follow (they're counts of how many customers belong to one of six possible groups), so I guess the test should be non-parametric.
I have tried using a Kruskal-Wallis test, but it returns a very un-significant p-value:
kruskal.test(list(x,y,z))
Kruskal-Wallis rank sum test
data: list(x, y, z)
Kruskal-Wallis chi-squared = 0.71944, df = 2, p-value = 0.6979
I am not sure if it is my intuition that fails or if the test isn't suitable for this type of comparison.
Are there other types of tests that I can try? I know the practice of trying different tests until one returns the desired output is questionable, but I'm pretty sure in this case the null should be rejected.
Can anybody suggest other tests that are suitable for this situation?
Thanks!