I am using the proc glimmix procedure with ODS OUTPUT statement. I am puzzled by the error I received when trying to output estimates for random effects. Has anyone encountered this issue?
PROC GLIMMIX DATA=BSHP /*NOCLPRINT*/ MAXLMMUPDATE=100;
CLASS H_S_ID AGE_GRP PRIOR_CSECTION ADMIT_WEEKDAY RACE_DESC &comorbidities.;
ODS OUTPUT SOLUTIONR=R;
MODEL COMPOSITE_COMPLICATION(event="1") = AGE_GRP PRIOR_CSECTION ADMIT_WEEKDAY RACE_DESC &comorbidities./D=B LINK=LOGIT SOLUTION;
RANDOM INTERCEPT/SUBJECT=H_S_ID;
RANDOM _RESIDUAL_;
OUTPUT OUT=PRED_1
PRED(BLUP ILINK)=PREDPROB PRED(NOBLUP ILINK)=EXPPROB;
NLOPTIONS TECH=NRRIDG;
run;
WARNING: Output 'SOLUTIONR' was not created. Make sure that the output object name, label, or
path is spelled correctly. Also, verify that the appropriate procedure options are
used to produce the requested output object. For example, verify that the NOPRINT
option is not used.
Best,
Mike
You can only get the EBLUPs with the ods output file if you specify S as an option on the random statement. Just put S after the /.
You can only get the EBLUPs with the ods output file if you specify S as an option on the random statement. Just put S after the /.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.