Running the Analysis
- To run a Complex Samples Cox Regression analysis,
from the menus choose:
Figure 1. Complex Samples
Plan for Cox Regression dialog box
- In the Complex Samples Plan dialog, browse
to the sample files directory and select recidivism_cs.csplan as the plan file.
- Select Custom file in the Joint Probabilities group, browse
to the sample files directory, and select recidivism_cs_jointprob.sav.
- Click Continue.
Figure 2. Cox Regression dialog box, Time and Event tab
- Select Time to second
arrest [time_to_event] as the variable defining the end
of the interval.
- Select Second
arrest [arrest2] as the variable defining whether the
event has occurred.
- Click Define Event.
Figure 3. Define Event dialog box
- Select 1 Yes as the value indicating the event of interest (rearrest) has occurred.
- Click Continue.
- Click the Predictors tab.
Figure 4. Cox Regression dialog box, Predictors tab
- On the Predictors tab, select Age in years [age] as a covariate.
- Click the Statistics tab.
Figure 5. Cox Regression
dialog box, Statistics tab
- On the Statistics tab, select Test of proportional hazards and then select Log as the time function in the Model Assumptions
group.
- Select Parameter
estimates for alternative model in the Model Assumptions
group.
- Click OK.
Next