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.

If a categorical regressor has four levels, how many indicator variables need to be created?SolutionIf a categorical regressor has four levels, how many indicat

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site