Hi Listers,
I'd like to combine a KM curve with associated risktable and one for smoothed hazard estimates; however, because of the risktable the x-axis of the first plot aresquashed.
Is there any way I can have the two graphs aligned on the x-axis? any tip welcome
I have used Stata sample data to show the code I am using and the figure:

Thank you!!!
I'd like to combine a KM curve with associated risktable and one for smoothed hazard estimates; however, because of the risktable the x-axis of the first plot aresquashed.
Is there any way I can have the two graphs aligned on the x-axis? any tip welcome
I have used Stata sample data to show the code I am using and the figure:
Code:
webuse cancer, clear stset studytime died sts graph, risktable graph save temp1.gph, replace sts graph, hazard graph save temp2.gph, replace graph combine temp1.gph temp2.gph, col(1)
Thank you!!!

Comment