Question
A regression model must include a nominal variable with categories red, blue, and green. What is a suitable approach?
Select an option. Your answer will be checked instantly.
Correct Answer: B. Create indicator variables for categories while choosing a reference category
Explanation:
Indicator or dummy variables encode category membership without imposing a false numerical distance. A reference category prevents redundant columns when an intercept is present.
Leave a Reply