# Non parametric test on unequal groups and repeated measures data

I am recording animal behaviour in four different conditions but in the same environment. So my data are several values (the number of which vary) representing the frequency of a single behaviour for each of the four conditions.

Previously people have used a one-way ANOVA to analyse this data, however, I have realised that the data are not actually normally distributed. So I thought of using a Kruskall Wallis test, but the data are also of repeated measures. Then I thought of using a Friedman test but the data groups (conditions) have unequal numbers of values...

If anyone knows of a test I can use for this data I would be very grateful for some help.

• Maybe I don't understand your question properly, but couldn't you just use a normal chi^2 test? Nov 8, 2012 at 14:53
• Hi and thanks for the quick reply. I can run a chi square test on the average values - can you run a chi square on averaged values? Or do you mean I can run a chi square regardless of group size etc? Thanks, Roddy. Nov 8, 2012 at 14:56
• I thought it might help if I provide an example; for one of my data sets in condition 1 the values are: 0.36, 1.49, 0.02, 0, 0, 0.19, 0, in condition 2 the values are: 0, 2.32, 0, 1.03, 0, 0, 0, 0, 0 in condition 3 the values are: 0.49, 3.33, 4.54, 4.022, 6.70, 4.45, 7.52, 3.37, 0.53, 0, 0.78, 3.57 and the values in condition 4 are: 0, 0, 0, 0, 0, 0, 1.66, 6.9, 0.52, 5.67, 0.52, 0, 0. Obviously in condition 3 the behaviour was much more frequent but I can't find a statistical test to show this! Nov 8, 2012 at 15:11
• How about running ANOVA on rank-normalized data? See en.wikipedia.org/wiki/ANOVA_on_ranks Nov 8, 2012 at 15:37
• I have just tried ranking and two groups are still showing as statistically significant under a Kolmogorov-Smirnov test... I should mention that I'm using SPSSv19 Nov 8, 2012 at 15:56