Question - When can be a categorical value treated as a continuous variable and what effect does it have when done so?
Answer -
A categorical predictor can be treated as a continuous one when the nature of data points it represents is ordinal. If the predictor variable is having ordinal data then it can be treated as continuous and its inclusion in the model increases the performance of the model.