Dear Statalist members,
I am doing survival analysis (time to event). In my analysis there are treatment group has received one of the 10 different medications and control group has no medications. I am keen to check survival analysis for 2 of the specific medications. When I stset the data with (for example, stset time if trt==drugA) my control group is discarded. Is there any way to overcome this. I want to keep all of the control group and with the treatment group , keep only subjects receiving either drug A or drug B).
I very much appreciate advice.
With warm regards,
Sateesh
I am doing survival analysis (time to event). In my analysis there are treatment group has received one of the 10 different medications and control group has no medications. I am keen to check survival analysis for 2 of the specific medications. When I stset the data with (for example, stset time if trt==drugA) my control group is discarded. Is there any way to overcome this. I want to keep all of the control group and with the treatment group , keep only subjects receiving either drug A or drug B).
I very much appreciate advice.
With warm regards,
Sateesh
Comment