04-30-2015 03:48 AM
The data order is ID, Group(0=placebo and 1= treatment), Time (0-3), Grip Strength, Status (0= no pain and 1 = pain)
I need to write the within-subjects and between-subjects models considering only a random subject effect and random intercept model.
Should I just use this the code like following one?
PROC MIXED data=HW5.imp1 METHOD=ML COVTEST;
MODEL implant = time /SOLUTION residual;
RANDOM INTERCEPT /SUB=id TYPE=UN G;