Running the Analysis

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

    Analyze > Complex Samples > Cox Regression...

    Figure 1. Plan for Cox Regression dialog box
    Plan for Cox Regression dialog box
  2. In the Complex Samples Plan dialog, browse to where you saved the simple random sampling analysis plan, or to the sample files directory, and select srs.csaplan.
  3. Click Continue.
    Figure 2. Cox Regression dialog box, Time and Event tab
    Cox Regression dialog box, Time and Event tab
  4. Select Varies by subject and select Length of stay for rehabilitation [los_rehab] as the start variable. Note that the restructured variable has taken the variable label from the first variable used to construct it, though the label is not necessarily appropriate for the constructed variable.
  5. Select Time to first event post-attack [time_to_event] as the end variable.
  6. Select First event post-attack [event] as the status variable.
  7. Click Define Event.
    Figure 3. Define Event dialog box
    Define Event dialog box
  8. Select 4 Death as the value indicating the terminal event has occurred.
  9. Click Continue.
    Figure 4. Cox Regression dialog box, Time and Event tab
    Cox Regression dialog box, Time and Event tab
  10. On the Time and Event tab, select Patient ID [patid] as the subject identifier.
  11. Click the Predictors tab.
    Figure 5. Cox Regression dialog box, Predictors tab
    Cox Regression dialog box, Predictors tab
  12. On the Predictors tab, select History of myocardial infarction [mi] through History of hemorrhagic stroke [hs] (when variables are listed in file order) as factors.
  13. Click the Statistics tab.
    Figure 6. Cox Regression dialog box, Statistics tab
    Cox Regression dialog box, Statistics tab
  14. On the Statistics tab, select Estimate, Exponentiated estimate, Standard error, and Confidence interval in the Parameters group.
  15. Click the Plots tab.
    Figure 7. Cox Regression dialog box, Statistics tab
    Cox Regression dialog box, Statistics tab
  16. Select Log-minus-log of survival function.
  17. Check Separate Lines for History of myocardial infarction.
  18. Select 1.0 as the level for History of ischemic stroke.
  19. Select 0.0 as the level for History of hemorrhagic stroke.
  20. Click the Options tab.
    Figure 8. Cox Regression dialog box, Options tab
    Cox Regression dialog box, Options tab
  21. On the Options tab, select Breslow as the tie-breaking method in the Estimation group.
  22. Click OK.

Next