- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello our esteemed advisers,
I am trying to select a parsimonious model from my predictors using Fine and Gray model and saving the output data. The problem is that SAS is telling me that the selection procedure is ignored and the time variable is excluded from the output data and I want to use the time variable in that output data set.
Below is the code am trying
proc phreg data=Disease plots(overlay)=cif;
class Group BMI (ref='1') Smoking (ref='1') Alcohol (ref='1') Exercise (ref='1') DB (ref='1')
model Time*Status(0)=BMI Smoking Alcohol Exercise HTN DB / eventcode=1;
Selection=Backward Slstay=0.05 details;
baseline covariates=Predictors out=Out1 cif=_all_ timelist=6 9;
run;
I will be glad to be advised.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This is the log file from the code I tried. The variable Time is the follow up time but its excluded from the output data created and selection procedure is ignored.
Below is the log file.
NOTE: The SELECTION= option (MODEL statement) is ignored for the Fine and Gray competing-risks analysis.
NOTE: SLSTAY= is ignored since SELECTION=NONE.
NOTE: DETAILS is ignored since SELECTION=NONE.
NOTE: Data for variable Time in the COVARIATES= data set are not copied to the OUT= data set in the BASELINE
statement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content