Hello,
Please I need help with using proc GLIMMIX for binary outcome. My outcome variable is Adherence to safety guidelines (Adherence) which is binary. This was measured weekly over a 15-week period. My independent variables include job title , race, ethnicity etc. which are all categorical. I am interested in seeing if adherence changed over time. I am using the following codes for my analysis but the model did not converge. Please find also the SAS log information.
PROC GLIMMIX DATA=COVERED.Demographics;
CLASS primary_job_cat week record_id;
MODEL complete_adherence = primary_job_cat week primary_job_cat*week/SOLUTION DIST=bin LINK=Logit DDFM=BW;
RANDOM week/SUB=record_id TYPE =AR(1) RESIDUAL;
lsmeans primary_job_cat week primary_job_cat*week/ diff e cl;
run;
Thank you.
... View more