The table below shows some data taken on a small sample of a
The table below shows some data taken on a small sample of attendees at a medical conference. \"Smoke\" is a 1 if the person smokes, \"Drink\" is a 1 if the person drinks at least one alcoholic beverage per week. \"Weight\" is weight in pounds. \"Gender\" is an additional variable.
Gender Smoke Drink Weight
M 1 1 165
M 0 1 220
F 0 1 135
F 1 1 120
F 0 0 122
How many of these variables are categorical? How many are numerical?
Select one:
a. 2 categorical, 2 numerical
b. 3 categorical, 1 numerical.
c. 4 categorical, 0 numerical
d. 1 categorical, 3 numerical
Solution
The table below shows some data taken on a small sample of attendees at a medical conference. \"Smoke\" is a 1 if the person smokes, \"Drink\" is a 1 if the person drinks at least one alcoholic beverage per week. \"Weight\" is weight in pounds. \"Gender\" is an additional variable.
Gender Smoke Drink Weight
M 1 1 165
M 0 1 220
F 0 1 135
F 1 1 120
F 0 0 122
How many of these variables are categorical? How many are numerical?
Select one:
a. 2 categorical, 2 numerical
b. 3 categorical, 1 numerical.
c. 4 categorical, 0 numerical
d. 1 categorical, 3 numerical
Answer B
Weight only numerical
Gender male female categorical
Smoke- smoke, no smoke categorical
Drink
