DATA Step, Macro, Functions and more

overlay two survival cruves from two different analysis

Reply
Frequent Contributor
Posts: 128

overlay two survival cruves from two different analysis

I have two different analysis and I was wondering how can I overlap the survival curve from both analyses in one graph.

Super User
Posts: 11,343

Re: overlay two survival cruves from two different analysis

Posted in reply to lillymaginta

Assuming this is to graph the curves, then create a dataset from each analysis and set the two resulting datasets with a variable that will indicate which set the data comes from.

Then use Proc Sgplot with that data set, a series statement with a group= option using that added indicator variable.

Ask a Question
Discussion stats
  • 1 reply
  • 73 views
  • 0 likes
  • 2 in conversation