A categorical variable is one that can take any value of a fixed number of values.
Example
- Any colour from this set of colours [
red
,green
,blue
]- Selecting a person’s name randomly from a hat
- Picking a named book from a shelf
A categorical variable is one that can take any value of a fixed number of values.
Example
- Any colour from this set of colours [
red
,green
,blue
]- Selecting a person’s name randomly from a hat
- Picking a named book from a shelf