Hello,
I am performing an IPD of 25 longitudinal studies using hazard rates and time-to-event data. For this I have been using the ipdmetan command to construct a one-stage IPD hazard rates.
Here is the code I am using
I would like to create Kaplan Meier hazard curves of this regression model. Therefore I have used the stcurve command as seen below:
However, I am unable to get confidence intervals with this KM curve. Normally for a survival analysis I would use the "sts graph" command to create confidence intervals but I don't believe this is useable while performing an IPD.
Is there something I'm missing or can anyone possibly help?
Thank you!
Leo
I am performing an IPD of 25 longitudinal studies using hazard rates and time-to-event data. For this I have been using the ipdmetan command to construct a one-stage IPD hazard rates.
Here is the code I am using
Code:
stset survival_tyrs_merg, f(inc_dis_merg) id(unique_id) mestreg prev_ther_mer if prosp==0 & prev_ther_mer<10 & inc_dis_mer<10 & age_merg<19 || study:, distribution(weibull)
Code:
stcurve, haz stcurve, haz at1(prev_ther_mer=0) at2(prev_ther_mer=1)
Is there something I'm missing or can anyone possibly help?
Thank you!
Leo