Dear Sir/Madam:
When I try to set my data as survival time using stset command, it returns a message like shown below. Please advise what is wrong. I am using STATA14.2
. stset $time, id(HH_New_ID) failure($event)
no; data are mi set
Use mi stset to set or query these data; mi stset has the same syntax as stset.
Perhaps you did not type stset. Some commands call stset to obtain information about the
settings. In that case, that command is not appropriate for running directly on mi data. Use mi
extract to select the data on which you want to run the command, which is probably m=0.
r(119);
end of do-file
r(119);
. do "C:\Users\admin\AppData\Local\Temp\STD00000000 .tmp "
. mi stset $time, id(HH_New_ID) failure($event)
_mi_m not found
r(111);
Related Posts with Survival time
Poisson regressionHi everyone! this platform has been a great help for me. I would like to ask questions on Poison reg…
Renaming date variablesHello gang I'm trying to fix such that my date variable, specifically the one showing month, looks …
Collapse and generate average valuesDear, I want to collapse the years into periods of, say, two years each. For example, if I have a p…
How to select optimal GMM modelGreetings, I am estimating several specifications for the macroeconomic determinants of non-perform…
Help - estout export to csv - a whole row is concentrated in one cellHi friends, I am trying to export a table to excel using estout. Instead of each value being put in…
Subscribe to:
Post Comments (Atom)
0 Response to Survival time
Post a Comment