Age groups

#1
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 40-44)(45-49 = 9 45-49)(50-54 = 10 50-54)(55-59 = 11 55-59)(60-64 = 12 60-64)(65-69 = 13 65-69)(70-74 =14 70-74)(75-79 = 15 75-79)(80-84 = 16 80-84)(85-110 = 17 85-110), generate(Agegroups)

I get this:
unknown el 14 in rule
r(198);



Very thankful for help!