I have a cell array containing the gender e.g.
GENDER = {'Male';'Female';'Male';'Male';'Male';'Female';'Female';'Female';'Male';'Male'};
and another array containing the respective groups e.g.
GROUPS = [1; 2; 1; 1; 3; 3; 1; 2; 2; 3];
I would like to find whether there are significant differences between the 3 groups in the number of male and number of female.
Or maybe, even better, the differences between the ration male/female in the 4 groups.
I think that the GENDER variable could be assumed Bernoulli-distributed so using the ANOVA should be statistically incorrect.
If instead of the GENDER I've to analyse the difference in eye colour what is the best approach?
EYE_COLOR = {'Blue';'Blue';'Brown';'Black';'Black';'Blue';'Brown';'Black';'Black';'Black'};
Can I assume the EYE_COLOUR a categorical distribution?
Thanks a lot