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
bysort | first non-missing calculationHello all: I am trying to retrieve the earliest or first non-missing anycomp by studyid and the cod…
item-rest correlation using Spearman?Hi, I'm wondering if there is a way to get item-rest correlation, as you get from the command alpha…
Propensity Score Matching (PSM) to match firms based on age, size and industryDear community, I have a data set of firms that went public via a SPAC merger (SPAC=1). Now I want …
Improve regression interpretations with and without fixed effectsI have unbalanced panel data where 2213 companies from 32 different countries report several measure…
Creating a variable from a percentileDear Statalist Experts I hope you are well. I want to create a new variable "highVarA" that should …
Subscribe to:
Post Comments (Atom)
0 Response to Survival time
Post a Comment