/* this program reads in the SAS dataset on homicides and runs some simple freqs to get you started */ libname gssdata 'c:\205a\'; data work.hcide; set gssdata.hcidedat; run; proc means data=work.hcide; run; /* this is the codebook information: WRKSTAT: 1='WORKING FULLTIME' 2='WORKING PARTTIME' 3='TEMP NOT WORKING' 4='UNEMPL, LAID OFF' 5='RETIRED' 6='SCHOOL' 7='KEEPING HOUSE' 8='OTHER' 9='NA' 0='NAP' ; Race: 1='WHITE' 2='BLACK' 3='OTHER' ; Region: 1='NEW ENGLAND' 2='MIDDLE ATLANTIC' 3='E. NOR. CENTRAL' 4='W. NOR. CENTRAL' 5='SOUTH ATLANTIC' 6='E. SOU. CENTRAL' 7='W. SOU. CENTRAL' 8='MOUNTAIN' 9='PACIFIC' 0='NOT ASSIGNED' ; cideknew: 8=DK, 9=Missing EDUC: 98 and 99 = Missing AGE: 99 = missing. */ proc freq data=work.hcide; tables wrkstat educ race region cideknew age; run; /* now you should do the recodes to get the vars you want and run the models */