Programming the statistical procedures from SAS

how to get Adjusted survival curve

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

how to get Adjusted survival curve

Age being the covariate i am adjusting age. But not sure how to make the survival curve with adjusted rate. Thank you
Attachment

Accepted Solutions
Solution
‎10-13-2016 04:09 PM
New Contributor
Posts: 4

Re: how to get Adjusted survival curve

Sure I will try with reference. Also what documentatio are you talking about? Thank you again.

View solution in original post


All Replies
Super User
Posts: 18,601

Re: how to get Adjusted survival curve

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. 

 

 

 

 

New Contributor
Posts: 4

Re: how to get Adjusted survival curve

Do i also use the mean for categorical variable?or is it just for continious variables?Thanks for the comment.
Super User
Posts: 18,601

Re: how to get Adjusted survival curve

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.

Solution
‎10-13-2016 04:09 PM
New Contributor
Posts: 4

Re: how to get Adjusted survival curve

Sure I will try with reference. Also what documentatio are you talking about? Thank you again.
Super User
Posts: 18,601

Re: how to get Adjusted survival curve

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 330 views
  • 0 likes
  • 2 in conversation