191k views
3 votes
When a number is assigned to a specific category, such as a 1= male and 2 = female, this is what type of variable?

A. Continuous variable
B. Categorical variable
C. Discrete variable
D. Nominal variable

User Gediminas
by
8.4k points

1 Answer

6 votes

Final answer:

The type of variable described is Nominal variable.

Step-by-step explanation:

The type of variable described in the question is Nominal variable.

A nominal variable is a categorical variable where the numbers assigned to specific categories have no numerical meaning. In this case, assigning the number 1 to male and 2 to female does not indicate any numerical relationship or magnitude.

For example, if we had a variable representing different colors, where 1 = red, 2 = blue, and 3 = green, these numbers do not have any quantitative value; they simply represent different categories.

User S Anand
by
8.0k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories