hello all,
I want to get R block matrix for some specific subjects by specifying in the R section in repeated statement in proc mixed, all the matrixes are the same unstructured matrix, but the explanation on top of them are for another subjects which are for subjects19, 20, 21, 22, 23 and 24,while R matrix should be given for subjects 13, 14, 15, 16, 17 and 18, i do not know the reason? Any help will be appreciated to understand the reason.
repeated day / subject=subjects*week*trt type=UN r=13,14,15,16,17,18;
run;
Your subject effect is
subject=subjects*week*trt
So r=13 is the 13th level of subjects*week*trt. What is your CLASS statement? How many levels are there for these CLASS variables?
Your subject effect is
subject=subjects*week*trt
So r=13 is the 13th level of subjects*week*trt. What is your CLASS statement? How many levels are there for these CLASS variables?
Thanks for your reply, you pointed at the levels of variables in class statement and it helped me to find out the answer.
You might need to provide your data and your full PROC MIXED code, because the answer to your question would depend on both of them.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.