Hi I'm plotting deviance residuals following a survival analysis
I would like to change the colour for those that have suffered a failure vs those who haven't, similar to this

Up to now I have managed to do the following
However I don't know how to insert a colour option for those who have failed / those who have been censored...
I would like to change the colour for those that have suffered a failure vs those who haven't, similar to this
Up to now I have managed to do the following
Code:
stcox var1 var2 var3 predict mg, mgale predict xb predict dev, deviance scatter dev xb || lfit dev _t
Comment