Chapter
22
Complex Samples Cox Regression
The Complex Samples Cox Regression procedure performs survival analysis for samples drawn by complex sampling methods.
Using a
A government law enforcement agency is concerned about recidivism rates in their area of jurisdiction. One of the measures of recidivism is the time until second arrest for offenders. The agency would like to model time to rearrest using Cox Regression on a sample drawn by complex sampling methods, but they are worried the proportional hazards assumption is invalid across age categories.
Persons released from their first arrest during the month of June 2003 were selected from sampled departments, and their case history inspected through the end of June 2006. The sample is collected in recidivism_cs_sample.sav. The sampling plan used is contained in recidivism_cs.csplan; because it makes use of a
Preparing the Data
The dataset contains the dates of release from first arrest and second arrest; since Cox regression analyzes survival times, you need to compute the amount of time between these dates.
However, Date of second arrest [date2] contains cases with the value 10/03/1582, a missing value for date variables. These are people who have not had a second offense, and we definitely want to include them as
ETo recode these values, from the menus choose:
Transform > Compute Variable...
© Copyright SPSS Inc. 1989, 2010 | 210 |