I have my data in a CSV file for a survey response. Gender is an umordered factor with two levels (Male and Female) and Rating is an ordinal factor (1-5)
Gender Rating M 1 M 2 F 5 M 4 F 3
and so on I want to find out if there is a statistically significant difference in the ratings between Males and Females for the survey.
I am trying to figure out what type of test to use when my dependent variable is multilevel ordinal data and the independent variable is categorical.
Any help here with some sample code is appreciated.
From what I have read, wilcoxon.test seems to be the way, but I am not sure.