In 2 or more independent groups, when the outcome variable is ordinal and the independent variable is nominal, we can not compare the mean values between the groups. However, we can compare the medians between the groups.
In SPSS, we can compare the median between 2 or more independent groups by the following steps:
Step 1. Open the dataset and identify the independent and dependent variables to use median test. Here, I use the "Employee Data.sav" which is in the installation directory of IBM-SPSS. Here, educational level is regarded as "dependent variable" which is a ordinal variable. Similarly, minority classification is regarded as "independent variable" with the two categories "yes" and "no" coded as 1 and 0 which is a nominal variable.
Step 2. Now, go to analyze, non-parametric tests and independent samples
If you want to show the contingency table of medians between the minority classifications, follow the following steps.
Step 9. Go to analyze, non-parametric tests and legacy dialogs and click on k independent samples.
Hope you enjoyed the tutorial. Thank you and see you in the next tutorial. Share it with your peers if you enjoyed!!
Note: This tutorial is made with reference to IBM-SPSS 24 and there might be differences in older versions!