spacer spacer spacer
JRSA's IBR Resource Center
Return to Main Page
Background and Status of Incident-Based Reporting and NIBRS
State Profiles
Using Incident-Based and NIBRS Data
References and Related Sites
Available Syntax and Sample Data Files
line divider
IBRRC Fact Sheet
Contribute Information
Site Map
Justice Research and Statistics Association (JRSA) Home
 
Notice of Federal Funding and Federal Disclaimer
 

CONVERTING OFFENSE TIMES
INTO QUARTER HOUR GROUPINGS

___________________________________________________________

Only the incidents with an actual date and time are selected for analysis; incidents coded with a "report" date are excluded. This example also assumes that the INC_HR is reported correctly; incidents at zero hours, representing the midnight hour, are included. (See the Data Quality example on using the variable incident hour for more information.) Twenty-four hour periods are divided into quarters for analysis.
___________________________________________________________

DO IF (rptdate = ‘ ‘).
RECODE inc_hr (0 thru 5 = 1)
(6 thru 11 = 2)
(12 thru 17 = 3)
(18 thru 23 = 4)into qutrday.
END IF.
value labels qutrday 1 'Midnight to 5 a.m.'
2 '6 a.m. to 11a.m.'
3 'Noon to 5 p.m.'
4 '6 p.m. to 11 p.m.'.
____________________________________________________________