Hi All,
Sorry for the simple question, I feel it could be answered by a google search but I am not able to phrase it in a concise manner.
I am analysing survival data from a study and wish to generate two survival curves on the same plot for Group A and Group B. However, I wish to only use Group A and Group B data from another category of a different variable.
As an example, if I wanted to create survival curves for people with coronary disease and without coronary disease but only for those with hypertension, how would I go about doing this? If I was running a regression I would use the if hypertension==yes command.
I hope I explained that articulately. Thanks for your help.
Sorry for the simple question, I feel it could be answered by a google search but I am not able to phrase it in a concise manner.
I am analysing survival data from a study and wish to generate two survival curves on the same plot for Group A and Group B. However, I wish to only use Group A and Group B data from another category of a different variable.
As an example, if I wanted to create survival curves for people with coronary disease and without coronary disease but only for those with hypertension, how would I go about doing this? If I was running a regression I would use the if hypertension==yes command.
I hope I explained that articulately. Thanks for your help.
Comment