If a categorical regressor has four levels how many indicato
If a categorical regressor has four levels, how many indicator variables need to be created?
Solution
If a categorical regressor has four levels, how many indicator variables need to be created?
Answer: 3
We need to create 3 indicator variables.
The number of dummy variables necessary to represent a single attribute variable is equal to the number of levels (categories) in that variable minus one.
