- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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;
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply, you pointed at the levels of variables in class statement and it helped me to find out the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.