10-03-2016 03:50 PM
Assuming SAS/STAT 14.1 (SAS 9.4)
Add the PLOTS=Survival statement to your PROC PHREG statement to get a survival curve. Note that the survival curve will be for a specified age value, usually the average. You can choose to have a different value used if required, usually to make it easier to interpret or explain.
10-13-2016 03:59 PM
Uh...you can't take an average of a categorical variable? Possibly an ordinal, but it wouldn't make logistical sense.
Use the Reference Category or a category of interest in this case. See what the documentation states as well.
Need further help from the community? Please ask a new question.