In: Statistics and Probability
Using the table below, Classify the variables and the levels of measurement used? Explain your choice of the levels of measurement.
Respondent # | Age | Sex | Ever Smoked | Grades | Marijuana Smoked |
1 | 18 | 1 | 2 | 2 | 1 |
2 | 17 | 1 | 2 | 2 | 1 |
3 | 16 | 1 | 2 | 1 | 1 |
4 | 15 | 1 | 1 | 3 | 1 |
5 | 17 | 1 | 2 | 3 | 1 |
6 | 15 | 1 | 2 | 1 | 1 |
7 | 14 | 1 | 1 | 1 | 1 |
8 | 15 | 1 | 1 | 1 | 1 |
9 | 15 | 1 | 1 | 2 | 1 |
10 | 15 | 1 | 1 | 2 | 1 |
There are two types of Variabes
1.Numerical(discrete or continuous).
Numerical variables take numerical values, and represent some kind of measurement.
2.Categorical(nominal or ordinal).
Categorical variables take category or label values,
Solution:
Age is a numerical(discrete) variable can take any countable value.for example : 14,15,16,17,18 .
age can be viewed as a discrete variable because it is commonly expressed as an integer in units of years with no decimal .
Sex is catergorical(Nominal) variable can take only two values without any ordering . for example : 1=Male, 2=female without any ordering.
Ever Smoked is a categorical(nominal) variable can take two values without any ordering . For example : 1=Yes , 2= No.
Grades is a Categorical(Ordinal) variable can take three values with ordering . for example :1 =A grade,2 =B grade,3 =C grade .
Marijuana Smoked is a categorical(nominal) variable can take two values without any ordering. For example : 1=Yes , 2= No.