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
Merge mulitple .csv filesI am using Stata 16.1 MP to merge six .csv files on neonatal, infant, and child mortality. I would l…
Finding and plotting the trend of the weighted average of variable Code: * Example generated by -dataex-. To install: ssc install dataex clear input double total_asse…
Main effect in logistic regression with interactionHello, I have a logistic regression model with interaction term (variable##sex). Variable is catego…
Remove part of a Text in observationHi guys, Below is a sample of my data. I would like to remove the "-TOT RETURN IND" in all the obser…
How to Run Random Forest for Time-Series DataHi, I am writing this post to ask whether there is any Stata command (or doing manually) to apply t…
Subscribe to:
Post Comments (Atom)
0 Response to Using stcrreg with the mi command
Post a Comment