Hi All,
After not having much of an issue with my MI (multipley imputed) data and the stccreg command, I recently started receiving an error code.
mi stset death_date [pweight=weight] , failure(cardio==1) id(id) origin(time o_date) exit(time td(30jan2010)) scale(365.25)
mi estimate, dots post: stcrreg i.age i.type i.comp , compete(cardio==0)
The error code I'm receiving states:
data with multiple failures per subject not supported by stcrreg
an error occurred when mi estimate executed stcrreg on m=1
r(459);
However, I know mi commands are supported with stccreg.
Would someone perhaps be able to identify my Syntax shortcomings ?
Any insight is much appreciated!
Related Posts with Using stcrreg with the mi command
Strange error when running stcrregHi all, I have been running a competing risk regression for my study. I carried out the analyses us…
Comparing incidence counts between countriesDear all I have a very simple dataset with three variables. Each observation is the report of one o…
Heteroskedastic standard errorsHello! Quick question regarding standard errors. I am running simple wage regressions to see if the…
Filling in missing values after summing values within a subgroupI have a large data set of medical encounters prior to a surgical date. The data is in long form wit…
Robustness - checking different samplesHello! I am using Stata16 and I am running simple wage regressions and decomposing the gender wage …
Subscribe to:
Post Comments (Atom)
0 Response to Using stcrreg with the mi command
Post a Comment