- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have got a dataset of 471 obs. 53 out of them have got new measurements but the id of obs are the same. I tried to use this code
proc phreg data = imottkm;
class x1;
model tgvhd*imt(0)= x115;
random x1/noclprint;
hazardratio 'Relapse' x115/cl=both;
run;
but the results are a bit weird for me. How could I make this thing work? Is there any way to use random statement in Cox model?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Please discuss things in terms of the variables you show not some underlying use that is not defined. For instance, your are asking about "same ID". Since there is no variable named ID shown in the code we don't know if you even have "ID" in the model anywhere or how it may be used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Mixed effects cox regression models are used to model survival data when there are repeated measures on an individual, individuals nested within some other hierarchy, or some other reason to have both fixed and random effects.
Think about some good Google search terms, like:
- mixed effects cox regression
- Cox Regression repeated measures
- Cox Regression time-varying covariates
Then enter these terms in a Google search bar with the "site:" parameter
- site:documentation.sas.com
- site:support.sas.com
- site:blogs.sas.com
- site:communities.sas.com
- site:lexjansen.com
SAS Tip: Learn lexjansen.com
https://communities.sas.com/t5/SAS-Tips-from-the-Community/SAS-Tip-Learn-lexjansen-com/td-p/436336
I am sure you will get some good hits!
BR, Koen