I am writing a report looking at human sexual selection and how there is a difference in the preferred age of potential mate between sexes. I collected 104 lonely hearts advertisements and organised the data by grouping them into gender, age of person placing the advert (I have placed them in categories) and preferred age of potential mate (calculated median from a range).
The data distribution was abnormal so I went ahead and performed a Kruskal-Wallis ANOVA between gender and median potential mate. I then wanted to strengthen the analysis by looking at the interaction of gender and age of person placing the advert on the preferred age of potential mate.
The problem I had was that Kruskal-Wallis will not allow more than one grouping variable. To circumvent this, I attached a gender to each age category, essentially having two Independent factors in one column (attached picture may make this clearer).
I can do a pairwise comparison of each case is it ok to group two factors in this way?
Or would it be better to rearrange the data completely and do a different tests?