Variable categòrica nominal

« Back to Glossary Index

Una variable nominal és una variable categòrica sense un ordre implícit. Això vol dir que és impossible dir que “un val més que l’altre”.

Per exemple, penseu en la variable categòrica animals_vector amb les categories “Elefant”, “Girafa”, “Ase” i “Cavall”. Aquí, és impossible dir que un està per sobre o per sota de l’altre. (Tingueu en compte que alguns de vosaltres podríeu estar en desacord 😉 ).

En canvi, les variables ordinals tenen un ordre natural. Considereu, per exemple, la variable categòrica temperature_vector amb les categories: “Baix”, “Mitjà” i “Alt”. Aquí és obvi que “Mitjà” està per sobre de “Baix”, i “Alt” està per sobre de “Mitjà”.

A nominal variable is a categorical variable without an implied order. This means that it is impossible to say that ‘one is worth more than the other’. For example, think of the categorical variable animals_vector with the categories “Elephant”, “Giraffe”, “Donkey” and “Horse”. Here, it is impossible to say that one stands above or below the other. (Note that some of you might disagree 😉 ).

In contrast, ordinal variables do have a natural ordering. Consider for example the categorical variable temperature_vector with the categories: “Low”, “Medium” and “High”. Here it is obvious that “Medium” stands above “Low”, and “High” stands above “Medium”.

 

« Back to Glossary Index