Dear Statalister,
My question is regarding the command "sts graph". I am using Stata version 13.1.
Some background information: I am looking at the difference in the time from HIV infection to an HCV infection over calendar periods. Therefore, I made 5 KM curves illustrated in one graph.
I was wondering whether I can limit/stop the KM curves until there is a minimum of 10 individuals at risk in the dataset instead of letting the whole curve be plotted in the graph until there are no more individuals at risk. Thus for example, if there are only 9 individuals left at risk after 3 years, I would like the curve not to be shown after this point. Is this possible in Stata? (I know is not possible in R).
Thank you in advance.
Best, Daniela.
My question is regarding the command "sts graph". I am using Stata version 13.1.
Some background information: I am looking at the difference in the time from HIV infection to an HCV infection over calendar periods. Therefore, I made 5 KM curves illustrated in one graph.
I was wondering whether I can limit/stop the KM curves until there is a minimum of 10 individuals at risk in the dataset instead of letting the whole curve be plotted in the graph until there are no more individuals at risk. Thus for example, if there are only 9 individuals left at risk after 3 years, I would like the curve not to be shown after this point. Is this possible in Stata? (I know is not possible in R).
Thank you in advance.
Best, Daniela.
Comment