I wondered if someone could provide some guidance on how to recode a continuous variable into a categorical variable with certain value ranges.
For example, suppose I had a continuous variable 'Score' taken from a data set called 'test'. The continuous variable score ranges from -1, 1.
- For scores < 0 , I would like to classify this as a "critical".
- For 0 < score < 0.5, I would like to classify as "poor"
- And for score > 0.5, I would like to classify as "good"
Would really appreciate anyone's help on the matter.