Running the Analysis

  1. To run a Cox Regression analysis, from the menus choose:

    Analyze > Survival > Cox Regression...

    Figure 1. Cox Regression main dialog box
    Cox Regression main dialog box
  2. Select Time to second arrest as the time variable.
  3. Select Second arrest as the status variable.
  4. Select Age in years as a covariate.
  5. Select Second arrest and click Define Event.
    Figure 2. Define Event dialog box
    Define Event dialog box
  6. In the Define Event dialog, type 1 as the single value indicating a second arrest.
  7. Click Continue.
  8. Click Save in the Cox Regression dialog box.
    Figure 3. Save dialog box
    Save dialog box
  9. In the Save dialog, select Partial residuals in the Save Model Variables group.
  10. Click Continue.
  11. Click OK in the Cox Regression dialog box.

This saves the partial residuals for Age in years to the working file. Now create a scatterplot of the partial residuals by time to check the proportional hazards assumption.

Next