Categorical variables
Variables can be classified as two types:- Categorical variables
- quantitative variables.
Quantitative variables are variables thoses That You Can Perform an arithmetic operation on. For example: weight, height, IQ, salary, Gold Prices are all quantitative variables. Categorical variables are everything else. In Other words, if you can not add, multiply or variable Subtract Because of a Lack of numerical meaning (for example, you can not add "major college" together), Then it's Categorical.
As the name suggests, Categorical variables fall
into a particular category. Hair color, gender, college major, college
Attended, Political affiliation, disability, or sexual orientation are
all lists of categories That Could Have Categorical variables. For
example, the category "hair color" Could tell you the Categorical
variables "black," "brown," "blonde" and "red." Note that "hair color"
is and is not in the category Categorical variable Itself. A variable is
a value thatâ Categorical variables take in a study, the value vary
from person to person. If you survey people and ask Them to Tell You
Their hair color, They would respond with a Categorical variable of
black, brown, blond, or red. They would not respond "hair color."
It is possible to assign to turn to a Categorical variable quantity. For example, you might record as one hair color: black, 2 brown, 3: Golden blond 4: red. This Make It Easier to manipulate and analyze your data, Especially in spreadsheet form. This does not change the fact That the market is still Categorical. It does not Because You Become a quantitative variable Assigned it a number.
Sometimes it's very Difficult to DECIDED Whether or Categorical variables are quantitative. For example, of you must have seen customer service surveys wheres the various rating from 0 (poor) to 5 (excellent). These types of rating systems are so commonplace That the line Between Categorical variable and quantitative variable Becomes blurred. "Perfect 10" anyone?
It is possible to assign to turn to a Categorical variable quantity. For example, you might record as one hair color: black, 2 brown, 3: Golden blond 4: red. This Make It Easier to manipulate and analyze your data, Especially in spreadsheet form. This does not change the fact That the market is still Categorical. It does not Because You Become a quantitative variable Assigned it a number.
Sometimes it's very Difficult to DECIDED Whether or Categorical variables are quantitative. For example, of you must have seen customer service surveys wheres the various rating from 0 (poor) to 5 (excellent). These types of rating systems are so commonplace That the line Between Categorical variable and quantitative variable Becomes blurred. "Perfect 10" anyone?