Hi all, I am working on a project where I want to random my subject (ID in my case). I wonder which of the following code is doing a random effect for me? or are they both giving the ID a random effect? 1 proc mixed data=WORK.IMPORT method=reml plots=(residualPanel studentPanel influenceStatPanel)alpha=0.05; class ID Treatment Time; model R=Time Treatment Time*Treatment/noint; repeated Time/ Subject=ID TYPE=unstructured; lsmeans Time*Treatment/adjust=tukey pdiff=all alpha=0.05 cl; run; 2 proc mixed data=WORK.IMPORT method=reml plots=(residualPanel studentPanel influenceStatPanel)alpha=0.05; class ID Treatment Time; model R=Time Treatment Time*Treatment/noint; repeated Time/ type= cs Subject=ID TYPE=unstructured; lsmeans Time*Treatment/adjust=tukey pdiff=all alpha=0.05 cl; run; Thank you so much
... View more