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
Calculating the mean of categories of a variable created using -egen, cut()-Can someone kindly explain how I can calculate the mean of each wealth category by race or other cha…
How to create a panel to estimate Sectoral Gravity Model of trade ?Hi everyone ! In my research, I am looking at the effect of some policy (say X) on bilateral trade f…
xtqreg and by sort commandDear all, Can anyone guide me will xtqreg command work with by sort command .When I was running the …
reghdfe and boottestDear Statalist, I have a question about reghdfe and boottest commands. I am trying to answer whethe…
Two questions on fixed effects in stataHello, Can someone please help me understand two issues I have? I am doing a gravity model with pa…
Subscribe to:
Post Comments (Atom)
0 Response to Using stcrreg with the mi command
Post a Comment