How do the reference category and the dummy variable trap affect categorical coefficients in logistic regression?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Explain how the reference category and the dummy variable trap shape the meaning of categorical coefficients in logistic regression. Tests reading log-odds coefficients as odds ratios, what switching the baseline changes, and how to choose and encode reference levels.