Creating Age Groups from Ages of Victims, Offenders, and Arrestees

___________________________________________________________

This block of code creates a victim age group variable VAGEGRP and assigns the missing values, value labels, and variable labels for both. The same code can be used to create age group variables for offenders and arrestees by substituting the correct variable name.
____________________________________________________________

RECODE v_age (.1 thru 17 = 1)
(18 thru 24 = 2)
(25 thru 34 = 3)
(35 thru 44 = 4)
(45 thru 54 = 5)
(55 thru 64 = 6)
(65 thru 95 = 7)into vagegrp.
VALUE LABELS vagegrp
1 'Under age 18'
2 '18 thru 24'
3 '25 thru 34'
4 '35 thru 44'
5 '45 thru 54'
6 '55 thru 64'
7 'Age 65 or older'.
VARIABLE LABELS vagegrp 'Victim Age Group'.