Type of Variable
Type of Variable
Type of Variable
Imagine that a tutor asks 100 students to complete a maths test. The tutor wants to
know why some students perform better than others. Whilst the tutor does not
know the answer to this, she thinks that it might be because of two reasons: (1)
some students spend more time revising for their test; and (2) some students are
naturally more intelligent than others. As such, the tutor decides to investigate the
effect of revision time and intelligence on the test performance of the 100 students.
The dependent and independent variables for the study are:
o Nominal variables are variables that have two or more categories, but which do
not have an intrinsic order. For example, a real estate agent could classify their
types of property into distinct categories such as houses, condos, co-ops or
bungalows. So "type of property" is a nominal variable with 4 categories called
houses, condos, co-ops and bungalows. Of note, the different categories of a
nominal variable can also be referred to as groups or levels of the nominal variable.
Another example of a nominal variable would be classifying where people live in
the USA by state. In this case there will be many more levels of the nominal
variable (50 in fact).
o Dichotomous variables are nominal variables which have only two categories or
levels. For example, if we were looking at gender, we would most probably
categorize somebody as either "male" or "female". This is an example of a
dichotomous variable (and also a nominal variable). Another example might be if
we asked a person if they owned a mobile phone. Here, we may categorise mobile
phone ownership as either "Yes" or "No". In the real estate agent example, if type
of property had been classified as either residential or commercial then "type of
property" would be a dichotomous variable.
o Ordinal variables are variables that have two or more categories just like nominal
variables only the categories can also be ordered or ranked. So if you asked
someone if they liked the policies of the Democratic Party and they could answer
either "Not very much", "They are OK" or "Yes, a lot" then you have an ordinal
variable. Why? Because you have 3 categories, namely "Not very much", "They
are OK" and "Yes, a lot" and you can rank them from the most positive (Yes, a
lot), to the middle response (They are OK), to the least positive (Not very much).
However, whilst we can rank the levels, we cannot place a "value" to them; we
cannot say that "They are OK" is twice as positive as "Not very much" for
example.
o Interval variables are variables for which their central characteristic is that they
can be measured along a continuum and they have a numerical value (for example,
temperature measured in degrees Celsius or Fahrenheit). So the difference between
20°C and 30°C is the same as 30°C to 40°C. However, temperature measured in
degrees Celsius or Fahrenheit is NOT a ratio variable.
o Ratio variables are interval variables, but with the added condition that 0 (zero) of
the measurement indicates that there is none of that variable. So, temperature
measured in degrees Celsius or Fahrenheit is not a ratio variable because 0°C does
not mean there is no temperature. However, temperature measured in Kelvin is a
ratio variable as 0 Kelvin (often called absolute zero) indicates that there is no
temperature whatsoever. Other examples of ratio variables include height, mass,
distance and many more. The name "ratio" reflects the fact that you can use the
ratio of measurements. So, for example, a distance of ten meters is twice the
distance of 5 meters.
In some cases, the measurement scale for data is ordinal, but the variable is treated
as continuous. For example, a Likert scale that contains five values - strongly
agree, agree, neither agree nor disagree, disagree, and strongly disagree - is ordinal.
However, where a Likert scale contains seven or more value - strongly agree,
moderately agree, agree, neither agree nor disagree, disagree, moderately disagree,
and strongly disagree - the underlying scale is sometimes treated as continuous
(although where you should do this is a cause of great dispute).