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
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.
Click Continue.
Figure 2. Cox Regression dialog box, Time and Event tab
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.
Select Time to first event post-attack [time_to_event] as the end variable.
Select First event post-attack [event] as the status variable.
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.