Dear Stata community,

Thank you for all your help so far.

I am doing some KM analysis for my study and the time in is days. The last exit on the survival data is about 13,000 days. In order for the reader to understand clear, I would like to convert the x-axis into years (ideally 5 yearly intervals e.g. 5, 10, 15, 20, 25, 30, 35). I am reluctant to convert the actual variable into years as this results in multiple records at same instant and therefore I lose some of the data. Is there a way just to change the the x-axis on the KM graph into years?

Many thanks for your help once again,

Roshani



Array