Hello,
I have a large set of data eg 1 2 3....100 101 etc and i want to categories the data into 3 different categories such as "Less than 25" "25-50" and "More than 50". Im using the the following code recode var (1=1 "less than 25") (2=2 "25-50") (3=3 "more than 50"),gen(new_var) however this would be very tedious if i enter each number in specific bracket and im wondering if i can use operators such as "<" ">" etc