I have my data in CSV file for a survey response. Gender is a non ordered 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 have trying to figure out what type of tests 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 not sure.
Aucun commentaire:
Enregistrer un commentaire