07-18-2017 04:44 PM
This is my first time using proc glimmix and I'm trying to see the random effect of 52 different hospitals, but in my solution for random effects output table there are only 51 hospitals listed. The missing hospital does have observations and data. Is it supposed to be considered the 0 point then?
%LET X = SEX RACE VLBW_YN GAWEEKS_CAT DELMOD_CAT SGAVAR
CCSLEVEL_2016 NICU_BEDS_CAT COV_NEONAT_2016 HOSP_OWNER_2016 TEACHING_2014 AAP_2016 ;
PROC GLIMMIX DATA=LOGIT METHOD=QUAD;
CLASS &X DEIDHOSP;
MODEL DCCDONE(EVENT='1')= &X./LINK=LOGIT DIST=BIN SOLUTION OR;
RANDOM INT/SUBJECT = DEIDHOSP S TYPE=VC;
07-21-2017 12:54 AM
You should get a random effect estimate for each hospital.
There is not enough information in your post to allow any more sleuthing. The Community would need example data and your actual code (where the actual code using the example data reproduces the problem) to have any hope of sorting out what might be going wrong.