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
Four period aggregated returnDear Statalist forum, I have quarterly data (Year_Quarter) from 1965 until 2020 and I want to gener…
Calculating weekly return volatility from weekly return dataSir What could be code for calculating weekly return volatility(Volatility) from weekly return data(…
How to identify variable in various rows index_admit patient_id afib newafib varnewafib 1 001 0 0 1 0 001 1 1 0 0 001 1 0 0 0 001 …
Hansen-J-Test InterpretationDear Statalists I am actually doing a IV regression with one single endogenous regressior (penetrat…
Simulating data for non linear regressionI wish to model a function with the nl command: Code: nl (Y = {b1}*X2^{b2}*X3^{b3}) or Code: nl (l…
Subscribe to:
Post Comments (Atom)
0 Response to Using stcrreg with the mi command
Post a Comment