IN STATA
I'm trying to make a new variable with age groups from a numeric variable, age.
Don't understand why this code doesn't work:
. recode Age (0/4 = 0 0-4)(5/9 = 1 5-9 )(10/14 = 2 10-14)(15/19 = 3 15-19)(20-24 = 4 20-24)(25-29 = 5 25-29)(30-34 = 6 30-34)(35-39 = 7 35-39)(40-44 = 8...