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
Timing within forloopsHi, I have a script that takes a long while to run so I use rmsg to see how long each part takes. N…
Goodness of fit measure for xtologitHello all, I’m working with the xtologit model after quite a while and seem to have forgotten many …
Esttab producing different confidence intervals than eststoHello, I'm using eststo: svy and esttab to produce tables of estimates in my survey data.The estima…
cannot use NL with weights and cluster-robustHi all, I use substitutable expression program to run non-linear least squares (nl). I try to use b…
generating a variable with a custom transformationHi, I am analyzing auction data with Stata. What I would like to do is to generate a variable of eq…
Subscribe to:
Post Comments (Atom)
0 Response to Survival time
Post a Comment