Do you think that treating a categorical variable as a continuous variable would result in a better predictive model?
Answer Posted / Pankaj Rana
No, it is generally not recommended to treat a categorical variable as a continuous variable unless the categories are naturally ordered (like age groups or income ranges). Treating categorical variables as continuous can lead to misleading results and biased models due to violations of underlying assumptions such as linearity and homoscedasticity. Instead, it is best to use appropriate transformation techniques like dummy encoding or one-hot encoding for categorical variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers