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
Loop for moving rangeGoodafternoon, I have a file which includes a significant amount of cusips (S&P1500) and dates …
Panel data: xtoverid rejects RE for model with only time controls; odd result or information?Dear Statalisters, I am using interrupted time series methods on household panel data. I have month…
How to change a line pattern within a same graph? Hi, I would like to plot a graph using Code: twoway line and draw a different graph pattern after …
Creating new outcome variable - invalid syntax r(198) problemI have twelve disease variables in my dataset. I want to to create an outcome variable "multimorbidi…
Need help with dataset with multiple datesHi I am working with a dataset which ahs multiple dates for the same diagnosis for a patient and I o…
Subscribe to:
Post Comments (Atom)
0 Response to Using stcrreg with the mi command
Post a Comment