Hello everyone,
I am using stata 18.0 in windows 10. I performed stipw model (Inverse probability weighted parametric survival models with variance obtained via M-estimation) on multiply-imputed data (m=20).
Everything went well, but I need help on how to plot Kaplan-Meier survivor and calculate restricted mean survival time (RMST) after “stipw” for the multiply imputed data setting.
After I performed stipw model (using -mi estimate, eform cmdok sav(mi_stpm2, replace): stipw- command) and tried to predict marginal survival and RMST by treatment group using the available tool, but STATA issued an error message that says “requested action not valid after most recent estimation command (requested action not valid after most recent estimation command (stata error= r(321)).
Any advice on how to troubleshoot this?
I thank you in advance for your quick help.
Semaw
I am using stata 18.0 in windows 10. I performed stipw model (Inverse probability weighted parametric survival models with variance obtained via M-estimation) on multiply-imputed data (m=20).
Everything went well, but I need help on how to plot Kaplan-Meier survivor and calculate restricted mean survival time (RMST) after “stipw” for the multiply imputed data setting.
After I performed stipw model (using -mi estimate, eform cmdok sav(mi_stpm2, replace): stipw- command) and tried to predict marginal survival and RMST by treatment group using the available tool, but STATA issued an error message that says “requested action not valid after most recent estimation command (requested action not valid after most recent estimation command (stata error= r(321)).
Any advice on how to troubleshoot this?
I thank you in advance for your quick help.
Semaw
Comment