Dear all,
I ran a Cox regression (with time-varying variables) on multiply imputed data, but it seems that I am not able to obtain the Martingale residuals.
This is my code:
What am I doing wrong?
Thank you.
I ran a Cox regression (with time-varying variables) on multiply imputed data, but it seems that I am not able to obtain the Martingale residuals.
This is my code:
Code:
mi estimate, saving (estimates,replace): stcox age bmi mi predict mg using estimates, mgale partial
Thank you.
Comment