# Nominal or ordinal?

I've got several variables in a dataset of which I'm not really sure what type of data they are: nominal or ordinal.

Context: the variables are part of a dataset in which each case a student. Of those students 100 were part of an experimental group, while 51 were part of the control group. The analysis I want to perform is to test the hypothesis that the experimental group performed better then the control group. Therefore I need to establish the correct types, nominal or ordinal, to determine which statistical tests I might run to test the hypothesis.

The first variable can take three possible values:

0 (indicating 'wrong answer given on question X')
1 (indicating 'partly correct answer given on question X')
2 (indicating 'correct answer given on question X')


My doubts here: I believe we can only define a variable as ordinal when a certain order can be established. I think we can: 0<1<2. Is this correct reasoning?

Second variable holds two possible values:

0 (indicating 'wrong answer given on question Z')
1 (indicating 'correct answer given on question Z')


My doubts on this one: if I recall correctly, variables with only 0 and 1 are usually nominal. But aren't 'right answer' and 'wrong answer' not possible ordinal values, since 0<1?

So my question here is: for each of those variables, should I tread them as nominal or ordinal?

• In general, how you treat a variable depends on the analysis you are performing. If you could provide more of that contextual information you would likely get answers that are more useful. BTW, what distinction are you making between "on" and "in" in the second variable? Both values appear to assert a wrong answer was given. – whuber Jun 23 '15 at 18:12
• @whuber hi, thanks for your quick response! I've added some context to the original question! Any thoughts on that matter? – Dennis Hunink Jun 23 '15 at 18:16
• (1) Your second variable now has only one possible value! (2) A more fundamental issue with this analysis concerns how you intend to quantify a "better" performance. Resolving that issue would likely answer any further questions about how to encode the variables for analysis. – whuber Jun 23 '15 at 18:19
• @whuber (1) you're right, 0 is not a real value. (2) by better performance I mean the experimental group would score higher then the control group. And by higher I mean giving more correct answers (second variable) or giving more partly correct answers (first variable) – Dennis Hunink Jun 23 '15 at 18:22
• One more note. SPSS suggests to assign the type - nominal, ordinal or scale. But few SPSS procedures make use of this info, the majority of procedures don't need it. – ttnphns Jun 23 '15 at 19:55