Dear Forum members,
Is there a possibility in STATA to simply cut off survival curves (using the command sts graph) after the "number at risk" drops below a certain number?
For instance if I start with 1000 cases, I would like to stop the curve when the number at risk drops below 10. I can lookup at what time-point the number at risk drops below 10 and subsequently use the option [tmax(#)] to make a graph until that time-point is reached. However, this is not very practical and I can not use this when I have multiple survival curves in one graph.
Thanks in advance,
Stein Janssen
Is there a possibility in STATA to simply cut off survival curves (using the command sts graph) after the "number at risk" drops below a certain number?
For instance if I start with 1000 cases, I would like to stop the curve when the number at risk drops below 10. I can lookup at what time-point the number at risk drops below 10 and subsequently use the option [tmax(#)] to make a graph until that time-point is reached. However, this is not very practical and I can not use this when I have multiple survival curves in one graph.
Thanks in advance,
Stein Janssen
Comment